Blue ocean branches page crashes when branch does not have a last run date

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When opening the branches view of blue ocean, the page will not render throwing a javascript error if a branch does not have a last run date set:

      jenkins-js-extension.js:31756 Uncaught TypeError: Cannot read property 'id' of null
          at Branches.render (jenkins-js-extension.js:31756)
          at Object.allowStateChanges (jenkins-js-extension.js:11157)
          at Reaction.<anonymous> (jenkins-js-extension.js:9174)
          at trackDerivedFunction (jenkins-js-extension.js:11424)
          at Reaction.track (jenkins-js-extension.js:11753)
          at reactiveRender (jenkins-js-extension.js:9170)
          at Branches.initialRender (jenkins-js-extension.js:9164)
          at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (blueocean.js:81115)
          at ReactCompositeComponentWrapper._renderValidatedComponent (blueocean.js:81138)
          at ReactCompositeComponentWrapper.performInitialMount (blueocean.js:80680)
      

      See attached screen capture of debugger console:

            Assignee:
            Ivan Meredith
            Reporter:
            Jesse Redl
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: