Project: Eclipse_Platform_UI
Bug 76517 NPE in LaunchViewContextListener
Reported: 2004-10-18 20:11:17 | Status: verified fixed

Unsure of the steps to reproduce but this was in my log: java.lang.NullPointerException at org.eclipse.debug.internal.ui.views.launch.LaunchViewContextListener.isAutoMana geViews(LaunchViewContextListener.java:883) at org.eclipse.debug.internal.ui.views.launch.LaunchViewContextListener.contextEna bled(LaunchViewContextListener.java:427) at org.eclipse.debug.internal.ui.views.launch.LaunchViewContextListener.contextMan agerChanged(LaunchViewContextListener.java:403) at org.eclipse.ui.internal.contexts.AbstractContextManager.fireContextManagerChang ed(AbstractContextManager.java:47) at org.eclipse.ui.internal.contexts.ProxyContextManager$1.contextManagerChanged (ProxyContextManager.java:43) at org.eclipse.ui.internal.contexts.AbstractContextManager.fireContextManagerChang ed(AbstractContextManager.java:47) at org.eclipse.ui.internal.contexts.MutableContextManager.setEnabledContextIds (MutableContextManager.java:268) at org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport.processEnabledSubmi ssions(WorkbenchContextSupport.java:667) at org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport.processEnabledSubmi ssions(WorkbenchContextSupport.java:520) at org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport.removeEnabledSubmis sions(WorkbenchContextSupport.java:767) at org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport.checkWindowType (WorkbenchContextSupport.java:296) at org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport.access$0 (WorkbenchContextSupport.java:279) at org.eclipse.ui.internal.contexts.ws.WorkbenchContextSupport$1.handleEvent (WorkbenchContextSupport.java:93) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:748) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:799) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:824) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805) at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1424) at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:1438) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2976) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1400) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3351) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1484) at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:399) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3058) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1400) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3351) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1489) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2441) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1443) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1414) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:271) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IEditorPart.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IViewPart.java