Bug 38211 - [Coolbar] IllegalArgumentException restoring coolbar
Summary: [Coolbar] IllegalArgumentException restoring coolbar
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P1 critical (vote)
Target Milestone: ---   Edit
Assignee: Lynne Kues CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-28 16:17 EDT by Nick Edgar CLA
Modified: 2003-05-29 12:56 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 Nick Edgar CLA 2003-05-28 16:17:23 EDT
build I20030528

- started the latest integration build on an older workspace
- it told me there was an error and that it had to discard the workbench layout
- log had the following.  Not sure if the editor creation problem is related.

!SESSION May 28, 2003 16:07:39.561 ---------------------------------------------
java.fullversion=J2RE 1.3.1 IBM J9 build 20030502 (JIT enabled)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -data d:\eclipse\plugins -
install file:D:/eclipse-I20030528/eclipse/
!ENTRY org.eclipse.ui 4 4 May 28, 2003 16:07:39.571
!MESSAGE Exception creating editor: The classfile is not on the classpath
!ENTRY org.eclipse.ui.workbench 4 2 May 28, 2003 16:07:48.203
!MESSAGE Problems occurred when invoking code from plug-
in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.IllegalArgumentException: Argument cannot be null
	at java.lang.Throwable.<init>(Throwable.java)
	at java.lang.Throwable.<init>(Throwable.java)
	at org.eclipse.swt.SWT.error(SWT.java:2336)
	at org.eclipse.swt.SWT.error(SWT.java:2280)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:389)
	at org.eclipse.swt.widgets.CoolBar.indexOf(CoolBar.java:569)
	at org.eclipse.ui.internal.CoolBarManager.restoreState
(CoolBarManager.java:689)
	at org.eclipse.ui.internal.WorkbenchWindow.restoreState
(WorkbenchWindow.java:1313)
	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1263)
	at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1223)
	at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:1141)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:889)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState
(Workbench.java:1093)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:870)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:845)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	at java.lang.reflect.AccessibleObject.invokeL(AccessibleObject.java:207)
	at java.lang.reflect.Method.invoke(Method.java:271)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
	at org.eclipse.core.launcher.Main.run(Main.java:747)
	at org.eclipse.core.launcher.Main.main(Main.java:583)
Comment 1 Lynne Kues CLA 2003-05-29 09:51:00 EDT
Result of changes to the coolbar layout code post 2.1.  This code is not in the 
maintenance stream.  The error was most likely caused by the editor creation 
error, but the restore code needs to be more resilient.  The walkback in [Bug 
37537] is another example of the code not being resilient enough.
Comment 2 Lynne Kues CLA 2003-05-29 12:56:35 EDT
Fix released.  In build > 20030529.