java.lang.IllegalStateException

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.

  • Exception opening project properties->validation
    via by c.costa.silva,
  • 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:200) at org.eclipse.core.internal.preferences.EclipsePreferences.internalGet(EclipsePreferences.java:637) at org.eclipse.core.internal.preferences.EclipsePreferences.get(EclipsePreferences.java:484) at org.eclipse.wst.validation.internal.PreferencesWrapper$PreferencesWrapperPersistent.get(PreferencesWrapper.java:114) at org.eclipse.wst.validation.internal.DisabledResourceManager.load(DisabledResourceManager.java:86) at org.eclipse.wst.validation.internal.DisabledResourceManager.isDisabled(DisabledResourceManager.java:121) at org.eclipse.wst.validation.internal.DisabledResourceManager.isDisabled(DisabledResourceManager.java:116) at org.eclipse.wst.validation.internal.DisabledResourceManager.disableValidation(DisabledResourceManager.java:44) at org.eclipse.wst.validation.ValidationFramework.disableValidation(ValidationFramework.java:129) at org.eclipse.m2e.wtp.WTPProjectConfigurator.configure(WTPProjectConfigurator.java:68) at org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:120) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:477) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:1) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:165) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:141) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:470) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.configureNewMavenProjects(ProjectConfigurationManager.java:250) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:163) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:1) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:165) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:108) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:95) at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1344) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:133) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects0(ProjectConfigurationManager.java:789) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$5.call(ProjectConfigurationManager.java:719) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$5.call(ProjectConfigurationManager.java:1) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:165) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:141) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:95) at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1344) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects(ProjectConfigurationManager.java:717) at com.liferay.ide.maven.core.LiferayMavenProjectProvider.doCreateNewProject(LiferayMavenProjectProvider.java:156) at com.liferay.ide.project.core.NewLiferayProjectProvider.createNewProject(NewLiferayProjectProvider.java:45) at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:110) at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source) at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:362) at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:326) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,