org.eclipse.core.runtime.CoreException: Preference node "com.springsource.sts.gradle.core" has been removed.

SpringSource Issue Tracker | Kris De Volder (c) | 5 years ago
  1. 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.
  2. 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.
  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

    [preferences] compiler compliance page causing illegal state exception

    Eclipse Bugzilla | 1 decade ago | Michael_Rennie
    java.lang.IllegalStateException: Preference node "org.eclipse.jdt.core" has been removed.
  6. 0

    IllegalStateException in properties dialog

    Eclipse Bugzilla | 10 years ago | Michael_Rennie
    java.lang.IllegalStateException: Preference node "org.eclipse.jdt.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 "com.springsource.sts.gradle.core" 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:158)
      2. org.eclipse.core.internal.preferences.EclipsePreferences.internalGet(EclipsePreferences.java:514)
      3. org.eclipse.core.internal.preferences.EclipsePreferences.get(EclipsePreferences.java:365)
      3 frames
    3. com.springsource.sts
      GradleRunnable$1.run
      1. com.springsource.sts.gradle.core.AbstractGradlePreferences.get(AbstractGradlePreferences.java:62)
      2. com.springsource.sts.gradle.core.GradleProjectPreferences.getRootProjectLocation(GradleProjectPreferences.java:71)
      3. com.springsource.sts.gradle.core.GradleProject.getRootProject(GradleProject.java:887)
      4. com.springsource.sts.gradle.core.GradleProject.convertToGradleProject(GradleProject.java:610)
      5. com.springsource.sts.gradle.core.wizards.GradleImportOperation.importProject(GradleImportOperation.java:205)
      6. com.springsource.sts.gradle.core.wizards.GradleImportOperation.perform(GradleImportOperation.java:113)
      7. com.springsource.sts.gradle.ui.wizards.GradleImportWizard$1.doit(GradleImportWizard.java:59)
      8. com.springsource.sts.gradle.core.util.GradleRunnable$1.run(GradleRunnable.java:42)
      8 frames
    4. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame