Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38045

Stack overflow in SymbolLookup.getValue() with non-existent function on core 2.7.1

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Duplicate
    • structs-plugin
    • None
    • Core 2.7.1, structs 1.5, workflow-cps 2.15-SNAPSHOT

    Description

      When running DSLTest.nonexistentFunctions() against core 2.7.1, I get a stack overflow:

      java.lang.StackOverflowError
       at jenkins.model.Jenkins.getExtensionList(Jenkins.java:2357)
       at jenkins.model.Jenkins.getDescriptor(Jenkins.java:1288)
       at org.jenkinsci.plugins.structs.SymbolLookup.getSymbolValue(SymbolLookup.java:189)
       at org.jenkinsci.plugins.structs.SymbolLookup.getSymbolValue(SymbolLookup.java:171)
       at org.jenkinsci.plugins.structs.SymbolLookup.getSymbolValue(SymbolLookup.java:190)
       at org.jenkinsci.plugins.structs.SymbolLookup.getSymbolValue(SymbolLookup.java:171)
       at org.jenkinsci.plugins.structs.SymbolLookup.getSymbolValue(SymbolLookup.java:190)
      (etc)
      

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick added a comment -

            Duplicate of a bug I already fixed, just need to update structs I think.

            jglick Jesse Glick added a comment - Duplicate of a bug I already fixed, just need to update structs I think.
            abayer Andrew Bayer added a comment - Added to PR 53 ( https://github.com/jenkinsci/workflow-cps-plugin/pull/53 ).

            People

              kohsuke Kohsuke Kawaguchi
              abayer Andrew Bayer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: