3 Replies Latest reply on Feb 8, 2006 11:14 AM by Olivier Vanekem

    NPE in GPD with eclipse 3.2M4

    Kresimir Tonkovic Newbie

      I have installed GPD 3.0.7 on eclipse 3.2M4. When trying to open a process definition in editor, the editor fails with exception

      java.lang.NullPointerException
       at org.jbpm.ui.editor.DesignerContentProvider.addProcessDiagramDimension(Unknown Source)
       at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source)
       at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source)
       at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source)
       at org.jbpm.ui.editor.DesignerGraphicalEditorPage.initInput(Unknown Source)
       at org.jbpm.ui.editor.DesignerGraphicalEditorPage.init(Unknown Source)
       at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:152)
       at org.jbpm.ui.editor.DesignerEditor.addGraphPage(Unknown Source)
       at org.jbpm.ui.editor.DesignerEditor.createPages(Unknown Source)
       at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:243)
       at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:598)
       at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:374)
       at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
       at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:285)
       at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
       at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:264)
       at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
       at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394)
       at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1140)
       at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1093)
       at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1312)
       at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1278)
       at org.eclipse.ui.internal.PartStack.add(PartStack.java:453)
       at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:101)
       at org.eclipse.ui.internal.PartStack.add(PartStack.java:440)
       at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:110)
       at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
       at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:214)
       at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:204)
       at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:764)
       at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:671)
       at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
       at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2381)
       at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2316)
       at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2308)
       at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2294)
       at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
       at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2289)
       at org.eclipse.ui.internal.ide.model.FileOpenWithEntry.openEditor(FileOpenWithEntry.java:27)
       at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:268)
       at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:265)
       at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:167)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1059)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3061)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2743)
       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1762)
       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1726)
       at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:397)
       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
       at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106)
       at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:109)
       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:379)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
       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:585)
       at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
       at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
       at org.eclipse.core.launcher.Main.run(Main.java:977)
       at org.eclipse.core.launcher.Main.main(Main.java:952)
      


      Is this version of GPD supposed to work with 3.2?