Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » Issues when creating a BPMN2 diagram(I am not able to create any BPMN2 diagram via the project creation wizzard)
Issues when creating a BPMN2 diagram [message #840584] Tue, 10 April 2012 09:12 Go to next message
Christoph EmmersbergerFriend
Messages: 5
Registered: April 2012
Junior Member
Dear all,

I was trying to create a BPMN2 diagram by executing the following steps:

(1) Open Menu: File -> New -> Other
(2) Selection of: Other -> BPMN2 Diagram

After these steps a diagram creation wizard opens giving me three options:
a) Process
b) Collaboration
c) Choreography

By default the process selection is selected, but unfortunately the Next button is not enabled. I was hoping to get the diagram types enabled by selecting a different diagram type but I am getting the following exception as log output:

ENTRY org.eclipse.ui 4 0 2012-04-10 10:53:30.159
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.bpmn2.modeler.ui.wizards.BPMN2DiagramWizardPage2.isPageComplete(BPMN2DiagramWizardPage2.java:263)
at org.eclipse.jface.wizard.Wizard.canFinish(Wizard.java:155)
at org.eclipse.jface.wizard.WizardDialog.updateButtons(WizardDialog.java:1345)
at org.eclipse.jface.wizard.WizardPage.setPageComplete(WizardPage.java:299)
at org.eclipse.bpmn2.modeler.ui.wizards.BPMN2DiagramWizardPage1$1.widgetSelected(BPMN2DiagramWizardPage1.java:135)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:257)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)


Afterwards I started a little debugging to see what might be the reason for the issue and figured that the method "isPageComplete()" of class BPMN2DiagramWizardPage2 has an IContainer which is null (line 260 ff). Therefore the IResource can't be filled by any file.

Has anyone a similar experience or a clue how to get rid of this issue?

Many thanks and kind regards,

Christoph
Re: Issues when creating a BPMN2 diagram [message #840712 is a reply to message #840584] Tue, 10 April 2012 12:30 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 811
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Hi Christoph,

Looks like this is a bug. The IContainer is null because there is no active project. Please file a bugzilla here:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=BPMN2Modeler

Thanks for finding this bug Smile

Bob
Re: Issues when creating a BPMN2 diagram [message #840725 is a reply to message #840712] Tue, 10 April 2012 12:52 Go to previous messageGo to next message
Christoph EmmersbergerFriend
Messages: 5
Registered: April 2012
Junior Member
Hi Bob,

thanks for the quick response.

I already placed a bug id=376391 and it seems you were really quick in resolving it.

I'll check out the lates sources later and try it again.

Best regards,

Christoph
Re: Issues when creating a BPMN2 diagram [message #840986 is a reply to message #840725] Tue, 10 April 2012 19:12 Go to previous message
Christoph EmmersbergerFriend
Messages: 5
Registered: April 2012
Junior Member
Hi Bob,

thank you. It seems that I was missing the point of creating first a project before starting a BPMN diagram.

Nevertheless I'd prefer one of the two options as an enhancement for the future
a) Not offering the option of creating a diagram before having a proper project in place or
b) offering to create a new, empty project, in case of no project has been set already.

Many thanks and kind regards,

Christoph
Previous Topic:Couldn't get BPMN2.0-modeler to install
Next Topic:Custom Lanes
Goto Forum:
  


Current Time: Fri Apr 19 05:16:50 GMT 2024

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

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

Back to the top