3 Replies Latest reply on Apr 22, 2006 2:04 PM by Koen Aers

    NPE Creating Task with GPD

    David Hosier Novice

      Frustration is mounting....Every time I open the properties for an action and click OK (whether I edit anything or not), I get the following exception. I am using java build 1.4.2_03-b02 with the 3.0.8 version of the Eclipse plugin in Eclipse 3.1. This is a fresh install with only the BPM plugin installed.

      !ENTRY org.eclipse.jface 4 0 2006-03-28 15:12:20.468
      !MESSAGE java.lang.NullPointerException
      !STACK 0
      java.lang.NullPointerException
       at org.jbpm.ui.properties.ActionHandlerPropertyPage.performOk(Unknown Source)
       at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:862)
       at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
       at org.eclipse.core.runtime.Platform.run(Platform.java:783)
       at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
       at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
       at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:842)
       at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:296)
       at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:227)
       at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
       at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
       at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
       at org.eclipse.jface.window.Window.open(Window.java:787)
       at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
       at org.jbpm.ui.part.tree.ElementTreeEditPart.openPropertyDialog(Unknown Source)
       at org.jbpm.ui.part.tree.ElementTreeEditPart.performRequest(Unknown Source)
       at org.jbpm.ui.outline.DesignerOutlineViewer.handleDoubleClick(Unknown Source)
       at org.jbpm.ui.outline.DesignerOutlineViewer.access$3(Unknown Source)
       at org.jbpm.ui.outline.DesignerOutlineViewer$4.mouseDoubleClick(Unknown Source)
       at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:141)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
       at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
       at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
       at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
       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:324)
       at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
       at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
       at org.eclipse.core.launcher.Main.run(Main.java:973)
       at org.eclipse.core.launcher.Main.main(Main.java:948)
      


        • 1. Re: NPE Creating Task with GPD
          Koen Aers Master

          This is a bug in 3.0.8 which is already corrected in CVS. Either you switch to a previous release or you'll have to use the source page to workaround this. But stay tuned there is an upcoming release...

          Regards,
          Koen

          • 2. Re: NPE Creating Task with GPD
            ermanno principe Newbie

            This seems to happen also today, I performed a fresh installation, plugin version is 3.0.8.1, with eclipse 3.1.2 and the problem persists:

            java.lang.NullPointerException
            at org.jbpm.ui.properties.ActionHandlerPropertyPage.performOk(Unknown Source)
            at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:862)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
            at org.eclipse.core.runtime.Platform.run(Platform.java:783)
            at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
            at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
            at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:842)
            at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:296)
            at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:227)
            at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
            at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
            at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
            at org.eclipse.jface.window.Window.open(Window.java:787)
            at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
            at org.jbpm.ui.part.tree.ElementTreeEditPart.openPropertyDialog(Unknown Source)
            at org.jbpm.ui.part.tree.ElementTreeEditPart.performRequest(Unknown Source)
            at org.jbpm.ui.outline.DesignerOutlineViewer.handleDoubleClick(Unknown Source)
            at org.jbpm.ui.outline.DesignerOutlineViewer.access$3(Unknown Source)
            at org.jbpm.ui.outline.DesignerOutlineViewer$4.mouseDoubleClick(Unknown Source)
            at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:141)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
            at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
            at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
            at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
            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:324)
            at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
            at org.eclipse.core.launcher.Main.run(Main.java:973)
            at org.eclipse.core.launcher.Main.main(Main.java:948)

            • 3. Re: NPE Creating Task with GPD
              Koen Aers Master

              The bug was fixed in 3.0.9.

              Regards,
              Koen