Project: Eclipse_Platform_UI
Bug 33634 NPE on startup of java debug ui plug-in
Reported: 2003-03-02 18:24:31 | Status: resolved fixed

While launching a runtime workbench, this appeared: ENTRY org.eclipse.core.runtime 4 2 Mar 02, 2003 17:14:54.262 !MESSAGE Problems occurred when invoking code from plug- in: "org.eclipse.core.runtime". !STACK 0 java.lang.NullPointerException at at org.eclipse.ui.internal.WorkbenchPage.getActivePartReference (WorkbenchPage.java:1304) at org.eclipse.jdt.internal.debug.ui.EvaluationContextManager.pageOpened (EvaluationContextManager.java:113) at org.eclipse.jdt.internal.debug.ui.EvaluationContextManager.windowOpened (EvaluationContextManager.java:87) at org.eclipse.jdt.internal.debug.ui.EvaluationContextManager.startup (EvaluationContextManager.java:54) at org.eclipse.jdt.internal.debug.ui.JavaDebugOptionsManager.startup (JavaDebugOptionsManager.java:199) at org.eclipse.jdt.internal.debug.ui.JDIDebugUIPlugin.startup (JDIDebugUIPlugin.java:281) at org.eclipse.core.internal.plugins.PluginDescriptor$1.run (PluginDescriptor.java:728) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java(Compiled Code)) at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation (PluginDescriptor.java:740) at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation (PluginDescriptor.java:188) at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin (PluginClassLoader.java:112) at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf (PluginClassLoader.java(Compiled Code)) at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf (DelegatingURLClassLoader.java(Compiled Code)) at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass (DelegatingURLClassLoader.java(Compiled Code)) at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass (DelegatingURLClassLoader.java(Compiled Code)) at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension (PluginDescriptor.java:130) at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension (PluginDescriptor.java:167) at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension (ConfigurationElement.java:103) at org.eclipse.debug.internal.ui.views.console.ConsoleDocumentManager.newLineNotifi er(ConsoleDocumentManager.java:389) at org.eclipse.debug.internal.ui.views.console.ConsoleDocumentProvider.getLineNotif ier(ConsoleDocumentProvider.java:100) at org.eclipse.debug.internal.ui.views.console.ConsoleDocumentProvider.createDocume nt(ConsoleDocumentProvider.java:35) at org.eclipse.ui.texteditor.AbstractDocumentProvider.createElementInfo (AbstractDocumentProvider.java:236) at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect (AbstractDocumentProvider.java:302) at org.eclipse.debug.internal.ui.views.console.ConsoleDocumentManager$2.run (ConsoleDocumentManager.java:124) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java(Compiled Code)) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java(Compiled Code)) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block (ModalContext.java(Compiled Code)) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block (ModalContext.java(Compiled Code)) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block (ModalContext.java(Compiled Code)) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:255) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run (ProgressMonitorDialog.java:351) at org.eclipse.debug.ui.DebugUITools.launch(DebugUITools.java:493) at org.eclipse.debug.ui.actions.LaunchAction.run(LaunchAction.java:62) at org.eclipse.debug.ui.actions.LaunchAction.runWithEvent (LaunchAction.java:77) 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.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1254) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:845) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:247) at org.eclipse.core.launcher.Main.run(Main.java:703) at org.eclipse.core.launcher.Main.main(Main.java:539)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java