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

run job button for parametrised job error -- createRunStartedToast: TypeError: Cannot read property 'self' of undefined

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • BlueOcean 1.0.0-b25
      Jenkins 2.47

      Google Chrome 56.0.2924.87
      MacOS 10.12.1

      about.md is the about.md from the support bundle plugin.
    • 1.0

      Original request
      When clicking the "play/run" button on a job in the blueocean to build a particular branch, i get the following Javascript error in my developer console, and server logs don't have anything at all related to this job:
       

      blueocean.js:306 Uncaught (in promise) TypeError: Cannot read property 'self' of undefined
       at Object.createRunStartedToast (blueocean.js:306)
       at blueocean.js:3734
      createRunStartedToast @ blueocean.js:306
      (anonymous) @ blueocean.js:3734

       
      Notes

      • HAR file has been generated by reporter and is available from UX-619 on the CloudBees JIRA.

       

      The only reference to "self" in ToasUtils is: https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-core-js/src/js/ToastUtils.js#L28 - not sure why runInfo would have no _links... 

          [JENKINS-42559] run job button for parametrised job error -- createRunStartedToast: TypeError: Cannot read property 'self' of undefined

          Chance Zibolski created issue -

          James Dumay added a comment -

          michaelneale another for the bug bash.

          James Dumay added a comment - michaelneale another for the bug bash.
          James Dumay made changes -
          Sprint New: 1.0 [ 221 ]

          James Dumay added a comment -

          chancez would you be able to generate a har file in a browser session that reproduces this problem, please?

          James Dumay added a comment - chancez would you be able to generate a har file in a browser session that reproduces this problem, please?

          jamesdumay sure, I just got one, but its 12Mb, so I can't upload it to Jira. What can I do?

          Chance Zibolski added a comment - jamesdumay sure, I just got one, but its 12Mb, so I can't upload it to Jira. What can I do?

          James Dumay added a comment -

          chancez you can email it to me at jdumay@cloudbees.com - thanks!

          James Dumay added a comment - chancez you can email it to me at jdumay@cloudbees.com - thanks!
          Chance Zibolski made changes -
          Attachment New: Screen Shot 2017-03-09 at 10.14.09 AM.png [ 36362 ]
          Chance Zibolski made changes -
          Attachment Original: Screen Shot 2017-03-09 at 10.14.09 AM.png [ 36362 ]
          Chance Zibolski made changes -
          Attachment New: Screen Shot 2017-03-09 at 10.22.47 AM.png [ 36363 ]

          Emailed & also added a screenshot of the console to this ticket.

          Chance Zibolski added a comment - Emailed & also added a screenshot of the console to this ticket.

            Unassigned Unassigned
            chancez Chance Zibolski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: