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

Add stage to unnamed parallel wrapper stage: console shows Maximum call stack size exceeded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins:
      Core 2.11
      Blue Ocean 1.5.0-beta-2
      All plugins at experimental update center levels
      Running on Ubuntu

      Client:
      Fedora Workstation 27
      Google Chrome 65.0.3325.162

      Summary:
      When editing a Pipeline with the Blue Ocean Pipeline Editor, clicking the rightmost ( + ) node to add a new stage, and then clicking the ( + ) node below it, produces a

      Discovered while working on ATH tests.

      Steps to recreate:
      1. Edit an existing Pipeline.

      2. Open your browser's console and switch to the Network tab.

      3. Click the rightmost ( + ) button to add a new stage:

      4. Click on the ( + ) node directly below, without having done anything else:

      5. Notice the error being displayed in the console:

      blueocean.js:58235 Unhandled Error: "RangeError: Maximum call stack size exceeded\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68174:36)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)\n    at EditorMain.createStage (http://172.18.40.95:8080/adjuncts/f5dd3f98/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:68177:26)"
      logApplicationError @ blueocean.js:58235
      16:07:27.823 
      

            Unassigned Unassigned
            kshultz Karl Shultz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: