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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • structs-plugin
    • None
    • Core 2.7.1, structs 1.5, workflow-cps 2.15-SNAPSHOT

      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)
      

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

              Created:
              Updated:
              Resolved: