Community
Participate
Working Groups
if I run "git clean -fdX" on a project, hit F5 in Eclipse, wait for the build, and launch an MWE2-Workflow afterwards, I get the NPE stated below. "git clean -fdX" removes all files that are not managed by git form a working directory, including the files matched by .gitignore. In my case, this means the bin/-folder is deleted and the src-gen/-folder is pruned. As a workaround it helps to Build->Clean on all projects, so I assume that the build didn't finish correctly the first time. I'm posting this since I thing that it would be great to - either get rid of this NPE - or have a more meaningful error message. 0 ERROR Mwe2Launcher - java.lang.NullPointerException at org.eclipse.emf.ecore.util.EcoreUtil.resolveCrossReferences(EcoreUtil.java:307) at org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(EcoreUtil.java:297) at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:78) at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:73) at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:64) at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:55) at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:74) at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:35)
A fix for this one was pushed some days ago. An IllegalStateException will be thrown if the module cannot be found. Please reopen if the problem persists.