Project: Eclipse_Platform_UI
Bug 99864 [Viewers] NPE in DeferredTreeContentManager$1.isParent
Reported: 2005-06-13 19:50:28 | Status: verified fixed

After using 3.1RC2 for a while, I later on noticed that I had this in my log. I am not sure what caused it. !ENTRY org.eclipse.ui 4 0 2005-06-12 22:29:24.197 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.ui.progress.DeferredTreeContentManager$1.isParent(DeferredTreeContentManager.java:225) at org.eclipse.ui.progress.DeferredTreeContentManager$1.belongsTo(DeferredTreeContentManager.java:206) at org.eclipse.core.internal.jobs.JobManager.select(JobManager.java:876) at org.eclipse.core.internal.jobs.JobManager.select(JobManager.java:898) at org.eclipse.core.internal.jobs.JobManager.select(JobManager.java:886) at org.eclipse.core.internal.jobs.JobManager.cancel(JobManager.java:229) at org.eclipse.ui.progress.DeferredTreeContentManager.cancel(DeferredTreeContentManager.java:365) at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyContentProvider.cancelJobs(CallHierarchyContentProvider.java:171) at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyViewer.cancelJobs(CallHierarchyViewer.java:129) at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyViewPart.cancelJobs(CallHierarchyViewPart.java:922) at org.eclipse.jdt.internal.ui.callhierarchy.CancelSearchAction.run(CancelSearchAction.java:37) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2825) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2530) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1716) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1680) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:365) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/progress/DeferredTreeContentManager.java