Re: Emf compare merge problem [message #620771] |
Tue, 31 March 2009 15:33 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Fermo,
Please use the EMFT newsgroup, which I've added to the "to" list of the
reply, and prefix the subject with [EMF Compare]. It might be useful to
know what your code looks like...
Fermo wrote:
> Hello,
>
> I'd like to use the Merge service of the EMF compare project.
> I can load ecore models from resources and I can create Match and
> DiffModels ( using the Match and DiffService ), but when I get the
> diffModel and I'd like to merge one of the parent model with the diff
> ( MergeService.merge(diffModel.getOwnedElements(), true); ), I get the
> following exception:
>
> java.util.ConcurrentModificationException
> at
> org.eclipse.emf.common.util.AbstractEList$EIterator.checkMod Count(AbstractEList.java:762)
>
> at
> org.eclipse.emf.common.util.AbstractEList$EIterator.doNext(A bstractEList.java:716)
>
> at
> org.eclipse.emf.common.util.AbstractEList$EIterator.next(Abs tractEList.java:696)
>
> at
> org.eclipse.emf.compare.diff.merge.service.MergeService.merg e(MergeService.java:132)
>
> at ...
>
> What should I have to do?
>
> Regards,
> Fermo
>
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02545 seconds