Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Release activities in NWDI Problem Exc=java.lang.NullPointerException

While trying to release the activities in NWDS a problem occurred and I got this error message:

com.sap.cms.organizerUI.ui.ReleasePredecessorDialog      [Thread[ModalContext,5,main]] Error:  Exc=java.lang.NullPointerException

Here's the error log:

java.lang.NullPointerException

  at com.sap.cms.organizerUI.internal.PropagationPredecessorProvider.findPredecessorActivities(PropagationPredecessorProvider.java:171)

  at com.sap.cms.organizerUI.internal.PropagationPredecessorProvider.findPredecessorActivities(PropagationPredecessorProvider.java:282)

  at com.sap.cms.organizerUI.ui.ReleasePredecessorDialog$PredecessorTreeContentProvider.getChildren(ReleasePredecessorDialog.java:1066)

  at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:653)

  at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:454)

  at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:558)

  at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:301)

  at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

  at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:289)

  at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:697)

  at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:709)

  at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:175)

  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:865)

  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:849)

  at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:1912)

  at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3838)

  at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:659)

  at org.eclipse.swt.widgets.Control.windowProc(Control.java:2837)

  at org.eclipse.swt.widgets.Display.windowProc(Display.java:2545)

  at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)

  at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1246)

  at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:156)

  at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:1520)

  at org.eclipse.swt.widgets.Control.windowProc(Control.java:2820)

  at org.eclipse.swt.widgets.Display.windowProc(Display.java:2545)

  at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)

  at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1313)

  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1727)

  at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)

  at org.eclipse.jface.window.Window.open(Window.java:563)

  at com.sap.cms.organizerUI.ui.ReleasePredecessorDialog.open(ReleasePredecessorDialog.java:345)

  at com.sap.cms.organizerUI.actions.ReleaseActivityAction$1.run(ReleaseActivityAction.java:203)

  at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

  at com.sap.cms.organizerUI.actions.ReleaseActivityAction.execute(ReleaseActivityAction.java:200)

  at com.tssap.dtr.client.eclipse.ui.actions.VfsObjectSelectionAction$2.run(VfsObjectSelectionAction.java:494)

  at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:127)

  at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:24)

  at org.eclipse.swt.widgets.Display.syncExec(Display.java:2337)

  at com.tssap.dtr.client.eclipse.ui.actions.VfsObjectSelectionAction.run(VfsObjectSelectionAction.java:492)

  at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)

  at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)

  at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)

  at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)

  at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)

  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

  at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

  at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

  at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

  at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

  at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

  at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

  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:597)

  at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

  at com.sap.ide.eclipse.startup.Main.run(Main.java:789)

  at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

I'm using NWDS Version: 7.0.18.

Can anyone offer me any suggestions to solve this, please?

Thanks!

Tags:
replied

Hi Emilia,

You can try the following options:

1. Try importing the configuration for the track again (creating a new version: say <trackname>[1]), and then try making the changes followed by releasing the activity.

2. Second, if the above option does not work for you, you can view the changes in the activities which are waiting to be released and rollback (revert) the changes.

Do let me know in case this resolves your issue.

Best Regards,

Rohit Singhal

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question