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

EmptyStackException from CpsFlowExecution.onProgramEnd

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: workflow-cps-plugin
    • Labels:
      None
    • Environment:
      CloudBees Core 2.222.2.1-rolling (I think)
    • Similar Issues:

      Description

      No idea how to reproduce; saw this after startup about a possibly stuck/broken build:

      ... WARNING org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService reportProblem
      Unexpected exception in CPS VM thread: CpsFlowExecution[Owner[...]]
      java.util.EmptyStackException
      	at java.util.Stack.peek(Stack.java:102)
      	at java.util.Stack.pop(Stack.java:84)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.onProgramEnd(CpsFlowExecution.java:1236)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:423)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$400(CpsThreadGroup.java:96)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:312)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:276)
      	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67)
      

      Not entirely obvious what the most graceful response is here. Call createPlaceholderNodes?

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: