Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 62738 - NPE when changing perspectives
Summary: NPE when changing perspectives
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-18 14:38 EDT by Wassim Melhem CLA
Modified: 2004-05-18 14:43 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 Wassim Melhem CLA 2004-05-18 14:38:28 EDT
Build: I-20040517

I found two instances of this NPE in my log...

Error May 17, 2004 14:44:08.116 Problems occurred when invoking code from plug-
in: "org.eclipse.core.runtime".
java.lang.NullPointerException
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:608)
at org.eclipse.core.runtime.Platform.run(Platform.java:668)
at org.eclipse.ui.internal.PerspectiveListenerListOld.firePerspectiveChanged
(PerspectiveListenerListOld.java:56)
at org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveChanged
(WorkbenchWindow.java:913)
at org.eclipse.ui.internal.WorkbenchPage.showActionSet(WorkbenchPage.java:2921)
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:105)
at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:608)
at org.eclipse.core.runtime.Platform.run(Platform.java:668)
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:608)
at org.eclipse.core.runtime.Platform.run(Platform.java:668)
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:69)
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:846)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection
(PartStack.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
(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.onActivate(WorkbenchPage.java:1994)
at org.eclipse.ui.internal.WorkbenchWindow$7.run(WorkbenchWindow.java:1907)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage
(WorkbenchWindow.java:1894)
at org.eclipse.ui.internal.WorkbenchWindow.restoreState
(WorkbenchWindow.java:1462)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1216)
at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1183)
at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1094)
at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:608)
at org.eclipse.core.runtime.Platform.run(Platform.java:668)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1027)
at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState
(WorkbenchConfigurer.java:167)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows
(WorkbenchAdvisor.java:652)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:817)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1311)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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-18 14:43:03 EDT

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