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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • blueocean-plugin
    • jenkins 2.32.1
      blue ocean 1.0.0-b14
    • tethys, pannonian

      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:

            imeredith Ivan Meredith
            jredl Jesse Redl
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: