Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Problem generating a new PapDiagEditor (v 1.0)(An internal error occurred during: "Generate Papyrus diagram".)
Problem generating a new PapDiagEditor (v 1.0) [message #1401298] Tue, 15 July 2014 12:08
Erik Schondorff is currently offline Erik SchondorffFriend
Messages: 25
Registered: October 2013
Junior Member
Hello eclipse community,

I described already a problem about generating papyrus diagrams with the new version 1.0 on following site: https://www.eclipse.org/forums/index.php/t/790335/.

I achieved the next steps for generating code, but got the next errors:

Hopefully, you can help me solving this problem.

com.google.inject.CreationException: Guice creation errors:

1) An exception was caught and reported. Message: Error. Did not load aspects/diagram/editparts/ChildNodeLabelEditPart. Class not found.
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)

1 error
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at com.google.inject.Guice.createInjector(Guice.java:62)
at org.eclipse.gmf.codegen.xtend.ui.handlers.CodegenEmittersWithXtend2.<init>(CodegenEmittersWithXtend2.java:31)
at org.eclipse.papyrus.codegen.PapyrusCodegenEmitters.<init>(PapyrusCodegenEmitters.java:23)
at org.eclipse.papyrus.codegen.PapyrusExecuteTemplatesOperation.createGenerator(PapyrusExecuteTemplatesOperation.java:33)
at org.eclipse.papyrus.codegen.PapyrusExecuteTemplatesOperation.createGenerator(PapyrusExecuteTemplatesOperation.java:1)
at org.eclipse.gmf.internal.codegen.popup.actions.ExecuteTemplatesOperation.run(ExecuteTemplatesOperation.java:225)
at org.eclipse.gmf.internal.codegen.popup.actions.ExecuteTemplatesOperation$1.run(ExecuteTemplatesOperation.java:122)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.RuntimeException: Error. Did not load aspects/diagram/editparts/ChildNodeLabelEditPart. Class not found.
at org.eclipse.gmf.codegen.util.ExtensionTemplatesProviderImpl.loadClassesFromBundle(ExtensionTemplatesProviderImpl.java:138)
at org.eclipse.gmf.codegen.util.ExtensionTemplatesProviderImpl.getDynamicTemplateClasses(ExtensionTemplatesProviderImpl.java:96)
at org.eclipse.gmf.codegen.util.GMFGeneratorModule.configure(GMFGeneratorModule.java:18)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
... 10 more
Caused by: java.lang.ClassNotFoundException: No class loader available for the bundle: org.eclipse.papyrus.def_1.0.0.qualifier [1348]
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:582)
at org.eclipse.gmf.codegen.util.ExtensionTemplatesProviderImpl.loadClass(ExtensionTemplatesProviderImpl.java:108)
at org.eclipse.gmf.codegen.util.ExtensionTemplatesProviderImpl.loadClassesFromBundle(ExtensionTemplatesProviderImpl.java:133)
... 16 more

Erik
Previous Topic:Associate Language
Next Topic:How to recompile Papyrus
Goto Forum:
  


Current Time: Thu Jul 02 16:43:45 GMT 2015

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

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