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

liferay.com | 4 months ago
  1. 0

    Liferay Plugin Project with Service Builder Portlet - Forums

    liferay.com | 4 months ago
    java.lang.IllegalStateException: Preference node "org.eclipse.wst.validation" has been removed.
  2. 0

    Exception opening project properties->validation

    Eclipse Bugzilla | 7 years ago | c.costa.silva
    java.lang.IllegalStateException: Preference node "org.eclipse.wst.validation" has been removed.
  3. 0

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

    Eclipse Bugzilla | 6 years ago | patric
    java.lang.IllegalStateException: Preference node "org.eclipse.wst.validation" has been removed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    Eclipse Bugzilla | 3 years ago | Joerg.Thoennes
    java.lang.IllegalStateException: Preference node "org.eclipse.wst.validation" has been removed.
  6. 0

    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.

    SpringSource Issue Tracker | 5 years ago | Kris De Volder (c)
    org.eclipse.core.runtime.CoreException: Preference node "com.springsource.sts.gradle.core" has been removed.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Preference node "org.eclipse.wst.validation" has been removed.

      at org.eclipse.core.internal.preferences.EclipsePreferences.checkRemoved()
    2. Eclipse Preferences Mechanism
      EclipsePreferences.get
      1. org.eclipse.core.internal.preferences.EclipsePreferences.checkRemoved(EclipsePreferences.java:200)
      2. org.eclipse.core.internal.preferences.EclipsePreferences.internalGet(EclipsePreferences.java:637)
      3. org.eclipse.core.internal.preferences.EclipsePreferences.get(EclipsePreferences.java:484)
      3 frames
    3. Validation Framework
      DisabledResourceManager.disableValidation
      1. org.eclipse.wst.validation.internal.PreferencesWrapper$PreferencesWrapperPersistent.get(PreferencesWrapper.java:114)
      2. org.eclipse.wst.validation.internal.DisabledResourceManager.load(DisabledResourceManager.java:86)
      3. org.eclipse.wst.validation.internal.DisabledResourceManager.isDisabled(DisabledResourceManager.java:121)
      4. org.eclipse.wst.validation.internal.DisabledResourceManager.isDisabled(DisabledResourceManager.java:116)
      5. org.eclipse.wst.validation.internal.DisabledResourceManager.disableValidation(DisabledResourceManager.java:44)
      5 frames
    4. org.eclipse.wst
      ValidationFramework.disableValidation
      1. org.eclipse.wst.validation.ValidationFramework.disableValidation(ValidationFramework.java:129)
      1 frame
    5. org.eclipse.m2e
      WTPProjectConfigurator.configure
      1. org.eclipse.m2e.wtp.WTPProjectConfigurator.configure(WTPProjectConfigurator.java:68)
      1 frame
    6. org.eclipse.m2e.core
      ProjectConfigurationManager.createArchetypeProjects
      1. org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:120)
      2. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:477)
      3. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:1)
      4. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:165)
      5. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:141)
      6. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:470)
      7. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.configureNewMavenProjects(ProjectConfigurationManager.java:250)
      8. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:163)
      9. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:1)
      10. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:165)
      11. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:108)
      12. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:95)
      13. org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1344)
      14. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:133)
      15. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects0(ProjectConfigurationManager.java:789)
      16. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$5.call(ProjectConfigurationManager.java:719)
      17. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$5.call(ProjectConfigurationManager.java:1)
      18. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:165)
      19. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:141)
      20. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:95)
      21. org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1344)
      22. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects(ProjectConfigurationManager.java:717)
      22 frames
    7. com.liferay.ide
      NewLiferayPluginProjectOp$Impl.execute
      1. com.liferay.ide.maven.core.LiferayMavenProjectProvider.doCreateNewProject(LiferayMavenProjectProvider.java:156)
      2. com.liferay.ide.project.core.NewLiferayProjectProvider.createNewProject(NewLiferayProjectProvider.java:45)
      3. com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:110)
      4. com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source)
      4 frames
    8. org.eclipse.sapphire
      SapphireWizard$3.run
      1. org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:362)
      2. org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:326)
      2 frames
    9. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      1 frame