Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
BlueOcean 1.0.0-b12
-
-
arctic
Description
To reproduce,
make -C .../jenkinsci/parallel-test-executor-plugin/demo run
Log in as admin and you should soon see pipeline ยป master #1 building. Install BlueOcean from the update center. Go to the B.O. display and once #1 has finished, click the start button to schedule build #2. You will soon see a lot of exceptions in the console:
... WARNING org.eclipse.jetty.util.log.JavaUtilLog warn Error while serving http://localhost:8080/blue/rest/organizations/jenkins/pipelines/pipeline/branches/master/runs/2/nodes/ java.lang.reflect.InvocationTargetException at ... Caused by: java.util.EmptyStackException at java.util.Stack.peek(Stack.java:102) at java.util.Stack.pop(Stack.java:84) at io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeGraphVisitor.parallelBranchStart(PipelineNodeGraphVisitor.java:158) at org.jenkinsci.plugins.workflow.graphanalysis.ForkScanner.visitSimpleChunks(ForkScanner.java:593) at org.jenkinsci.plugins.workflow.graphanalysis.ForkScanner.visitSimpleChunks(ForkScanner.java:551) at io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeGraphVisitor.<init>(PipelineNodeGraphVisitor.java:68) at io.jenkins.blueocean.rest.impl.pipeline.NodeGraphBuilder$NodeGraphBuilderFactory.getInstance(NodeGraphBuilder.java:37) at io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeContainerImpl.<init>(PipelineNodeContainerImpl.java:39) at io.jenkins.blueocean.rest.impl.pipeline.PipelineRunImpl.getNodes(PipelineRunImpl.java:81) ... 103 more
and incremental display of build results seems badly broken.
Attachments
Issue Links
- is duplicated by
-
JENKINS-39843 java.util.EmptyStackException in Blue Ocean UI
-
- Closed
-
jglick eep that doesn't look good. Ill punt this over to vivek for investigation. I suspect if you see a lot of these exceptions then incremental won't work at all.