Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Re: Emf compare merge problem
Re: Emf compare merge problem [message #620771] Tue, 31 March 2009 15:33
Ed Merks is currently offline Ed MerksFriend
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/
Previous Topic:Re: Emf compare merge problem
Next Topic:[EMF Compare] merge problem
Goto Forum:
  


Current Time: Fri Apr 26 01:27:29 GMT 2024

Powered by FUDForum. Page generated in 0.02545 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top