Community
Participate
Working Groups
I2004-05-17 + ZRH build input from 2004-04-18 1) Create a Project JUnit and import JUnit 3.8.1 as source 2) select VectorTest.java and do "Run as Java Application" 3) put a breakpoint in VectorTest.setup() 4) launch in the debug 5) observe: you get asked whether to switch to the debug perspective 6) say "yes" and check "remember my decision" 7) observe: you get switched to the debug perspective alright, but there's an exception in the console: eclipse.buildId=I200405171219 java.fullversion=J2RE 1.4.1 IBM J9 build 20040510 (JIT enabled) BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -showlocation !ENTRY org.eclipse.core.runtime 4 2 May 18, 2004 12:00:20.552 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.ru ntime". !STACK 0 java.lang.NullPointerException at java.lang.Throwable.<init>(Throwable.java) at java.lang.Throwable.<init>(Throwable.java) at java.lang.NullPointerException.<init>(NullPointerException.java:60) at org.eclipse.debug.internal.ui.views.launch.LaunchView.perspectiveChan ged(LaunchView.java:614) at org.eclipse.ui.internal.PerspectiveListenerListOld$2.run(PerspectiveL istenerListOld.java:58) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatfo rm.java) at org.eclipse.core.runtime.Platform.run(Platform.java) at org.eclipse.ui.internal.PerspectiveListenerListOld.firePerspectiveCha nged(PerspectiveListenerListOld.java:56) at org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveChanged(Workbe nchWindow.java:913) at org.eclipse.ui.internal.WorkbenchPage.showActionSet(WorkbenchPage.jav a:2921) at org.eclipse.debug.internal.ui.views.launch.LaunchViewContextListener. showDebugActionSet(LaunchViewContextListener.java:821) at org.eclipse.debug.internal.ui.views.launch.LaunchViewContextListener. <init>(LaunchViewContextListener.java:135) at org.eclipse.debug.internal.ui.views.launch.LaunchView.partOpened(Laun chView.java:656) at org.eclipse.ui.internal.PartListenerList$5.run(PartListenerList.java) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatfo rm.java) at org.eclipse.core.runtime.Platform.run(Platform.java) at org.eclipse.ui.internal.PartListenerList.firePartOpened(PartListenerL ist.java:103) at org.eclipse.ui.internal.WorkbenchPage.firePartOpened(WorkbenchPage.ja va:1404) at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:138 ) at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:140 ) at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:276) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatfo rm.java) at org.eclipse.core.runtime.Platform.run(Platform.java) at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java: 202) at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:454) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java) at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:452) at org.eclipse.ui.internal.ViewFactory$ViewReference.getPart(ViewFactory .java:93) at org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage. java:130) at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:257) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:282) at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:567) at org.eclipse.ui.internal.presentations.PresentableViewPart.setVisible( PresentableViewPart.java:114) at org.eclipse.ui.internal.presentations.DefaultPartPresentation.selectP art(DefaultPartPresentation.java:846) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartSt ack.java:799) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:347) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:247) at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashConta iner.java:427) at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper. java:156) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:718) at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.ja va:2721) at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPag e.java:728) at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage.java:713 ) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:2864) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java) at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.ja va:2862) at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:1498 ) at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager .switchToPerspective(PerspectiveManager.java:171) at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager $5.run(PerspectiveManager.java:322) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja va) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1363) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1334) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav a:253) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:97 ) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformAct ivator.java:299) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:256) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at org.eclipse.core.launcher.Main.basicRun(Main.java:184) at org.eclipse.core.launcher.Main.run(Main.java:637) at org.eclipse.core.launcher.Main.main(Main.java:621)
This only happened the first time I debugged.
*** This bug has been marked as a duplicate of 60327 ***