org.eclipse.core.runtime.CoreException: Problems encountered while setting project description.

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.

  • I haven't been able to reproduce this reliably, but it seems that things get stuck at some point and when trying to import a project, I get the following error in the logs: {code} !ENTRY org.springsource.ide.eclipse.gradle.core 4 0 2014-10-27 13:25:21.575 !MESSAGE Problems encountered while setting project description. !STACK 1 org.eclipse.core.runtime.CoreException: Problems encountered while setting project description. at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1349) at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1376) at org.springsource.ide.eclipse.gradle.core.util.NatureUtils.ensure(NatureUtils.java:44) at org.springsource.ide.eclipse.gradle.core.GradleProject.convertToGradleProject(GradleProject.java:632) at org.springsource.ide.eclipse.gradle.ui.actions.ConvertToGradleProjectActionDelegate$1.doit(ConvertToGradleProjectActionDelegate.java:54) at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable$1.run(GradleRunnable.java:53) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Contains: Nature does not exist: org.springsource.ide.eclipse.gradle.core.nature. !SUBENTRY 1 org.eclipse.core.resources 2 568 2014-10-27 13:25:21.576 !MESSAGE Problems encountered while setting project description. !SUBENTRY 2 org.eclipse.core.resources 2 35 2014-10-27 13:25:21.576 !MESSAGE Nature does not exist: org.springsource.ide.eclipse.gradle.core.nature. {code} When inspecting the generated .project file, the gradle nature is missing for some reason. I'm still trying to get exact steps to reproduce, but I figured if someone else was running into the same problems, this may help bring awareness to it.
    via by Jeremy D. Young,
  • I haven't been able to reproduce this reliably, but it seems that things get stuck at some point and when trying to import a project, I get the following error in the logs: {code} !ENTRY org.springsource.ide.eclipse.gradle.core 4 0 2014-10-27 13:25:21.575 !MESSAGE Problems encountered while setting project description. !STACK 1 org.eclipse.core.runtime.CoreException: Problems encountered while setting project description. at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1349) at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1376) at org.springsource.ide.eclipse.gradle.core.util.NatureUtils.ensure(NatureUtils.java:44) at org.springsource.ide.eclipse.gradle.core.GradleProject.convertToGradleProject(GradleProject.java:632) at org.springsource.ide.eclipse.gradle.ui.actions.ConvertToGradleProjectActionDelegate$1.doit(ConvertToGradleProjectActionDelegate.java:54) at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable$1.run(GradleRunnable.java:53) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Contains: Nature does not exist: org.springsource.ide.eclipse.gradle.core.nature. !SUBENTRY 1 org.eclipse.core.resources 2 568 2014-10-27 13:25:21.576 !MESSAGE Problems encountered while setting project description. !SUBENTRY 2 org.eclipse.core.resources 2 35 2014-10-27 13:25:21.576 !MESSAGE Nature does not exist: org.springsource.ide.eclipse.gradle.core.nature. {code} When inspecting the generated .project file, the gradle nature is missing for some reason. I'm still trying to get exact steps to reproduce, but I figured if someone else was running into the same problems, this may help bring awareness to it.
    via by Jeremy D. Young,
  • Kepler New Symfony project
    via GitHub by peshi
    ,
  • Error Sun May 25 11:05:43 CEST 2008 An internal error occurred during: "Updating indexes". {code} java.lang.NullPointerException at org.sonatype.nexus.index.IndexUtils.updateTimestamp(IndexUtils.java:57) at org.sonatype.nexus.index.context.DefaultIndexingContext.close(DefaultIndexingContext.java:366) at org.sonatype.nexus.index.DefaultNexusIndexer.removeIndexingContext(DefaultNexusIndexer.java:136) at org.maven.ide.eclipse.internal.index.NexusIndexManager.removeIndex(NexusIndexManager.java:141) at org.maven.ide.eclipse.internal.index.NexusIndexManager.reindex(NexusIndexManager.java:365) at org.maven.ide.eclipse.internal.index.IndexUpdaterJob$ReindexCommand.run(IndexUpdaterJob.java:89) at org.maven.ide.eclipse.internal.index.IndexUpdaterJob.run(IndexUpdaterJob.java:57) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {code} Steps to reproduce: 1) Download fresh Ganymede 2) Install minimal WTP and M2Eclipse from dev update site 3) Apply changes (no restart) 4) Configure Maven (JDK) 5) Click Reindex or access the index in any other way Also, after applying the changes, the Maven menu appears twice and adding/enabling the dependency management does not work: {code} org.eclipse.core.runtime.CoreException: Problems encountered while setting project description. at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1019) at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1045) at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.enableMavenNature(ProjectConfigurationManager.java:221) at org.maven.ide.eclipse.actions.EnableNatureAction.enableNature(EnableNatureAction.java:123) at org.maven.ide.eclipse.actions.EnableNatureAction.run(EnableNatureAction.java:91) at org.maven.ide.eclipse.actions.AbstractMavenMenuCreator$ActionProxy.run(AbstractMavenMenuCreator.java:79) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1011) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:769) at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1283) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3801) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3400) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2387) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2351) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2203) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) 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:379) 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:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) Contains: Nature does not exist: org.maven.ide.eclipse.maven2Nature. {code}
    via by Mike R. Haller,
  • The error seems to abort the import but the imported projects seems ok afterwards. {noformat} java.lang.reflect.InvocationTargetException at org.springframework.ide.eclipse.wizard.gettingstarted.importing.MavenStrategy$MavenCodeSetImport.run(MavenStrategy.java:74) at org.springframework.ide.eclipse.wizard.gettingstarted.guides.GSImportWizardModel.performFinish(GSImportWizardModel.java:401) at org.springframework.ide.eclipse.wizard.gettingstarted.guides.GSImportWizard$1.run(GSImportWizard.java:134) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Caused by: org.eclipse.core.runtime.CoreException: Problems encountered while setting project description. at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1351) at org.eclipse.m2e.core.project.configurator.AbstractProjectConfigurator.addNature(AbstractProjectConfigurator.java:177) at org.eclipse.m2e.core.project.configurator.AbstractProjectConfigurator.addNature(AbstractProjectConfigurator.java:161) at org.eclipse.m2e.jdt.internal.AbstractJavaProjectConfigurator.addJavaNature(AbstractJavaProjectConfigurator.java:154) at org.eclipse.m2e.jdt.internal.AbstractJavaProjectConfigurator.configure(AbstractJavaProjectConfigurator.java:107) at org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:109) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:472) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:1) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:465) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.configureNewMavenProjects(ProjectConfigurationManager.java:245) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:159) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:1) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89) at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1305) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:134) at org.springframework.ide.eclipse.maven.MavenCorePlugin.createEclipseProjectFromExistingMavenProject(MavenCorePlugin.java:244) at org.springframework.ide.eclipse.wizard.gettingstarted.importing.MavenStrategy$MavenCodeSetImport.run(MavenStrategy.java:68) ... 3 more Root exception: org.eclipse.core.runtime.CoreException: Problems encountered while setting project description. at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1351) at org.eclipse.m2e.core.project.configurator.AbstractProjectConfigurator.addNature(AbstractProjectConfigurator.java:177) at org.eclipse.m2e.core.project.configurator.AbstractProjectConfigurator.addNature(AbstractProjectConfigurator.java:161) at org.eclipse.m2e.jdt.internal.AbstractJavaProjectConfigurator.addJavaNature(AbstractJavaProjectConfigurator.java:154) at org.eclipse.m2e.jdt.internal.AbstractJavaProjectConfigurator.configure(AbstractJavaProjectConfigurator.java:107) at org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:109) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:472) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:1) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:465) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.configureNewMavenProjects(ProjectConfigurationManager.java:245) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:159) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:1) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89) at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1305) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:134) at org.springframework.ide.eclipse.maven.MavenCorePlugin.createEclipseProjectFromExistingMavenProject(MavenCorePlugin.java:244) at org.springframework.ide.eclipse.wizard.gettingstarted.importing.MavenStrategy$MavenCodeSetImport.run(MavenStrategy.java:68) at org.springframework.ide.eclipse.wizard.gettingstarted.guides.GSImportWizardModel.performFinish(GSImportWizardModel.java:401) at org.springframework.ide.eclipse.wizard.gettingstarted.guides.GSImportWizard$1.run(GSImportWizard.java:134) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Contains: Error deconfiguring nature: org.eclipse.ajdt.ui.ajnature. java.lang.ArrayIndexOutOfBoundsException: 1 at org.eclipse.ajdt.internal.ui.AspectJProjectNature.remove(AspectJProjectNature.java:222) at org.eclipse.ajdt.internal.ui.AspectJProjectNature.deconfigure(AspectJProjectNature.java:89) at org.eclipse.core.internal.resources.NatureManager$2.run(NatureManager.java:259) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.resources.NatureManager.deconfigureNature(NatureManager.java:273) at org.eclipse.core.internal.resources.NatureManager.configureNatures(NatureManager.java:199) at org.eclipse.core.internal.resources.Project.basicSetDescription(Project.java:102) at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1349) at org.eclipse.m2e.core.project.configurator.AbstractProjectConfigurator.addNature(AbstractProjectConfigurator.java:177) at org.eclipse.m2e.core.project.configurator.AbstractProjectConfigurator.addNature(AbstractProjectConfigurator.java:161) at org.eclipse.m2e.jdt.internal.AbstractJavaProjectConfigurator.addJavaNature(AbstractJavaProjectConfigurator.java:154) at org.eclipse.m2e.jdt.internal.AbstractJavaProjectConfigurator.configure(AbstractJavaProjectConfigurator.java:107) at org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:109) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:472) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:1) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:465) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.configureNewMavenProjects(ProjectConfigurationManager.java:245) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:159) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:1) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89) at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1305) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:134) at org.springframework.ide.eclipse.maven.MavenCorePlugin.createEclipseProjectFromExistingMavenProject(MavenCorePlugin.java:244) at org.springframework.ide.eclipse.wizard.gettingstarted.importing.MavenStrategy$MavenCodeSetImport.run(MavenStrategy.java:68) at org.springframework.ide.eclipse.wizard.gettingstarted.guides.GSImportWizardModel.performFinish(GSImportWizardModel.java:401) at org.springframework.ide.eclipse.wizard.gettingstarted.guides.GSImportWizard$1.run(GSImportWizard.java:134) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) {noformat}
    via by Kris De Volder (c),
    • org.eclipse.core.runtime.CoreException: Problems encountered while setting project description. at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1349) at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1376) at org.springsource.ide.eclipse.gradle.core.util.NatureUtils.ensure(NatureUtils.java:44) at org.springsource.ide.eclipse.gradle.core.GradleProject.convertToGradleProject(GradleProject.java:632) at org.springsource.ide.eclipse.gradle.ui.actions.ConvertToGradleProjectActionDelegate$1.doit(ConvertToGradleProjectActionDelegate.java:54) at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable$1.run(GradleRunnable.java:53) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    No Bugmate found.