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 Go to next message
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>(
at org.eclipse.gmf.codegen.xtend.ui.handlers.CodegenEmittersWithXtend2.<init>(
at org.eclipse.papyrus.codegen.PapyrusCodegenEmitters.<init>(
at org.eclipse.papyrus.codegen.PapyrusExecuteTemplatesOperation.createGenerator(
at org.eclipse.papyrus.codegen.PapyrusExecuteTemplatesOperation.createGenerator(
at org.eclipse.gmf.internal.codegen.popup.actions.ExecuteTemplatesOperation$
Caused by: org.osgi.framework.BundleException: Error occurred installing a bundle.
at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(
at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(
at org.eclipse.gmf.codegen.util.ExtensionTemplatesProviderImpl.loadBundle(
at org.eclipse.gmf.codegen.util.ExtensionTemplatesProviderImpl.<init>(
... 7 more
Caused by: Exception in opening zip file: D:\eclipse-luna\configuration\org.eclipse.osgi\1298\0\bundleFile
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(
... 11 more
Caused by: error in opening zip file
at Method)
at<init>(Unknown Source)
at<init>(Unknown Source)
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(
... 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.

Re: Problems while generating new papyrus diagram since 1.0 [message #1706754 is a reply to message #1396393] Sun, 30 August 2015 08:10 Go to previous messageGo to next message
Alvis Charles is currently offline Alvis CharlesFriend
Messages: 2
Registered: August 2015
Junior Member
Hello, Erik !
Recently I am learning to generate Papyrus diagram myself, and I met the same problem with yours. Have you solved the problem yet ? Could you please give me some advice about this ?
Thank u
Re: Problems while generating new papyrus diagram since 1.0 [message #1707126 is a reply to message #1706754] Wed, 02 September 2015 13:12 Go to previous message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 746
Registered: February 2011
Senior Member

Make sure that the plug-in "org.eclipse.papyrus.def" is available and opened in your workspace (as a source plug-in project)

It can be found in plugins/developer/ on the Papyrus Git repository


Camille Letavernier
Papyrus developer
Previous Topic:Which CSS command to hide Compartments in Use Cases?
Next Topic:papyrus diagram export
Goto Forum:

Current Time: Wed Nov 25 23:50:36 GMT 2015

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

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