Invalid settings fubared workbench layout
Reported by Daniel Yokomizo | June 14th, 2010 @ 12:21 PM
I accidentally set "Projects Tested Concurrently" to 16 and after restarting Eclipse the workbench layout couldn't be restored.
It seems to me that an Eclipse plug-in shouldn't crash like that, losing the entire workbench configuration.
java.lang.IllegalArgumentException: Settings core count to 16
max is 8
at
org.infinitest.MultiCoreConcurrencyController.setCoreCount(MultiCoreConcurrencyController.java:39)
at
org.infinitest.eclipse.workspace.CoreFactory.setConcurrentCoreCount(CoreFactory.java:39)
at
org.infinitest.eclipse.InfinitestPlugin.getBean(InfinitestPlugin.java:119)
at
org.infinitest.eclipse.InfinitestPlugin.getPluginController(InfinitestPlugin.java:108)
at
org.infinitest.eclipse.trim.StatusBar.getPluginController(StatusBar.java:121)
at
org.infinitest.eclipse.trim.StatusBar.init(StatusBar.java:29)
at
org.eclipse.ui.internal.menus.TrimBarManager2$STrimBuilder.renderTrim(TrimBarManager2.java:442)
at
org.eclipse.ui.internal.menus.TrimBarManager2$STrimBuilder.processAdditions(TrimBarManager2.java:378)
at
org.eclipse.ui.internal.menus.TrimBarManager2$STrimBuilder.build(TrimBarManager2.java:330)
at
org.eclipse.ui.internal.menus.TrimBarManager2.update(TrimBarManager2.java:109)
at
org.eclipse.ui.internal.WorkbenchWindow.updateLayoutDataForContents(WorkbenchWindow.java:3783)
at
org.eclipse.ui.internal.WorkbenchWindow.setLayoutDataForContents(WorkbenchWindow.java:3796)
at
org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1114)
at
org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:625)
at
org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:268)
at
org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1000)
at org.eclipse.jface.window.Window.create(Window.java:431)
at
org.eclipse.ui.internal.Workbench$60.runWithException(Workbench.java:3363)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at
org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:597)
at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Comments and changes to this ticket
-
benrady (at gmail) June 14th, 2010 @ 12:58 PM
Uninstalling and re-installing the plugin might help you work around this
problem for now. -
benrady (at gmail) June 14th, 2010 @ 01:46 PM
Let me know if that doesn't work and I can suggest another workaround.
-
Daniel Yokomizo June 14th, 2010 @ 03:33 PM
Changing the settings manually resolved the problem, but I still had to reconstruct the workbench. I don't have the time now to try reproducing the issue, test the workaround and reconstruct my workbench for the third time (if the workaround don't restore the workbench).
-
benrady (at gmail) June 14th, 2010 @ 04:26 PM
Glad you found a resolution. Thanks for submitting the bug.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Continuous Test Runner for Java