• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • timestamper-plugin
    • None
    • Timestamper: 1.11.8
      Jenkins: 2.249.2
      Firefox: 82.0.3 (64-bit)
      MacOS: 10.15.7

      Uncaught TypeError: modes[mode] is null
          init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
          onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
          bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
          onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
          bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
      script.js:62:5
          init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
          onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
          bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
          onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
          bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
      

      Looking at the code, it looks like an issue defaulting the cookies:
      https://github.com/jenkinsci/timestamper-plugin/blob/master/src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory3/script.js#L62

      Not sure if this is related, but the console options are not rendering on Firefox (see attached screenshot) - which started this investigation.

          [JENKINS-64266] Timestamper script erroring on Firefox

          Tim Brown created issue -
          Tim Brown made changes -
          Issue Type Original: Task [ 3 ] New: Bug [ 1 ]
          Jonathan Ballet made changes -
          Description Original: ```
          Uncaught TypeError: modes[mode] is null
              init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
              onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
              respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
              onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          script.js:62:5
              init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
              onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
              respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
              onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          ```

          Looking at the code, it looks like an issue defaulting the cookies:
          https://github.com/jenkinsci/timestamper-plugin/blob/master/src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory3/script.js#L62

          Not sure if this is related, but the console options are not rendering on Firefox (see attached screenshot) - which started this investigation.
          New: {code}
          Uncaught TypeError: modes[mode] is null
              init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
              onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
              respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
              onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          script.js:62:5
              init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
              onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
              respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
              onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          {code}

          Looking at the code, it looks like an issue defaulting the cookies:
          https://github.com/jenkinsci/timestamper-plugin/blob/master/src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory3/script.js#L62

          Not sure if this is related, but the console options are not rendering on Firefox (see attached screenshot) - which started this investigation.
          Jonathan Ballet made changes -
          Attachment New: Screenshot from 2021-01-07 15-02-36.png [ 53762 ]
          Attachment New: Screenshot from 2021-01-07 15-02-08.png [ 53763 ]

            Unassigned Unassigned
            canuck1987 Tim Brown
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: