Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » Can't "Browse Types" when attempting to add new process variables(Getting unhandled exception when trying to add new variables to process)
Can't "Browse Types" when attempting to add new process variables [message #1106823] Wed, 11 September 2013 15:45 Go to next message
Keith West is currently offline Keith West
Messages: 2
Registered: September 2013
Junior Member
I just installed Eclipse (Kepler), jBPM/Drools 5.5, and the latest BPMN 2.0 modeler (0.2.7).

I created a new process definition using the Arbitrary Cycles workflow pattern off of the modeler palette. I added a Global variable just fine in the Data Items -> Global List section - i.e. was able to create a new global and select a data type for it.

When I attempted to add a variable to the process definition (Data Items -> Variable List section), and I selected the "+" in the variable details for the data type - a "Create New Item Definition" dialog was displayed, with a "Browse Types" button. When I click on that button, nothing happens, and the following is found in the Eclipse log.

!ENTRY org.eclipse.ui 4 0 2013-09-11 10:26:30.024
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.util.JbpmModelUtil.showImportDialog(JbpmModelUtil.java:140)
at org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.property.JbpmImportObjectEditor.buttonClicked(JbpmImportObjectEditor.java:42)
at org.eclipse.bpmn2.modeler.core.merrimac.dialogs.TextAndButtonObjectEditor$1.widgetSelected(TextAndButtonObjectEditor.java:100)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at org.eclipse.bpmn2.modeler.core.merrimac.dialogs.AbstractObjectEditingDialog.open(AbstractObjectEditingDialog.java:161)
at org.eclipse.bpmn2.modeler.core.merrimac.dialogs.ObjectEditingDialog.open(ObjectEditingDialog.java:67)
at org.eclipse.bpmn2.modeler.core.merrimac.dialogs.FeatureEditingDialog.open(FeatureEditingDialog.java:124)
at org.eclipse.bpmn2.modeler.core.merrimac.dialogs.ComboObjectEditor.createObject(ComboObjectEditor.java:252)
at org.eclipse.bpmn2.modeler.core.merrimac.dialogs.ComboObjectEditor$4.widgetSelected(ComboObjectEditor.java:160)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

Any ideas?

THX!
Keith
Re: Can't "Browse Types" when attempting to add new process variables [message #1106901 is a reply to message #1106823] Wed, 11 September 2013 17:53 Go to previous message
Robert Brodt is currently offline Robert Brodt
Messages: 595
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Hi Keith,

This problem has already been reported here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=416719
I've been doing code refactoring and its causing some regressions - sorry about that. Will have a fix for this (and others) soon.

Bob
Previous Topic:New SequenceFlow
Next Topic:Can't Execute ArbitraryCycles pattern - getting IllegalArgumentException: Could not parse knowledge
Goto Forum:
  


Current Time: Thu Sep 18 11:43:42 GMT 2014

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

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