Community
Participate
Working Groups
I20040611 Go to Preferences > Workbench > Startup and Shutdown An error dialog comes up "Could not accept changes" (not sure if this feature belongs to UI?)
Error Jun 11, 2004 11:14:25.420 Problems occurred when invoking code from plug- in: "org.eclipse.core.runtime". java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.charAt(String.java:444) at org.eclipse.ui.internal.ide.ChooseWorkspaceData.setInitialDefault (ChooseWorkspaceData.java:113) at org.eclipse.ui.internal.ide.ChooseWorkspaceData.<init> (ChooseWorkspaceData.java:77) at org.eclipse.ui.internal.ide.ChooseWorkspaceData.getShowDialogValue (ChooseWorkspaceData.java:315) at org.eclipse.ui.internal.ide.dialogs.IDEStartupPreferencePage.createLaunchPromptP ref(IDEStartupPreferencePage.java:130) at org.eclipse.ui.internal.ide.dialogs.IDEStartupPreferencePage.createContents (IDEStartupPreferencePage.java:54) at org.eclipse.jface.preference.PreferencePage.createControl (PreferencePage.java:217) at org.eclipse.jface.preference.PreferenceDialog$12.run (PreferenceDialog.java:1007) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:615) at org.eclipse.core.runtime.Platform.run(Platform.java:758) at org.eclipse.jface.preference.PreferenceDialog.showPage (PreferenceDialog.java:1002) at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged (PreferenceDialog.java:529) at org.eclipse.jface.viewers.StructuredViewer$3.run (StructuredViewer.java:452) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:615) at org.eclipse.core.runtime.Platform.run(Platform.java:758) at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged (StructuredViewer.java:450) at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect (StructuredViewer.java:710) at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected (StructuredViewer.java:728) at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent (OpenStrategy.java:200) at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:195) at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:349) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java:106) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2709) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2401) at org.eclipse.jface.window.Window.runEventLoop(Window.java:668) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.ui.internal.OpenPreferencesAction.run (OpenPreferencesAction.java:72) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent (ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2732) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2398) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1362) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1333) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:252) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:334) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:272) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:128) 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:185) at org.eclipse.core.launcher.Main.run(Main.java:638) at org.eclipse.core.launcher.Main.main(Main.java:622)
This is the 2nd half of bug 66651. Marking as fixed and not a dup (per discussion with Andrew E.) to ensure we verify both manifestations of this problem.