Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 208231 - IllegalStateException when changing compiler compliance level of project
Summary: IllegalStateException when changing compiler compliance level of project
Status: RESOLVED DUPLICATE of bug 137398
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 10:45 EDT by Benno Baumgartner CLA
Modified: 2007-10-31 11:02 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benno Baumgartner CLA 2007-10-31 10:45:28 EDT
I20071030-0010

Given 'org.eclipse.jdt.text.tests' from head
1. Open project properties
2. Go to java compiler property page
3. Change compiler compliance level to 1.4
4. Apply
5. OK
Is:
java.lang.IllegalStateException: Preference node "org.eclipse.jdt.ui" has been removed.
	at org.eclipse.core.internal.preferences.EclipsePreferences.checkRemoved(EclipsePreferences.java:157)
	at org.eclipse.core.internal.preferences.EclipsePreferences.internalGet(EclipsePreferences.java:513)
	at org.eclipse.core.internal.preferences.EclipsePreferences.get(EclipsePreferences.java:364)
	at org.eclipse.ui.internal.preferences.WorkingCopyPreferences.internalGet(WorkingCopyPreferences.java:191)
	at org.eclipse.ui.internal.preferences.WorkingCopyPreferences.get(WorkingCopyPreferences.java:180)
	at org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock$Key.getStoredValue(OptionsConfigurationBlock.java:99)
	at org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock$Key.getStoredValue(OptionsConfigurationBlock.java:104)
	at org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock.getValue(OptionsConfigurationBlock.java:612)
	at org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock.setValue(OptionsConfigurationBlock.java:624)
	at org.eclipse.jdt.internal.ui.preferences.ComplianceConfigurationBlock.performApply(ComplianceConfigurationBlock.java:660)
	at org.eclipse.jdt.internal.ui.preferences.CompliancePreferencePage.performApply(CompliancePreferencePage.java:139)
	at org.eclipse.jface.preference.PreferencePage$2.widgetSelected(PreferencePage.java:284)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3744)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3355)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:156)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:498)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3744)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3355)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2395)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2359)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2225)
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:468)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:463)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
	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:585)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:515)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:455)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1193)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1169)
	at org.eclipse.core.launcher.Main.main(Main.java:30)
Comment 1 Martin Aeschlimann CLA 2007-10-31 11:02:02 EDT

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