1 Reply Latest reply on Jul 2, 2007 10:26 AM by Petterson Paula

    NullPointerException when trying the create a new Pageflow

    Richard Leherpeur Novice

      In Eclipse 3.1 and also 3.2 (I installed this version after having getting this expection in 3.1), I get the following exceptions when creating a new pageflow for a Seam project:

      java.lang.NullPointerException
       at org.jbpm.ui.pageflow.wizard.NewPageFlowWizardPage.getRootForEmbeddingProject(Unknown Source)
       at org.jbpm.ui.pageflow.wizard.NewPageFlowWizardPage.initContainerName(Unknown Source)
       at org.jbpm.ui.pageflow.wizard.NewPageFlowWizardPage.chooseContainer(Unknown Source)
       at org.jbpm.ui.pageflow.wizard.NewPageFlowWizardPage.access$1(Unknown Source)
       at org.jbpm.ui.pageflow.wizard.NewPageFlowWizardPage$2.widgetSelected(Unknown Source)
       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:928)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
       at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
       at org.eclipse.jface.window.Window.open(Window.java:796)
       at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:181)
       at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
       at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
       at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
       at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
       at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
       at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
       at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
       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.core.launcher.Main.invokeFramework(Main.java:336)
       at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
       at org.eclipse.core.launcher.Main.run(Main.java:977)
       at org.eclipse.core.launcher.Main.main(Main.java:952)
      


      And also:

      Unhandled event loop exception
      (An exception stack trace is not available.)


      Does anyone have an idea what is the cause and how to fix it?

      Thanks

      Richard