Ticket #238 (new Bug)

Opened 5 years ago

Policy Explorer View does not get restored upon restart

Reported by: apatel Assigned to: apatel
Priority: High Milestone: Future Release
Component: Policy Explorer Version: 1.3.x
Keywords: frame input Cc:

Description

Two systems, go into one of the system policy layer. You only see layers and modules inside of them. Close the workbench and restart. Upon restart Policy Explorer View does not get restored due to some frame input being NULL. Following is the stack trace of it.

org.eclipse.core.runtime.AssertionFailedException?: null argument: at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84) at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72) at org.eclipse.jface.viewers.StructuredSelection?.<init>(StructuredSelection?.java:66) at com.tresys.slide.plugin.views.policyexplorer.PolicyExplorerView?.restoreState(PolicyExplorerView?.java:1194) at com.tresys.slide.plugin.views.policyexplorer.PolicyExplorerView?.createPartControl(PolicyExplorerView?.java:574) at org.eclipse.ui.internal.ViewReference?.createPartHelper(ViewReference?.java:370) at org.eclipse.ui.internal.ViewReference?.createPart(ViewReference?.java:227) at org.eclipse.ui.internal.WorkbenchPartReference?.getPart(WorkbenchPartReference?.java:592) at org.eclipse.ui.internal.PartPane?.setVisible(PartPane?.java:299) at org.eclipse.ui.internal.ViewPane?.setVisible(ViewPane?.java:531) at org.eclipse.ui.internal.presentations.PresentablePart?.setVisible(PresentablePart?.java:179) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder?.select(PresentablePartFolder?.java:268) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder?.select(LeftToRightTabOrder?.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation?.selectPart(TabbedStackPresentation?.java:400) at org.eclipse.ui.internal.PartStack?.refreshPresentationSelection(PartStack?.java:1256) at org.eclipse.ui.internal.PartStack?.createControl(PartStack?.java:668) at org.eclipse.ui.internal.PartStack?.createControl(PartStack?.java:576) at org.eclipse.ui.internal.PartSashContainer?.createControl(PartSashContainer?.java:564) at org.eclipse.ui.internal.PerspectiveHelper?.activate(PerspectiveHelper?.java:270) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:931) at org.eclipse.ui.internal.WorkbenchPage?.onActivate(WorkbenchPage?.java:2515) at org.eclipse.ui.internal.WorkbenchWindow?$23.run(WorkbenchWindow?.java:2837) at org.eclipse.swt.custom.BusyIndicator?.showWhile(BusyIndicator?.java:67) at org.eclipse.ui.internal.WorkbenchWindow?.setActivePage(WorkbenchWindow?.java:2818) at org.eclipse.ui.internal.WorkbenchWindow?$17.runWithException(WorkbenchWindow?.java:2135) at org.eclipse.ui.internal.StartupThreading?$StartupRunnable?.run(StartupThreading?.java:31) at org.eclipse.swt.widgets.RunnableLock?.run(RunnableLock?.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974) at org.eclipse.ui.application.WorkbenchAdvisor?.openWindows(WorkbenchAdvisor?.java:801) at org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342) at org.eclipse.ui.internal.StartupThreading?$StartupRunnable?.run(StartupThreading?.java:31) at org.eclipse.swt.widgets.RunnableLock?.run(RunnableLock?.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) 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(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle?.run(EclipseAppHandle?.java:169) 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(EclipseStarter?.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter?.run(EclipseStarter?.java:176) 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173)