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

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: structs-plugin
    • Labels:
      None
    • Environment:
      Core 2.7.1, structs 1.5, workflow-cps 2.15-SNAPSHOT
    • Similar Issues:

      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

            Hide
            jglick Jesse Glick added a comment -

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

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: