Bug 17734 - ClassCastException restoring default Debug preferences
Summary: ClassCastException restoring default Debug preferences
Status: RESOLVED DUPLICATE of bug 16970
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-24 12:02 EDT by Carolyn MacLeod CLA
Modified: 2002-05-24 12:12 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 Carolyn MacLeod CLA 2002-05-24 12:02:24 EDT
20020521 (F1)

- Window -> Preferences
- Debug -- Launch History
- click "Restore Defaults"
- click "Apply"
Walkback in .log pasted below.
I am not sure if this is becase I had my launch history size set to 15, and I 
did have 15 entries, or if this is some other problem.

!ENTRY org.eclipse.core.resources 1 4 May 24, 2002 12:07:54.255
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 May 24, 2002 12:07:54.265
!MESSAGE java.lang.String
!STACK 0
java.lang.ClassCastException: java.lang.String
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.pr
opertyChange(LaunchConfigurationManager.java:813)
	at 
org.eclipse.ui.plugin.AbstractUIPlugin$CompatibilityPreferenceStore.fireProperty
ChangeEvent(AbstractUIPlugin.java:247)
	at org.eclipse.ui.plugin.AbstractUIPlugin$1.propertyChange
(AbstractUIPlugin.java:188)
	at org.eclipse.core.runtime.Preferences.firePropertyChangeEvent
(Preferences.java:505)
	at org.eclipse.core.runtime.Preferences.setToDefault
(Preferences.java:1189)
	at 
org.eclipse.ui.plugin.AbstractUIPlugin$CompatibilityPreferenceStore.setToDefault
(AbstractUIPlugin.java:415)
	at org.eclipse.jface.preference.FieldEditor.store(FieldEditor.java:573)
	at 
org.eclipse.debug.internal.ui.preferences.LaunchHistoryPreferencePage.performOk
(LaunchHistoryPreferencePage.java:192)
	at org.eclipse.jface.preference.PreferencePage.performApply
(PreferencePage.java:375)
	at org.eclipse.jface.preference.PreferencePage$2.widgetSelected
(PreferencePage.java:247)
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:85)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java
(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java
(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
(Compiled Code))
	at org.eclipse.jface.window.Window.runEventLoop(Window.java(Compiled 
Code))
	at org.eclipse.jface.window.Window.open(Window.java:538)
	at org.eclipse.ui.internal.OpenPreferencesAction.run
(OpenPreferencesAction.java:47)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:590)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:407)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:361)
	at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:352)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:47)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java
(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java
(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
(Compiled Code))
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java
(Compiled Code))
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1068)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:739)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:200)
	at org.eclipse.core.launcher.Main.run(Main.java:643)
	at org.eclipse.core.launcher.Main.main(Main.java:476)
Comment 1 Darin Swanson CLA 2002-05-24 12:12:28 EDT

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