java.lang.IllegalStateException: Import reference alongside class MailInfo will trigger later failure: org.crsh.command.ScriptException declSourceStart=2 declEnd=-1

SpringSource Issue Tracker | John Sullivan | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Simple Groovy POGO reference breaking the build. CANNOT fix the build: removed offending classes, local maven repo, target directory, rebuilt clean. Added completely new Groovy classes with same names/definitions, same broken build. Eventually all groovy POGOs are referenced as offending after subsequent builds. Definitely has something to do with creating a class, deleting it, and recreating it in STS with the same name without building in between (I was creating a new project so had Build Automatically off): !ENTRY org.eclipse.core.resources 4 75 2014-04-16 23:48:18.358 !MESSAGE Errors occurred during the build. !SUBENTRY 1 org.eclipse.jdt.core 4 75 2014-04-16 23:48:18.358 !MESSAGE Errors running builder 'Java Builder' on project 'gwujeel'. !STACK 0 java.lang.IllegalStateException: Import reference alongside class MailInfo will trigger later failure: org.crsh.command.ScriptException declSourceStart=2 declEnd=-1 at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.createImports(GroovyCompilationUnitDeclaration.java:384) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.populateCompilationUnitDeclaration(GroovyCompilationUnitDeclaration.java:277) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:458) at org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44) at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:776) at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:396) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:482) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:390) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:183) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:327) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:62) at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:255) at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:179) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:733) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

    SpringSource Issue Tracker | 3 years ago | John Sullivan
    java.lang.IllegalStateException: Import reference alongside class MailInfo will trigger later failure: org.crsh.command.ScriptException declSourceStart=2 declEnd=-1
  2. 0

    Simple Groovy POGO reference breaking the build. CANNOT fix the build: removed offending classes, local maven repo, target directory, rebuilt clean. Added completely new Groovy classes with same names/definitions, same broken build. Eventually all groovy POGOs are referenced as offending after subsequent builds. Definitely has something to do with creating a class, deleting it, and recreating it in STS with the same name without building in between (I was creating a new project so had Build Automatically off): !ENTRY org.eclipse.core.resources 4 75 2014-04-16 23:48:18.358 !MESSAGE Errors occurred during the build. !SUBENTRY 1 org.eclipse.jdt.core 4 75 2014-04-16 23:48:18.358 !MESSAGE Errors running builder 'Java Builder' on project 'gwujeel'. !STACK 0 java.lang.IllegalStateException: Import reference alongside class MailInfo will trigger later failure: org.crsh.command.ScriptException declSourceStart=2 declEnd=-1 at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.createImports(GroovyCompilationUnitDeclaration.java:384) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.populateCompilationUnitDeclaration(GroovyCompilationUnitDeclaration.java:277) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:458) at org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44) at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:776) at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:396) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:482) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:390) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:183) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:327) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:62) at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:255) at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:179) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:733) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

    SpringSource Issue Tracker | 3 years ago | John Sullivan
    java.lang.IllegalStateException: Import reference alongside class MailInfo will trigger later failure: org.crsh.command.ScriptException declSourceStart=2 declEnd=-1
  3. 0

    IWAV0073I *** RemoteVM Exception - Trace from Remote VM:

    Eclipse Bugzilla | 1 decade ago | iyers
    java.lang.IllegalStateException: End Subexpressions received out of order. at org.eclipse.jem.internal.proxy.remote.REMThrowableBeanTypeProxy.createThrowableBeanProxy(REMThrowableBeanTypeProxy.java:34) at org.eclipse.jem.internal.proxy.remote.REMThrowableBeanTypeProxy.newBeanProxy(REMThrowableBeanTypeProxy.java:65) at org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFactory.getBeanProxy(REMStandardBeanProxyFactory.java:459) at org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFactory.processErrorReturn(REMStandardBeanProxyFactory.java:510) at org.eclipse.jem.internal.proxy.remote.REMExpression.pushInvoke(REMExpression.java:989) at org.eclipse.jem.internal.proxy.core.Expression.invokeExpression(Expression.java:685) at org.eclipse.ve.internal.java.core.CompositionProxyAdapter.initBeanProxy(CompositionProxyAdapter.java:311) at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditorPart$Setup.run(JavaVisualEditorPart.java:1968)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Import reference alongside class MailInfo will trigger later failure: org.crsh.command.ScriptException declSourceStart=2 declEnd=-1

      at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.createImports()
    2. Groovy-Eclipse Batch Compiler
      MultiplexingParser.dietParse
      1. org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.createImports(GroovyCompilationUnitDeclaration.java:384)
      2. org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.populateCompilationUnitDeclaration(GroovyCompilationUnitDeclaration.java:277)
      3. org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:458)
      4. org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44)
      4 frames
    3. JDT Core
      JavaBuilder.build
      1. org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:776)
      2. org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:396)
      3. org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:482)
      4. org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:390)
      5. org.eclipse.jdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:183)
      6. org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:327)
      7. org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:62)
      8. org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:255)
      9. org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:179)
      9 frames
    4. Core Resource Management
      BuildManager$2.run
      1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:733)
      1 frame
    5. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    6. Core Resource Management
      BuildManager$1.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
      2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
      3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
      3 frames
    7. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    8. Core Resource Management
      AutoBuildJob.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
      2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
      3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
      4. org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
      5. org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
      5 frames
    9. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      1 frame