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

Uncaught TypeError: Cannot read property 'firstChild' of undefined

XMLWordPrintable

    • 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.PNG
          Error.PNG
          11 kB
        2. error-message.png
          error-message.png
          135 kB
        3. stack-trace.png
          stack-trace.png
          128 kB

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

              Created:
              Updated:
              Resolved: