Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » open wizard bpmn2
open wizard bpmn2 [message #1726111] Wed, 09 March 2016 17:28
jamila oukha is currently offline jamila oukhaFriend
Messages: 12
Registered: February 2016
Junior Member
Hi I create a java application and I would like to open an extended bpmn process diagram with the BpmnDiagramwizard like this
Shell shell =new Shell();
WizardDialog wizardDialog = new WizardDialog(shell, new BMN2DiagramWizard());
wizardDialog.open();
But I have some problems
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.eclipse.bpmn2.modeler.ui.wizards.BPMN2DiagramWizardPage1.createControl(BPMN2DiagramWizardPage1.java:68)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.jface.window.Window.open(Window.java:790)
at org.eclipse.bpmn2.modeler.examples.BPMN4social.wizards.NewJbpmProcessWizard.main(NewJbpmProcessWizard.java:248)
Caused by: java.lang.NullPointerException
at org.eclipse.bpmn2.modeler.core.runtime.TargetRuntime.getAllRuntimes(TargetRuntime.java:148)
at org.eclipse.bpmn2.modeler.ui.adapters.Bpmn2EditorItemProviderAdapterFactory$Bpmn2ExtendedPropertiesSwitch.<init>(Bpmn2EditorItemProviderAdapterFactory.java:177)
at org.eclipse.bpmn2.modeler.ui.adapters.Bpmn2EditorItemProviderAdapterFactory.<init>(Bpmn2EditorItemProviderAdapterFactory.java:167)
at org.eclipse.bpmn2.modeler.ui.Activator.<clinit>(Activator.java:61)
... 8 more
Previous Topic:NPE While creating SequenceFlow between events after Mars.2 update
Next Topic:Text box height of the Script field of Script Tasks
Goto Forum:
  


Current Time: Fri Dec 13 10:22:50 GMT 2024

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

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

Back to the top