java.lang.IllegalStateException: Preference node "org.eclipse.wst.validation" has been removed.

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • IllegalStateException while as-you-type validating
    via by benjamin.muskalla,
  • To reproduce import spring-integration projects delete them all from ws import them all again {noformat} org.eclipse.core.runtime.CoreException: Preference node "com.springsource.sts.gradle.core" has been removed. at com.springsource.sts.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:63) at com.springsource.sts.gradle.core.wizards.GradleImportOperation.importProject(GradleImportOperation.java:213) at com.springsource.sts.gradle.core.wizards.GradleImportOperation.perform(GradleImportOperation.java:113) at com.springsource.sts.gradle.ui.wizards.GradleImportWizard$1.doit(GradleImportWizard.java:59) at com.springsource.sts.gradle.core.util.GradleRunnable$1.run(GradleRunnable.java:42) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.IllegalStateException: Preference node "com.springsource.sts.gradle.core" has been removed. at org.eclipse.core.internal.preferences.EclipsePreferences.checkRemoved(EclipsePreferences.java:158) at org.eclipse.core.internal.preferences.EclipsePreferences.internalGet(EclipsePreferences.java:514) at org.eclipse.core.internal.preferences.EclipsePreferences.get(EclipsePreferences.java:365) at com.springsource.sts.gradle.core.AbstractGradlePreferences.get(AbstractGradlePreferences.java:62) at com.springsource.sts.gradle.core.GradleProjectPreferences.getRootProjectLocation(GradleProjectPreferences.java:71) at com.springsource.sts.gradle.core.GradleProject.getRootProject(GradleProject.java:887) at com.springsource.sts.gradle.core.GradleProject.convertToGradleProject(GradleProject.java:610) at com.springsource.sts.gradle.core.wizards.GradleImportOperation.importProject(GradleImportOperation.java:205) ... 4 more {noformat} Presumably the cause of this is some cached preference objects become invalid when projects are deleted from the workspace.
    via by Kris De Volder (c),
  • IllegalStateException in properties dialog
    via by Michael_Rennie,
    • java.lang.IllegalStateException: Preference node "org.eclipse.wst.validation" 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.getInt(EclipsePreferences.java:463) at org.eclipse.wst.validation.internal.PreferencesWrapper$PreferencesWrapperPersistent.getInt(PreferencesWrapper.java:124) at org.eclipse.wst.validation.internal.ValPrefManagerProject.loadProjectPreferences(ValPrefManagerProject.java:204) at org.eclipse.wst.validation.internal.ValManager.getProjectPreferences(ValManager.java:611) at org.eclipse.wst.validation.internal.ValManager.getProjectPreferences(ValManager.java:592) at org.eclipse.wst.validation.ValidationFramework.getProjectSettings(ValidationFramework.java:298) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.setDocument(ValidatorStrategy.java:315) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.setDocument(DocumentRegionProcessor.java:328) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.setDocument(StructuredRegionProcessor.java:288) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.handleInputDocumentChanged(DirtyRegionProcessor.java:559) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$TextInputListener.inputDocumentChanged(DirtyRegionProcessor.java:174) at org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java:2884) at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2933) at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:629) at org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:376) at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.setDocument(StructuredTextViewer.java:796) at org.eclipse.php.internal.ui.editor.PHPStructuredTextViewer.setDocument(PHPStructuredTextViewer.java:638) at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:584) at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:3873) at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3401) at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:432) at org.eclipse.wst.sse.ui.StructuredTextEditor.createPartControl(StructuredTextEditor.java:1453) at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.createPartControl(PHPStructuredEditor.java:2246) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2682) at org.eclipse.dltk.internal.ui.editor.EditorUtility.openInEditor(EditorUtility.java:405) at org.eclipse.dltk.internal.ui.editor.EditorUtility.openInEditor(EditorUtility.java:166) at org.eclipse.php.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:54) at org.eclipse.php.internal.ui.actions.OpenAction.run(OpenAction.java:177) at org.eclipse.php.internal.ui.actions.OpenAction.run(OpenAction.java:151) at org.eclipse.php.internal.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:190) at org.eclipse.php.internal.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:168) at org.eclipse.php.internal.ui.actions.PHPExplorerActionGroup.handleOpen(PHPExplorerActionGroup.java:144) at org.eclipse.dltk.internal.ui.scriptview.ScriptExplorerPart$4.open(ScriptExplorerPart.java:667) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:845) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:843) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1131) at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1235) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264) at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 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:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

    Users with the same issue

    Unknown visitor1 times, last one,