groovy.lang.GroovyRuntimeException: null. C:\Users\pixeon\git\pacs_config\src\test\groovy\com\pixeon\medical\pacs\tool\config\Test.groovy

SpringSource Issue Tracker | Rafael Chaves | 2 years ago
  1. 0

    I accidentally had Javascript's '===' operator as equality operator in Groovy. The result, which was a bit hard to find the root cause for, was this unhelpful problem marker at line 0 of the file: Description: General error during class generation: null. {code} groovy.lang.GroovyRuntimeException: null. C:\Users\pixeon\git\pacs_config\src\test\groovy\com\pixeon\medical\pacs\tool\config\Test.groovy at org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.eval(BinaryExpressionHelper.java:254) at org.codehaus.groovy.classgen.AsmClassGenerator.visitBinaryExpression(AsmClassGenerator.java:586) at org.codehaus.groovy.ast.expr.BinaryExpression.visit(BinaryExpression.java:49) at org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.evaluateEqual(BinaryExpressionHelper.java:313) at org.codehaus.groovy.classgen.AsmClassGenerator.visitDeclarationExpression(AsmClassGenerator.java:581) at org.codehaus.groovy.ast.expr.DeclarationExpression.visit(DeclarationExpression.java:86) at org.codehaus.groovy.classgen.asm.StatementWriter.writeExpressionStatement(StatementWriter.java:607) at org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeExpressionStatement(OptimizingStatementWriter.java:354) at org.codehaus.groovy.classgen.AsmClassGenerator.visitExpressionStatement(AsmClassGenerator.java:568) at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40) at org.codehaus.groovy.classgen.asm.StatementWriter.writeBlockStatement(StatementWriter.java:82) at org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeBlockStatement(OptimizingStatementWriter.java:160) at org.codehaus.groovy.classgen.AsmClassGenerator.visitBlockStatement(AsmClassGenerator.java:514) at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:103) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:114) at org.codehaus.groovy.classgen.AsmClassGenerator.visitStdMethod(AsmClassGenerator.java:378) at org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructorOrMethod(AsmClassGenerator.java:335) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:125) at org.codehaus.groovy.classgen.AsmClassGenerator.visitMethod(AsmClassGenerator.java:455) at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1201) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:52) at org.codehaus.groovy.classgen.AsmClassGenerator.visitClass(AsmClassGenerator.java:191) at org.codehaus.groovy.control.CompilationUnit$6.call(CompilationUnit.java:879) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1214) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:645) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:623) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:600) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:187) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.generateCode(GroovyCompilationUnitDeclaration.java:1670) at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:838) at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137) at java.lang.Thread.run(Thread.java:745) Caused by: org.codehaus.groovy.syntax.SyntaxException: Operator ("===" at 5:13: "===" ) not supported @ line 5, column 13. at org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.eval(BinaryExpressionHelper.java:253) ... 32 more {code}

    SpringSource Issue Tracker | 2 years ago | Rafael Chaves
    groovy.lang.GroovyRuntimeException: null. C:\Users\pixeon\git\pacs_config\src\test\groovy\com\pixeon\medical\pacs\tool\config\Test.groovy
  2. 0

    I accidentally had Javascript's '===' operator as equality operator in Groovy. The result, which was a bit hard to find the root cause for, was this unhelpful problem marker at line 0 of the file: Description: General error during class generation: null. {code} groovy.lang.GroovyRuntimeException: null. C:\Users\pixeon\git\pacs_config\src\test\groovy\com\pixeon\medical\pacs\tool\config\Test.groovy at org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.eval(BinaryExpressionHelper.java:254) at org.codehaus.groovy.classgen.AsmClassGenerator.visitBinaryExpression(AsmClassGenerator.java:586) at org.codehaus.groovy.ast.expr.BinaryExpression.visit(BinaryExpression.java:49) at org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.evaluateEqual(BinaryExpressionHelper.java:313) at org.codehaus.groovy.classgen.AsmClassGenerator.visitDeclarationExpression(AsmClassGenerator.java:581) at org.codehaus.groovy.ast.expr.DeclarationExpression.visit(DeclarationExpression.java:86) at org.codehaus.groovy.classgen.asm.StatementWriter.writeExpressionStatement(StatementWriter.java:607) at org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeExpressionStatement(OptimizingStatementWriter.java:354) at org.codehaus.groovy.classgen.AsmClassGenerator.visitExpressionStatement(AsmClassGenerator.java:568) at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40) at org.codehaus.groovy.classgen.asm.StatementWriter.writeBlockStatement(StatementWriter.java:82) at org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeBlockStatement(OptimizingStatementWriter.java:160) at org.codehaus.groovy.classgen.AsmClassGenerator.visitBlockStatement(AsmClassGenerator.java:514) at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:103) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:114) at org.codehaus.groovy.classgen.AsmClassGenerator.visitStdMethod(AsmClassGenerator.java:378) at org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructorOrMethod(AsmClassGenerator.java:335) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:125) at org.codehaus.groovy.classgen.AsmClassGenerator.visitMethod(AsmClassGenerator.java:455) at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1201) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:52) at org.codehaus.groovy.classgen.AsmClassGenerator.visitClass(AsmClassGenerator.java:191) at org.codehaus.groovy.control.CompilationUnit$6.call(CompilationUnit.java:879) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1214) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:645) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:623) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:600) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:187) at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.generateCode(GroovyCompilationUnitDeclaration.java:1670) at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:838) at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137) at java.lang.Thread.run(Thread.java:745) Caused by: org.codehaus.groovy.syntax.SyntaxException: Operator ("===" at 5:13: "===" ) not supported @ line 5, column 13. at org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.eval(BinaryExpressionHelper.java:253) ... 32 more {code}

    SpringSource Issue Tracker | 2 years ago | Rafael Chaves
    groovy.lang.GroovyRuntimeException: null. C:\Users\pixeon\git\pacs_config\src\test\groovy\com\pixeon\medical\pacs\tool\config\Test.groovy
  3. 0

    [groovy-user] Help on Internal compiler error

    Google Groups | 2 years ago | sirinath
    groovy.lang.GroovyRuntimeException: Unable to load logging class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to run Groovy JUnit Tests

    YouTrack | 4 years ago
    groovy.lang.GroovyRuntimeException: null. D:\TeamCity\buildAgent\work\1d48db240b4ae41c\trunk\some\package\Demo.groovy
  6. 0

    [groovy-user] Groovy and cltool4j: Unable to instantiate target class

    Google Groups | 4 years ago | Scholz. Ulrich
    org.codehaus.groovy.syntax.SyntaxException: unable to resolve class BaseCommandlineTool @ line 5, column 1.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.codehaus.groovy.syntax.SyntaxException

      Operator ("===" at 5:13: "===" ) not supported @ line 5, column 13.

      at org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.eval()
    2. Groovy
      CompilationUnit.compile
      1. org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.eval(BinaryExpressionHelper.java:253)
      2. org.codehaus.groovy.classgen.AsmClassGenerator.visitBinaryExpression(AsmClassGenerator.java:586)
      3. org.codehaus.groovy.ast.expr.BinaryExpression.visit(BinaryExpression.java:49)
      4. org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.evaluateEqual(BinaryExpressionHelper.java:313)
      5. org.codehaus.groovy.classgen.AsmClassGenerator.visitDeclarationExpression(AsmClassGenerator.java:581)
      6. org.codehaus.groovy.ast.expr.DeclarationExpression.visit(DeclarationExpression.java:86)
      7. org.codehaus.groovy.classgen.asm.StatementWriter.writeExpressionStatement(StatementWriter.java:607)
      8. org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeExpressionStatement(OptimizingStatementWriter.java:354)
      9. org.codehaus.groovy.classgen.AsmClassGenerator.visitExpressionStatement(AsmClassGenerator.java:568)
      10. org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)
      11. org.codehaus.groovy.classgen.asm.StatementWriter.writeBlockStatement(StatementWriter.java:82)
      12. org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeBlockStatement(OptimizingStatementWriter.java:160)
      13. org.codehaus.groovy.classgen.AsmClassGenerator.visitBlockStatement(AsmClassGenerator.java:514)
      14. org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69)
      15. org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:103)
      16. org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:114)
      17. org.codehaus.groovy.classgen.AsmClassGenerator.visitStdMethod(AsmClassGenerator.java:378)
      18. org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructorOrMethod(AsmClassGenerator.java:335)
      19. org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:125)
      20. org.codehaus.groovy.classgen.AsmClassGenerator.visitMethod(AsmClassGenerator.java:455)
      21. org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1201)
      22. org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:52)
      23. org.codehaus.groovy.classgen.AsmClassGenerator.visitClass(AsmClassGenerator.java:191)
      24. org.codehaus.groovy.control.CompilationUnit$6.call(CompilationUnit.java:879)
      25. org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1214)
      26. org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:645)
      27. org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:623)
      28. org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:600)
      28 frames
    3. Groovy-Eclipse Batch Compiler
      GroovyCompilationUnitDeclaration.generateCode
      1. org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:187)
      2. org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.generateCode(GroovyCompilationUnitDeclaration.java:1670)
      2 frames
    4. JDT Core
      ProcessTaskManager.run
      1. org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:838)
      2. org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
      2 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame