[JIRA] (JENKINS-61997) EmptyStackException from CpsFlowExecution.onProgramEnd

2 views
Skip to first unread message

jglick@cloudbees.com (JIRA)

unread,
Apr 21, 2020, 2:02:03 PM4/21/20
to jenkinsc...@googlegroups.com
Jesse Glick created an issue
 
Jenkins / Bug JENKINS-61997
EmptyStackException from CpsFlowExecution.onProgramEnd
Issue Type: Bug Bug
Assignee: Unassigned
Components: workflow-cps-plugin
Created: 2020-04-21 18:01
Priority: Minor Minor
Reporter: Jesse Glick

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?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

jglick@cloudbees.com (JIRA)

unread,
Apr 21, 2020, 2:03:03 PM4/21/20
to jenkinsc...@googlegroups.com
Jesse Glick updated an issue
Change By: Jesse Glick
Environment: CloudBees Core 2.222.2.1-rolling (I think)
Reply all
Reply to author
Forward
0 new messages