Unable to update packages in Designer due to NullPointerException

  • 7017961
  • 19-Aug-2016
  • 19-Aug-2016

Environment

Designer for Identity Manager 4.5.x

Situation

When selecting the option "Package Upgrade" on the Package Catalog, the Package Upgrade Dialog is presented, but the packages fail to update.
When opening the Designer Error log, an error is given indicating "Unhandled event loop exception".
The stack trace looks as follows:

java.lang.NullPointerException
at com.novell.idm.packagemanager.core.PendingOperationMgr.createPendingOperation(PendingOperationMgr.java:251)
at com.novell.idm.packagemanager.dialogs.PackageUpgradeInfoDialog$6.handleEvent(PackageUpgradeInfoDialog.java:409)
...

Resolution

This problem occurs due to a corruption in the project and it's likely a consequence of multiple users doing a check-in to the IDM Catalog when using version control.

To have the project corrected, please open a Service Request with Technical Services.

Additional Information

This is the complete stack trace:

java.lang.NullPointerException
at com.novell.idm.packagemanager.core.PendingOperationMgr.createPendingOperation(PendingOperationMgr.java:251)
at com.novell.idm.packagemanager.dialogs.PackageUpgradeInfoDialog$6.handleEvent(PackageUpgradeInfoDialog.java:409)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at com.novell.idm.rcp.DesignerApplication.start(DesignerApplication.java:118)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)