Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Compare] error in standalone version
[EMF Compare] error in standalone version [message #622008] Thu, 14 January 2010 20:39
Eclipse UserFriend
Originally posted by:


So first at all, I hope my question was not asked a hundred times before
otherwise sorry for that.

We were using EMF Compare in a standalone version with ecore models.
Everything worked perfect. Now we would like to use MagicDraw exports too.
Loading the models with all factories works fine but problems occur when
using EMF compare with merging( Differencing does not seem to cause
Merging always ends up with this error message:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at tChangeLeftTargetMerger.applyInOrigin(ModelElementChangeLeft
at rge(
at e(
at rger.applyInOrigin(
at rge(
at e(
at rger.applyInOrigin(
at rge(

..... and so on...
So since I though that it could be caused by missing factories etc..
Those functions are used to register packages etc.:

protected static void registerResourceFactories() {
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap( ).put(
UMLResource.FILE_EXTENSION, new UMLResourceFactoryImpl());
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap( ).put(
"ecore", new EcoreResourceFactoryImpl());
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap( ).put(
"ecore2xml", new EcoreResourceFactoryImpl());
protected static void registerPathmaps(URI uri) {
URIConverter.URI_MAP.put(URI.createURI(UMLResource.PROFILES_ PATHMAP),
final String UML2_200_NS_URI = "";
EPackage.Registry.INSTANCE .put(UML2_200_NS_URI,
When merging the files with the eclipse plugin everything seems to work
So somehow we ran out of ideas... Do you have some?
Thank you very much and sorry for the long post.

Best regards
Previous Topic:[MWE] Update to 0.8.0 problem
Next Topic:[MWE] ClassNotFoundException: org.eclipse.core.runtime.Assert
Goto Forum:

Current Time: Fri Aug 19 14:39:05 GMT 2022

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

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

Back to the top