Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 48429 - [CoolBar] npe during startup
Summary: [CoolBar] npe during startup
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.3 M2   Edit
Assignee: Kostas Sakellis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 48437 48449 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-10 14:09 EST by DJ Houghton CLA
Modified: 2013-05-24 09:34 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2003-12-10 14:09:58 EST
build i1210:1227, winxp, j9sc1104

I downloaded the new build and started it up against my old workspace. I got a
dialog saying that there were errors and my workbench state couldn't be
restored. The following was in the log file. All my prespectives were reset.

!ENTRY org.eclipse.core.runtime 4 2 Dec 10, 2003 14:04:58.312
!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:73)
        at java.lang.NullPointerException.<init>(NullPointerException.java:60)
        at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.
java:1257)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1366)
        at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:1334)
        at org.eclipse.ui.internal.Workbench$11.run(Workbench.java:1256)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatfo
rm.java:809)
        at org.eclipse.core.runtime.Platform.run(Platform.java:447)
        at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbenc
h.java:1212)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:900)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1500)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:242)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47
)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformAct
ivator.java:242)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:84)
        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.internal.boot.OSGiBootLoader.basicRun(OSGiBootLoader
.java:239)
        at org.eclipse.core.internal.boot.OSGiBootLoader.run(OSGiBootLoader.java
:665)
        at org.eclipse.core.internal.boot.OSGiBootLoader.run(OSGiBootLoader.java
:652)
        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:299)
        at org.eclipse.core.launcher.Main.run(Main.java:767)
        at org.eclipse.core.launcher.Main.main(Main.java:601)
Comment 1 Pascal Rapicault CLA 2003-12-10 14:20:28 EST
I have experienced the same behavior.
Comment 2 Debbie Wilson CLA 2003-12-10 14:52:22 EST
Looks like some key binding work has happened in here recently.  If that isn't 
what caused the problem, please redirect - Sorry.
Comment 3 Chris McLaren CLA 2003-12-10 16:00:54 EST
no, i don't think this is anywhere near the keybindings.. not sure if to pass 
to tod or nick, but seeing as nick is gone this week.. here you go, tod :)
Comment 4 Tod Creasey CLA 2003-12-10 16:08:53 EST
This is in the code that Kosta and Nick worked on for the cool bar.
Comment 5 Kostas Sakellis CLA 2003-12-10 18:53:31 EST
The null pointer exception has been fixed and commited to CVS. 

As a side effect, the new cool bar manager ignores old cool bar layout 
information (order of cool items). The canonical order of the cool items will 
be restored when you load up the new version of eclipse with an old workspace.
Comment 6 Debbie Wilson CLA 2003-12-11 10:27:35 EST
*** Bug 48437 has been marked as a duplicate of this bug. ***
Comment 7 Debbie Wilson CLA 2003-12-11 10:28:12 EST
*** Bug 48449 has been marked as a duplicate of this bug. ***
Comment 8 Malgorzata Janczarska CLA 2012-08-20 08:02:06 EDT
*** Bug 387528 has been marked as a duplicate of this bug. ***