Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPF » null pointer exception on viewing an ADD
null pointer exception on viewing an ADD [message #35895] Sun, 22 July 2007 13:44
Jorge Gomez Sanz is currently offline Jorge Gomez SanzFriend
Messages: 16
Registered: July 2009
Junior Member
While working with the definition of tasks, an exception was triggered.

There were some tasks missing roles and workproducts. After detailing them,
choosing the ADD option in the Diagrams popmenu entry led to a nullpointer
exception:

java.lang.NullPointerException
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.getDi agramEditPart(DiagramEditor.java:602)
at
org.eclipse.epf.diagram.core.part.AbstractDiagramEditor.getD iagramAdapter(Unknown
Source)
at
org.eclipse.epf.diagram.core.part.AbstractDiagramEditor.reve rseToSaved(Unknown
Source)
at
org.eclipse.epf.diagram.core.part.AbstractDiagramEditor.disp ose(Unknown
Source)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:689)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:426)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:263)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2721)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2633)
at org.eclipse.ui.internal.WorkbenchPage.access$1
(WorkbenchPage.java:2625)
at
org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2577)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2572)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2556)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2547)
at
org.eclipse.epf.diagram.core.part.util.DiagramEditorUtil.ope nDiagramEditor(Unknown
Source)
at
org.eclipse.epf.authoring.ui.editors.ProcessEditorActionBarC ontributor.openDiagram(Unknown
Source)
at
org.eclipse.epf.authoring.ui.editors.ProcessEditorActionBarC ontributor$OpenDiagramEditorAction.run(Unknown
Source)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:545)
at org.eclipse.jface.action.ActionContributionItem.access$
(ActionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.epf.rcp.ui.MainApplication.createWorkbenchAdviso r(Unknown
Source)
at org.eclipse.epf.rcp.ui.MainApplication.start(Unknown Source)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
Previous Topic:Work products modified by different tasks
Next Topic:null pointer exception on viewing an ADD
Goto Forum:
  


Current Time: Thu Dec 18 15:36:42 GMT 2014

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

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