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

"TypeError: Cannot read property 'toLowerCase' of undefined" for i18n title

    • Blue Ocean - Candidates

      Testing notes
      kshultz has prepared testing notes

      See also the linked duplicate ticket for another example of the stack trace. It seems related to time harmonizer - but more investigation needed.  

      Reproduction instructions: not clear. 

      This likely may be valid data and it just needs to be hardened a bit to undefined fields. 

      Original request
      For some reason one of the builds has the result "undefined" (probably because the server restarted while running? or probably because I deleted some jobs because I was running out of disk space?)... Anyways, that issue causes the activity screen on blue ocean to fail loading with the following error:

      blueocean.js:6247 Error fetching page TypeError: Cannot read property 'toLowerCase' of undefined

      The problem seems to be in this line: https://github.com/jenkinsci/blueocean-plugin/blob/9d3cdedef981803eeb3c7931124187c903876c6f/blueocean-core-js/src/js/components/LiveStatusIndicator.jsx#L11

      Attached screenshots of the error. I deleted all the jobs from Jenkins and the error was still happening. The only workaround I've found was to delete and re-create the pipeline.

          [JENKINS-48198] "TypeError: Cannot read property 'toLowerCase' of undefined" for i18n title

          Cesar Salazar created issue -
          Cesar Salazar made changes -
          Description Original: For some reason one of the builds has the result "undefined" (probably because the server restarted while running? or probably because I deleted some jobs because I was running out of disk space?)... Anyways, that issue causes the activity screen on blue ocean to fail loading with the following error:

          {{blueocean.js:6247 Error fetching page TypeError: Cannot read property 'toLowerCase' of undefined}}

          The problem seems to be in this line: [https://github.com/jenkinsci/blueocean-plugin/blob/9d3cdedef981803eeb3c7931124187c903876c6f/blueocean-core-js/src/js/components/LiveStatusIndicator.jsx#L11]

          Attached screenshots of the error. What options do I have have? Delete all the previous jobs?
          New: For some reason one of the builds has the result "undefined" (probably because the server restarted while running? or probably because I deleted some jobs because I was running out of disk space?)... Anyways, that issue causes the activity screen on blue ocean to fail loading with the following error:

          {{blueocean.js:6247 Error fetching page TypeError: Cannot read property 'toLowerCase' of undefined}}

          The problem seems to be in this line: [https://github.com/jenkinsci/blueocean-plugin/blob/9d3cdedef981803eeb3c7931124187c903876c6f/blueocean-core-js/src/js/components/LiveStatusIndicator.jsx#L11]

          Attached screenshots of the error. What options do I have have? I deleted all the jobs from Jenkins and the error is still happening...
          Cesar Salazar made changes -
          Description Original: For some reason one of the builds has the result "undefined" (probably because the server restarted while running? or probably because I deleted some jobs because I was running out of disk space?)... Anyways, that issue causes the activity screen on blue ocean to fail loading with the following error:

          {{blueocean.js:6247 Error fetching page TypeError: Cannot read property 'toLowerCase' of undefined}}

          The problem seems to be in this line: [https://github.com/jenkinsci/blueocean-plugin/blob/9d3cdedef981803eeb3c7931124187c903876c6f/blueocean-core-js/src/js/components/LiveStatusIndicator.jsx#L11]

          Attached screenshots of the error. What options do I have have? I deleted all the jobs from Jenkins and the error is still happening...
          New: For some reason one of the builds has the result "undefined" (probably because the server restarted while running? or probably because I deleted some jobs because I was running out of disk space?)... Anyways, that issue causes the activity screen on blue ocean to fail loading with the following error:

          {{blueocean.js:6247 Error fetching page TypeError: Cannot read property 'toLowerCase' of undefined}}

          The problem seems to be in this line: [https://github.com/jenkinsci/blueocean-plugin/blob/9d3cdedef981803eeb3c7931124187c903876c6f/blueocean-core-js/src/js/components/LiveStatusIndicator.jsx#L11]

          Attached screenshots of the error. I deleted all the jobs from Jenkins and the error was still happening. The only workaround I've found was to delete and re-create the pipeline.
          James Dumay made changes -
          Sprint New: Blue Ocean 1.4 - beta 3 [ 416 ]
          Michael Neale made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Michael Neale made changes -
          Link New: This issue relates to JENKINS-47492 [ JENKINS-47492 ]
          Michael Neale made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          James Dumay made changes -
          Link New: This issue is duplicated by JENKINS-47492 [ JENKINS-47492 ]
          James Dumay made changes -
          Description Original: For some reason one of the builds has the result "undefined" (probably because the server restarted while running? or probably because I deleted some jobs because I was running out of disk space?)... Anyways, that issue causes the activity screen on blue ocean to fail loading with the following error:

          {{blueocean.js:6247 Error fetching page TypeError: Cannot read property 'toLowerCase' of undefined}}

          The problem seems to be in this line: [https://github.com/jenkinsci/blueocean-plugin/blob/9d3cdedef981803eeb3c7931124187c903876c6f/blueocean-core-js/src/js/components/LiveStatusIndicator.jsx#L11]

          Attached screenshots of the error. I deleted all the jobs from Jenkins and the error was still happening. The only workaround I've found was to delete and re-create the pipeline.
          New: *Testing notes*
          [~kshultz] has prepared [testing notes|https://issues.jenkins-ci.org/browse/JENKINS-47492?focusedCommentId=320477&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-320477]

          *Original request*
          For some reason one of the builds has the result "undefined" (probably because the server restarted while running? or probably because I deleted some jobs because I was running out of disk space?)... Anyways, that issue causes the activity screen on blue ocean to fail loading with the following error:

          {{blueocean.js:6247 Error fetching page TypeError: Cannot read property 'toLowerCase' of undefined}}

          The problem seems to be in this line: [https://github.com/jenkinsci/blueocean-plugin/blob/9d3cdedef981803eeb3c7931124187c903876c6f/blueocean-core-js/src/js/components/LiveStatusIndicator.jsx#L11]

          Attached screenshots of the error. I deleted all the jobs from Jenkins and the error was still happening. The only workaround I've found was to delete and re-create the pipeline.
          Michael Neale made changes -
          Rank New: Ranked higher
          Michael Neale made changes -
          Summary Original: Blue Ocean not showing activity when one of the results is undefined New: Cann

            sophistifunk Josh McDonald
            c3s4r Cesar Salazar
            Votes:
            9 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated: