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

Uncaught TypeError: Cannot read property 'firstChild' of undefined

    XMLWordPrintable

Details

    Description

      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

       

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: