open wizard bpmn2 [message #1726111] |
Wed, 09 March 2016 17:28 |
jamila oukha 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
|
|
|
Powered by
FUDForum. Page generated in 0.03544 seconds