Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 186389 - IllegalStateException in properties dialog
Summary: IllegalStateException in properties dialog
Status: RESOLVED DUPLICATE of bug 137398
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-10 11:28 EDT by Michael Rennie CLA
Modified: 2007-07-29 09:22 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 Michael Rennie CLA 2007-05-10 11:28:38 EDT
using build N20070510-0010, after changing my compiler compliance settings and trying to switch to the build path page I got the following error:

java.lang.IllegalStateException: Preference node "org.eclipse.jdt.core" 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.getChanges(OptionsConfigurationBlock.java:664)
at org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock.processChanges(OptionsConfigurationBlock.java:719)
at org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock.performOk(OptionsConfigurationBlock.java:708)
at org.eclipse.jdt.internal.ui.preferences.ComplianceConfigurationBlock.performOk(ComplianceConfigurationBlock.java:630)
at org.eclipse.jdt.internal.ui.preferences.CompliancePreferencePage.performOk(CompliancePreferencePage.java:128)
at org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:922)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:850)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:902)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:374)
at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:230)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
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:1451)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1460)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1251)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3335)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
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:545)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1451)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1460)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1251)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3335)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2365)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2329)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2204)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
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:153)
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:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:497)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:436)
at org.eclipse.equinox.launcher.Main.run(Main.java:1162)

Steps (not 100% reproducable):

1. change compiler compliance on an existing java project to something lower than it was (in my case I went from 1.5 to 1.4 compliance). Also seemed to happen if I changed from project specific settings to workspace default which was lower (1.5 -> 1.4).
2. click 'Yes' to do a rebuild now when asked
3. try to navigate to another properties page
Comment 1 Olivier Thomann CLA 2007-05-10 13:49:52 EDT
Moving to JDT/UI
Comment 2 Martin Aeschlimann CLA 2007-05-11 04:20:09 EDT

*** This bug has been marked as a duplicate of bug 137398 ***
Comment 3 Eclipse Webmaster CLA 2007-07-29 09:22:42 EDT
Changing OS from Mac OS to Mac OS X as per bug 185991