eMoflon / emoflon-neo

A Neo4j-based implementation of eMoflon
Eclipse Public License 2.0
6 stars 2 forks source link

Neo4j Importer relies on running Eclipse instance #305

Open NilsWeidmann opened 3 years ago

NilsWeidmann commented 3 years ago

When exporting an XMI to Neo4j using the Neo4jImporter class, an NPE is thrown in the loadSpec() method:

java.lang.NullPointerException at org.eclipse.core.internal.runtime.InternalPlatform.getBundles(InternalPlatform.java:231) at org.eclipse.core.internal.runtime.InternalPlatform.getBundle(InternalPlatform.java:221) at org.eclipse.core.runtime.Platform.getBundle(Platform.java:1424) at org.emoflon.neo.emf.Neo4jImporter.loadSpec(Neo4jImporter.java:528) at org.emoflon.neo.emf.Neo4jImporter.importEMFModels(Neo4jImporter.java:67) ...

This is due to the fact that the importer relies on a running Eclipse instance.

anthonyanjorin commented 3 years ago

Please try it out and close if it worked.

NilsWeidmann commented 3 years ago

No, there are build problems for the master branch now. You can reproduce that by deleting the generated code from the org.emoflon.neo.emf project and re-build. Only the xtend-gen folder is generated, but not the src-gen folder.