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

Pipeline results screen unable to close or change stages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • blueocean-plugin
    • None
    • 1.0-m11

    Description

      If you click on the results for a pipeline execution the following error results in the console:

      blueocean.js:25708 Uncaught Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).
      

      You will not be able to change stages (step listing doesn't change), or close the results screen. This is true of freestyle or pipeline job types.

      This can be seen for example on dogfood: https://ci.blueocean.io/blue/organizations/jenkins/Pipeline%20visualization%20demo/detail/Pipeline%20visualization%20demo/6/pipeline

      If you try to exit the result screen:

      blueocean.js:17932 Uncaught TypeError: Cannot read property 'componentWillLeave' of undefined
      

      and

      blueocean.js:25708 Uncaught Invariant Violation: removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).
      

      results.

      This seems to be a recently introduced bug.

      Attachments

        Activity

          People

            sophistifunk Josh McDonald
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: