Project: Eclipse_Platform_UI
Bug 8499 NPE in WorkbenchPage#findView from debugger
Reported: 2002-01-25 14:49:32 | Status: resolved fixed

Build 20020123 - launched eclipse-in-eclipse in debug mode (auto switch to debug perspective) - it hit a breakpoint - I double-cliked on the breakpoint in the editor to remove it. - internal error log: java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchPage.findView(WorkbenchPage.java(Compiled Code)) at org.eclipse.debug.ui.AbstractDebugView.findView(AbstractDebugView.java:627) at org.eclipse.debug.internal.ui.views.ConsoleView.launchAdded(ConsoleView.java:385 ) at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(LaunchManager.java:228) at org.eclipse.debug.internal.core.LaunchManager.addLaunch(LaunchManager.java:417) at org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLauncherDelegate$2.run (JavaApplicationLauncherDelegate.java:201) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:121) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:18) at org.eclipse.swt.widgets.Display.syncExec(Display.java:1641) at org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLauncherDelegate.regis terLaunch(JavaApplicationLauncherDelegate.java:199) at org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLauncherDelegate.doLau nch(JavaApplicationLauncherDelegate.java:189) at org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLauncherDelegate.launc hElement(JavaApplicationLauncherDelegate.java:76) at org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLauncherDelegate.launc h(JavaApplicationLauncherDelegate.java:88) at org.eclipse.debug.internal.core.Launcher.launch(Launcher.java:104) at org.eclipse.debug.internal.ui.actions.RelaunchActionDelegate.relaunch(RelaunchAc tionDelegate.java:41) at org.eclipse.debug.internal.ui.actions.RelaunchActionDelegate.relaunch(RelaunchAc tionDelegate.java:46) at org.eclipse.debug.internal.ui.actions.RelaunchHistoryLaunchAction$1.run(Relaunch HistoryLaunchAction.java:55) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56) at org.eclipse.debug.internal.ui.actions.RelaunchHistoryLaunchAction.run(RelaunchHi storyLaunchAction.java:53) at org.eclipse.jface.action.Action.runWithEvent(Action.java:452) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCont ributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContribu tionItem.java(Compiled Code)) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(Actio nContributionItem.java(Compiled Code)) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(Actio nContributionItem.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.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:827) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:87 8) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:321) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:502) at org.eclipse.core.launcher.Main.main(Main.java:362)

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