Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 62448 - NPE while starting eclipse
Summary: NPE while starting eclipse
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
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-17 05:16 EDT by Frederic Fusier CLA
Modified: 2004-05-17 11:11 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 Frederic Fusier CLA 2004-05-17 05:16:32 EDT
I'm using nightly build N200405170010. I know it's a little it dangerous but I
need it...

Perhaps it's a know problem but when I launch eclipse using this build, I always
get following NPE:
!ENTRY org.eclipse.core.runtime 4 2 May 17, 2004 11:00:08.268
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
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:2918)
        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(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.PartPane.createControl(PartPane.java:170)
        at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:128)
        at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:912)
        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.onActivate(WorkbenchPage.java:1991)
        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(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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)

Not usre if I should open it against debug-ui or core-ui, please reassign if
necessary or cancel if this is only a temporary issue...
Comment 1 Darin Wright CLA 2004-05-17 11:05:15 EDT
I think this is due to our fix for bug 61868, which needs to be reverted once 
bug 61937 is fixed.
Comment 2 Darin Wright CLA 2004-05-17 11:06:15 EDT
(But perhaps we can still protect against the problem with the current 
implementation? I'm seeing the problem too, running with the latest plugins).
Comment 3 Darin Wright CLA 2004-05-17 11:11:33 EDT

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