java.lang.NullPointerException

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.

  • Each time I rebuild any Grails project in STS, I get a popup saying: 'Building workspace' has encountered a problem. Errors occurred during the guild. Details: Errors occurred during the build. Errors running builder 'Java Builder' on project 'Jespa'. java.lang.NullPointerException From the Eclipse Error Log I get this as the cause: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". java.lang.NullPointerException at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.createTypeReferenceForClassNode(GroovyCompilationUnitDeclaration.java:1351) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.configureSuperInterfaces(GroovyCompilationUnitDeclaration.java:1150) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.createTypeDeclarations(GroovyCompilationUnitDeclaration.java:673) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.populateCompilationUnitDeclaration(GroovyCompilationUnitDeclaration.java:253) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:434) at org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44) at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:769) at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:389) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:475) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:408) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:182) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:345) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:61) at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:257) at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:176) 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:203) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    via by Eric Werk,
  • Each time I rebuild any Grails project in STS, I get a popup saying: 'Building workspace' has encountered a problem. Errors occurred during the guild. Details: Errors occurred during the build. Errors running builder 'Java Builder' on project 'Jespa'. java.lang.NullPointerException From the Eclipse Error Log I get this as the cause: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". java.lang.NullPointerException at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.createTypeReferenceForClassNode(GroovyCompilationUnitDeclaration.java:1351) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.configureSuperInterfaces(GroovyCompilationUnitDeclaration.java:1150) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.createTypeDeclarations(GroovyCompilationUnitDeclaration.java:673) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.populateCompilationUnitDeclaration(GroovyCompilationUnitDeclaration.java:253) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:434) at org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44) at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:769) at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:389) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:475) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:408) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:182) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:345) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:61) at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:257) at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:176) 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:203) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    via by Eric Werk,
    • java.lang.NullPointerException at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.createTypeReferenceForClassNode(GroovyCompilationUnitDeclaration.java:1351) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.configureSuperInterfaces(GroovyCompilationUnitDeclaration.java:1150) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.createTypeDeclarations(GroovyCompilationUnitDeclaration.java:673) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.populateCompilationUnitDeclaration(GroovyCompilationUnitDeclaration.java:253) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:434) at org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44) at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:769) at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:389) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:475) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:408) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:182) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:345) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:61) at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:257) at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:176) 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:203) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    No Bugmate found.