java.lang.StackOverflowError

Jenkins JIRA | Anthony Ferrari | 4 years ago
  1. 0

    We just upgraded our Jenkins version from "1.424.6" "1.447.1". After the upgrade, all system groovy scripts that contained the following line stopped working: AbstractBuild g_currentBuild = (AbstractBuild)Thread.currentThread().executable; When this line in the script is executed, the following stacktrace was generated: FATAL: null java.lang.StackOverflowError at org.codehaus.groovy.ast.ClassNode.redirect(ClassNode.java:178) at org.codehaus.groovy.ast.ClassNode.equals(ClassNode.java:677) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1149) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) [...repeats until stack overflow.] We upgraded our Groovy plugin to the latest version (1.12) with the same result. We rolled back to Jenkins 1.424.6 and we do not see the error there.

    Jenkins JIRA | 4 years ago | Anthony Ferrari
    java.lang.StackOverflowError
  2. 0

    We just upgraded our Jenkins version from "1.424.6" "1.447.1". After the upgrade, all system groovy scripts that contained the following line stopped working: AbstractBuild g_currentBuild = (AbstractBuild)Thread.currentThread().executable; When this line in the script is executed, the following stacktrace was generated: FATAL: null java.lang.StackOverflowError at org.codehaus.groovy.ast.ClassNode.redirect(ClassNode.java:178) at org.codehaus.groovy.ast.ClassNode.equals(ClassNode.java:677) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1149) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132) [...repeats until stack overflow.] We upgraded our Groovy plugin to the latest version (1.12) with the same result. We rolled back to Jenkins 1.424.6 and we do not see the error there.

    Jenkins JIRA | 4 years ago | Anthony Ferrari
    java.lang.StackOverflowError
  3. 0

    StackOverflowError on Groovy while passing a generic class argument to method

    Stack Overflow | 3 years ago | GokcenG
    java.lang.StackOverflowError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JIRA] [core] (JENKINS-34765) "All Changes" returning stack overflow

    Google Groups | 7 months ago | nn...@neulinger.org (JIRA)
    com.google.common.util.concurrent.ExecutionError: java.lang.StackOverflowError

    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. java.lang.StackOverflowError

      No message provided

      at org.codehaus.groovy.ast.ClassNode.redirect()
    2. Groovy
      ClassNode.toString
      1. org.codehaus.groovy.ast.ClassNode.redirect(ClassNode.java:178)
      2. org.codehaus.groovy.ast.ClassNode.equals(ClassNode.java:677)
      3. org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1149)
      4. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127)
      5. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132)
      6. org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152)
      7. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127)
      8. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132)
      9. org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152)
      10. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127)
      11. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132)
      12. org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152)
      13. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127)
      14. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132)
      15. org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152)
      16. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127)
      17. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132)
      18. org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152)
      19. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127)
      20. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132)
      21. org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152)
      22. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127)
      23. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132)
      24. org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1152)
      25. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1127)
      26. org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1132)
      26 frames