Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Problems while generating new papyrus diagram since 1.0
Problems while generating new papyrus diagram since 1.0 [message #1396393] Tue, 08 July 2014 08:37
Erik Schondorff is currently offline Erik SchondorffFriend
Messages: 25
Registered: October 2013
Junior Member
Hello Community,

i installed the new eclipse Luna inclusive the new Papyrus 1.0.

I fixed my source code in cause of some package name changes.

I also updated also the

  • org.eclipse.papyrus.gmfgenextension
  • org.eclipse.papyrus.def
  • org.eclipse.papyrus.codegen


and included the org.eclipse.papyrus.domaincontextcodegen.* - plugins, so that I can generate the new diagram - plugin. But when I start the "Generate papyrus editor" - command of the *.gmfgen, I get the following error:
An internal error occurred during: "Generate Papyrus diagram" with the stack trace:
java.lang.RuntimeException: Error. Bundle was not load.
at org.eclipse.gmf.codegen.util.ExtensionTemplatesProviderImpl.<init>(ExtensionTemplatesProviderImpl.java:55)
at org.eclipse.gmf.codegen.xtend.ui.handlers.CodegenEmittersWithXtend2.<init>(CodegenEmittersWithXtend2.java:29)
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: org.osgi.framework.BundleException: Error occurred installing a bundle.
at org.eclipse.osgi.storage.Storage.install(Storage.java:543)
at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(BundleContextImpl.java:146)
at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(BundleContextImpl.java:139)
at org.eclipse.gmf.codegen.util.ExtensionTemplatesProviderImpl.loadBundle(ExtensionTemplatesProviderImpl.java:79)
at org.eclipse.gmf.codegen.util.ExtensionTemplatesProviderImpl.<init>(ExtensionTemplatesProviderImpl.java:51)
... 7 more
Caused by: java.util.zip.ZipException: Exception in opening zip file: D:\eclipse-luna\configuration\org.eclipse.osgi\1298\0\bundleFile
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:301)
at org.eclipse.osgi.storage.bundlefile.ZipBundleFile.basicOpen(ZipBundleFile.java:85)
at org.eclipse.osgi.storage.bundlefile.ZipBundleFile.getZipFile(ZipBundleFile.java:98)
at org.eclipse.osgi.storage.bundlefile.ZipBundleFile.open(ZipBundleFile.java:347)
at org.eclipse.osgi.storage.Storage.install(Storage.java:509)
... 11 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:288)
... 15 more

I don't know, if I forgot something to add to my project. Has somebody an idea to solve this problem?

Thank you.

Erik
Previous Topic:Filters in state diagram not working (Luna)?
Next Topic:CSS issues, nothing happens for style based on stereotype
Goto Forum:
  


Current Time: Tue Apr 21 05:08:43 GMT 2015

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

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