Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 62509 - NPE during LaunchView.perspectiveChanged
Summary: NPE during LaunchView.perspectiveChanged
Status: RESOLVED DUPLICATE of bug 60327
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-17 13:43 EDT by Michael Fraenkel CLA
Modified: 2004-05-17 13:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Fraenkel CLA 2004-05-17 13:43:21 EDT
N20040517 on WXP

I am assuming this occuring during one of the switches from the Java 
Perspective to the Debug Perspective.

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.perspectiveChanged
(LaunchView.java:614)
        at org.eclipse.ui.internal.PerspectiveListenerListOld$2.run
(PerspectiveListenerListOld.java:58)
        at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java)
        at org.eclipse.core.runtime.Platform.run(Platform.java)
        at 
org.eclipse.ui.internal.PerspectiveListenerListOld.firePerspectiveChanged
(PerspectiveListenerListOld.java)
        at org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveChanged
(WorkbenchWindow.java:913)
        at org.eclipse.ui.internal.WorkbenchPage.showActionSet
(WorkbenchPage.java:2918)
        at 
org.eclipse.debug.internal.ui.views.launch.LaunchViewContextListener.showDebugA
ctionSet(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
(LaunchView.java:656)
        at org.eclipse.ui.internal.PartListenerList$5.run
(PartListenerList.java)
        at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java)
        at org.eclipse.core.runtime.Platform.run(Platform.java)
        at org.eclipse.ui.internal.PartListenerList.firePartOpened
(PartListenerList.java:103)
        at org.eclipse.ui.internal.WorkbenchPage.firePartOpened
(WorkbenchPage.java: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
(InternalPlatform.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.selectPart
(DefaultPartPresentation.java:857)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection
(PartStack.java:919)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:463)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:363)
        at org.eclipse.ui.internal.PartSashContainer.createControl
(PartSashContainer.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.java:2718)
        at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective
(WorkbenchPage.java:728)
        at org.eclipse.ui.internal.WorkbenchPage.access$8
(WorkbenchPage.java:713)
        at org.eclipse.ui.internal.WorkbenchPage$12.run
(WorkbenchPage.java:2861)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java)
        at org.eclipse.ui.internal.WorkbenchPage.setPerspective
(WorkbenchPage.java:2859)
        at org.eclipse.ui.internal.Workbench.showPerspective
(Workbench.java:1498)
        at 
org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager.switchToP
erspective(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.java)
        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.java: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
(PlatformActivator.java:299)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:256)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:84)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:59)
        at java.lang.reflect.Method.invoke(Method.java:390)
        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)
Comment 1 Darin Wright CLA 2004-05-17 13:59:47 EDT

*** This bug has been marked as a duplicate of 60327 ***