Community
Participate
Working Groups
- Install Eclipse 3.6M7 with MoDisco M7 - Import "org.eclipse.core.runtime" ("Import... > Plug-ins and Fragments", "Projects with source folders") - Right click on the project and use "MoDisco > Discover KDM source model from container" - The right-click on the "org.eclipse.core.runtime_Source.kdm" file that appeared and select "Discover UML model from KDM model" You get the following error: An internal error occurred during: "Convert KDM model to UML". java.lang.NullPointerException at org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOperation.java:354) at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation.java:173) at org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASMOclAny.java:130) at org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASMOclAny.java:78) at org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOperation.java:251) at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation.java:173) at org.eclipse.m2m.atl.engine.vm.ASMInterpreter.<init>(ASMInterpreter.java:346) at org.eclipse.m2m.atl.core.ui.vm.RegularVMLauncher.internalLaunch(RegularVMLauncher.java:253) at org.eclipse.m2m.atl.core.ui.vm.RegularVMLauncher.launch(RegularVMLauncher.java:164) at org.eclipse.gmt.modisco.kdm.uml2converter.KDMtoUML2Converter$1.run(KDMtoUML2Converter.java:218) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) But the UML file is created anyway, and opens in the UML editor.
A fix has been commited. About bug dependance : 312553 is more a problem of displaying a human understandable message on a atl execution issue. The real cause of the problem was at the atl line : for (detachedClass in thisModule->findExternalPackage().codeElement) {... "thisModule->findExternalPackage()" was null in the case of a kdm.source model Fabien.
*** Bug 315355 has been marked as a duplicate of this bug. ***
The fix has also been commited into 0.8 branch for Helios SR1.
Bug fixed.