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

Uncaught TypeError: Cannot read property 'firstChild' of undefined

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • core
    • windows, java 8

      Hi,

      I am developing a Jenkins plugin and I am stuck with the below issue.

      Uncaught TypeError: Cannot read property 'firstChild' of undefined
      at updateListBox (select.js:8)
      at select.js:79
      at h (hudson-behavior.js:1295)
      at refillOnChange (hudson-behavior.js:1310)
      at select.js:77
      at Array.forEach (<anonymous>)
      at behavior.js:111
      at Array.forEach (<anonymous>)
      at behavior.js:107
      at Array.forEach (<anonymous>)

      This works fine in jenkins version : 2.7.3 But, I get the above error when I load the plugin in any higher version of jenkins.

      The plugin is generated using maven version : 3.* and jdk version : 1.8

      Please help us to resolve this issue.

      Thank You

       

        1. error-message.png
          error-message.png
          135 kB
        2. stack-trace.png
          stack-trace.png
          128 kB
        3. Error.PNG
          Error.PNG
          11 kB

          [JENKINS-53182] Uncaught TypeError: Cannot read property 'firstChild' of undefined

          Sai Prasad Tirunagari Narayan created issue -
          Sai Prasad Tirunagari Narayan made changes -
          Environment Original: Development Environment New: windows, java 8
          Sai Prasad Tirunagari Narayan made changes -
          Component/s New: hudson-pview [ 16079 ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Preetham Kamidi made changes -
          Attachment New: error-message.png [ 45482 ]
          Attachment New: stack-trace.png [ 45483 ]
          Zbynek Konecny made changes -
          Link New: This issue relates to JENKINS-52073 [ JENKINS-52073 ]
          Mark Waite made changes -
          Component/s Original: hudson-pview-plugin [ 16079 ]
          Mark Waite made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: In Review [ 10005 ] New: Closed [ 6 ]

            Unassigned Unassigned
            saiprasadt Sai Prasad Tirunagari Narayan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: