Announcement Announcement Module
Collapse
No announcement yet.
Errors with STS 2.7.1 using Helios Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Errors with STS 2.7.1 using Helios

    Hi,

    I have been trying to find other posts with this same error but although some older posts are similar its not quite the same...

    When I install STS I start getting these errors in my proects (several null pointer exceptions), for example:

    Code:
    org.eclipse.core.internal.resources.ResourceException: Errors occurred during the build.
    	at org.eclipse.core.internal.resources.Project$1.run(Project.java:547)
    	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
    	at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524)
    	at org.eclipse.core.internal.resources.Project.build(Project.java:123)
    	at org.springframework.ide.eclipse.core.SpringCoreUtils$1.run(SpringCoreUtils.java:744)
    	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Contains: Errors running builder 'Spring Project Builder' on project 'myproject'.
    org.eclipse.core.internal.resources.ResourceException(/myproject)[566]: java.lang.NullPointerException
    	at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(BeansProject.java:452)
    	at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:435)
    	at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(BeansProject.java:413)
    	at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(BeansModel.java:231)
    	at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:43)
    	at org.springframework.ide.eclipse.aop.core.util.AopReferenceModelUtils.getAffectedFiles(AopReferenceModelUtils.java:165)
    	at org.springframework.ide.eclipse.aop.core.builder.AopReferenceModelProjectBuilder.getAffectedResources(AopReferenceModelProjectBuilder.java:50)
    	at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$ResourceTreeVisitor.visit(SpringProjectContributionManager.java:357)
    	at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:112)
    	at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:64)
    	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
    	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    	at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
    	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:74)
    	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:110)
    	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
    	at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.getAffectedResources(SpringProjectContributionManager.java:133)
    	at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:97)
    	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
    	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
    	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:282)
    	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:363)
    	at org.eclipse.core.internal.resources.Project$1.run(Project.java:545)
    	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
    	at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524)
    	at org.eclipse.core.internal.resources.Project.build(Project.java:123)
    	at org.springframework.ide.eclipse.core.SpringCoreUtils$1.run(SpringCoreUtils.java:744)
    	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Contains: An error occurred while traversing resources.
    java.lang.NullPointerException
    	at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(BeansProject.java:452)
    	at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:435)
    	at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(BeansProject.java:413)
    	at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(BeansModel.java:231)
    	at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:43)
    	at org.springframework.ide.eclipse.aop.core.util.AopReferenceModelUtils.getAffectedFiles(AopReferenceModelUtils.java:165)
    	at org.springframework.ide.eclipse.aop.core.builder.AopReferenceModelProjectBuilder.getAffectedResources(AopReferenceModelProjectBuilder.java:50)
    	at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$ResourceTreeVisitor.visit(SpringProjectContributionManager.java:357)
    	at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:112)
    	at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:64)
    	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
    	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    	at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
    	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:74)
    	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:110)
    	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
    	at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.getAffectedResources(SpringProjectContributionManager.java:133)
    	at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:97)
    	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
    	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
    	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:282)
    	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:363)
    	at org.eclipse.core.internal.resources.Project$1.run(Project.java:545)
    	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
    	at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524)
    	at org.eclipse.core.internal.resources.Project.build(Project.java:123)
    	at org.springframework.ide.eclipse.core.SpringCoreUtils$1.run(SpringCoreUtils.java:744)
    	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Any idea why this happens? is something related to the resource folders ?

  • #2
    Hey!

    This looks like a bug, I filed this issue:
    https://jira.springsource.org/browse/IDE-1213

    Do you have a sample project that reproduces this error? Would be great if you could attach that to the bug entry.

    Thanks!
    -Martin

    Comment

    Working...
    X