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

Can't insert or modify a global variable by web interface

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I can't insert or update a new global variable using the web interfaces.

       i'm using 2.284 jenkins version

       

      2.285 jenkins version has the same problem.

       

       

        Attachments

        1. ErroreJNKS.jpg
          25 kB
          Adriano
        2. image-2021-03-25-09-45-35-770.png
          157 kB
          Riffat Shahzad
        3. image-2021-03-25-10-04-40-725.png
          170 kB
          Riffat Shahzad

          Activity

          Hide
          adr_1919 Adriano added a comment -

          there are many errors in browser console:

           

          behavior.js:119 TypeError: Cannot read property 'querySelector' of null
          at github-scm-source.js:8
          at Array.forEach (<anonymous>)
          at behavior.js:116
          at Array.forEach (<anonymous>)
          at behavior.js:111
          at Array.forEach (<anonymous>)
          at Object.applySubtree (behavior.js:93)
          at Object.apply (behavior.js:76)
          at behavior.js:71
          at window.onload (behavior.js:133)
          (anonymous) @ behavior.js:119
          hudson-behavior.js:49 TypeError: e.getAttribute is not a function
          at findFormParent (hudson-behavior.js:2538)
          at locate (hudson-behavior.js:289)
          at findNearBy (hudson-behavior.js:294)
          at Object.nearBy (hudson-behavior.js:327)
          at hudson-behavior.js:529
          at hudson-behavior.js:47
          at prototype.js:853
          at Array.forEach (<anonymous>)
          at Array.each (prototype.js:852)
          at HTMLInputElement.e.targetUrl (hudson-behavior.js:528)
          (anonymous) @ hudson-behavior.js:49
          hudson-behavior.js:49 TypeError: e.getAttribute is not a function
          at findFormParent (hudson-behavior.js:2538)
          at locate (hudson-behavior.js:289)
          at findNearBy (hudson-behavior.js:294)
          at hudson-behavior.js:572
          at hudson-behavior.js:47
          at prototype.js:853
          at Array.forEach (<anonymous>)
          at Array.each (prototype.js:852)
          at registerValidator (hudson-behavior.js:571)
          at Array.forEach (<anonymous>)
          (anonymous) @ hudson-behavior.js:49
          hudson-behavior.js:49 TypeError: e.getAttribute is not a function
          at findFormParent (hudson-behavior.js:2538)
          at locate (hudson-behavior.js:289)
          at findNearBy (hudson-behavior.js:294)
          at Object.nearBy (hudson-behavior.js:327)
          at hudson-behavior.js:529
          at hudson-behavior.js:47
          at prototype.js:853
          at Array.forEach (<anonymous>)
          at Array.each (prototype.js:852)
          at HTMLInputElement.e.targetUrl (hudson-behavior.js:528)
          (anonymous) @ hudson-behavior.js:49
          hudson-behavior.js:49 TypeError: e.getAttribute is not a function
          at findFormParent (hudson-behavior.js:2538)
          at locate (hudson-behavior.js:289)
          at findNearBy (hudson-behavior.js:294)
          at hudson-behavior.js:572
          at hudson-behavior.js:47
          at prototype.js:853
          at Array.forEach (<anonymous>)
          at Array.each (prototype.js:852)
          at registerValidator (hudson-behavior.js:571)
          at Array.forEach (<anonymous>)
          (anonymous) @ hudson-behavior.js:49
          2hudson-behavior.js:574 Unable to find nearby apiUri
          (anonymous) @ hudson-behavior.js:574
          behavior.js:119 TypeError: Cannot read property 'hasClassName' of undefined
          at hudson-behavior.js:1195
          at Array.forEach (<anonymous>)
          at behavior.js:116
          at Array.forEach (<anonymous>)
          at behavior.js:111
          at Array.forEach (<anonymous>)
          at Object.applySubtree (behavior.js:93)
          at Object.apply (behavior.js:76)
          at behavior.js:71
          at window.onload (behavior.js:133)
          (anonymous) @ behavior.js:119
          hudson-behavior.js:49 TypeError: e.getAttribute is not a function
          at findFormParent (hudson-behavior.js:2538)
          at locate (hudson-behavior.js:289)
          at findNearBy (hudson-behavior.js:294)
          at hudson-behavior.js:1500
          at hudson-behavior.js:47
          at prototype.js:853
          at Array.forEach (<anonymous>)
          at Array.each (prototype.js:852)
          at refillOnChange (hudson-behavior.js:1499)
          at select.js:104

          Show
          adr_1919 Adriano added a comment - there are many errors in browser console:   behavior.js:119 TypeError: Cannot read property 'querySelector' of null at github-scm-source.js:8 at Array.forEach (<anonymous>) at behavior.js:116 at Array.forEach (<anonymous>) at behavior.js:111 at Array.forEach (<anonymous>) at Object.applySubtree (behavior.js:93) at Object.apply (behavior.js:76) at behavior.js:71 at window.onload (behavior.js:133) (anonymous) @ behavior.js:119 hudson-behavior.js:49 TypeError: e.getAttribute is not a function at findFormParent (hudson-behavior.js:2538) at locate (hudson-behavior.js:289) at findNearBy (hudson-behavior.js:294) at Object.nearBy (hudson-behavior.js:327) at hudson-behavior.js:529 at hudson-behavior.js:47 at prototype.js:853 at Array.forEach (<anonymous>) at Array.each (prototype.js:852) at HTMLInputElement.e.targetUrl (hudson-behavior.js:528) (anonymous) @ hudson-behavior.js:49 hudson-behavior.js:49 TypeError: e.getAttribute is not a function at findFormParent (hudson-behavior.js:2538) at locate (hudson-behavior.js:289) at findNearBy (hudson-behavior.js:294) at hudson-behavior.js:572 at hudson-behavior.js:47 at prototype.js:853 at Array.forEach (<anonymous>) at Array.each (prototype.js:852) at registerValidator (hudson-behavior.js:571) at Array.forEach (<anonymous>) (anonymous) @ hudson-behavior.js:49 hudson-behavior.js:49 TypeError: e.getAttribute is not a function at findFormParent (hudson-behavior.js:2538) at locate (hudson-behavior.js:289) at findNearBy (hudson-behavior.js:294) at Object.nearBy (hudson-behavior.js:327) at hudson-behavior.js:529 at hudson-behavior.js:47 at prototype.js:853 at Array.forEach (<anonymous>) at Array.each (prototype.js:852) at HTMLInputElement.e.targetUrl (hudson-behavior.js:528) (anonymous) @ hudson-behavior.js:49 hudson-behavior.js:49 TypeError: e.getAttribute is not a function at findFormParent (hudson-behavior.js:2538) at locate (hudson-behavior.js:289) at findNearBy (hudson-behavior.js:294) at hudson-behavior.js:572 at hudson-behavior.js:47 at prototype.js:853 at Array.forEach (<anonymous>) at Array.each (prototype.js:852) at registerValidator (hudson-behavior.js:571) at Array.forEach (<anonymous>) (anonymous) @ hudson-behavior.js:49 2hudson-behavior.js:574 Unable to find nearby apiUri (anonymous) @ hudson-behavior.js:574 behavior.js:119 TypeError: Cannot read property 'hasClassName' of undefined at hudson-behavior.js:1195 at Array.forEach (<anonymous>) at behavior.js:116 at Array.forEach (<anonymous>) at behavior.js:111 at Array.forEach (<anonymous>) at Object.applySubtree (behavior.js:93) at Object.apply (behavior.js:76) at behavior.js:71 at window.onload (behavior.js:133) (anonymous) @ behavior.js:119 hudson-behavior.js:49 TypeError: e.getAttribute is not a function at findFormParent (hudson-behavior.js:2538) at locate (hudson-behavior.js:289) at findNearBy (hudson-behavior.js:294) at hudson-behavior.js:1500 at hudson-behavior.js:47 at prototype.js:853 at Array.forEach (<anonymous>) at Array.each (prototype.js:852) at refillOnChange (hudson-behavior.js:1499) at select.js:104
          Hide
          riffat_shahzad Riffat Shahzad added a comment - - edited

          Adriano Update your plugins and restart jenkins. Mostly will go away.

          Show
          riffat_shahzad Riffat Shahzad added a comment - - edited Adriano Update your plugins and restart jenkins. Mostly will go away.
          Hide
          adr_1919 Adriano added a comment -

          Riffat Shahzad which plugin should i update? TY!

          Show
          adr_1919 Adriano added a comment - Riffat Shahzad which plugin should i update? TY!
          Hide
          riffat_shahzad Riffat Shahzad added a comment -

          Adriano Update from the list which is currently displayed in your jenkins plugin configuration. Mine is empty now as all are upadted.

           

          Show
          riffat_shahzad Riffat Shahzad added a comment - Adriano Update from the list which is currently displayed in your jenkins plugin configuration. Mine is empty now as all are upadted.  
          Hide
          adr_1919 Adriano added a comment -

          after updating all the plugins everything seems to work, but i lost all the environment variables!

          Show
          adr_1919 Adriano added a comment - after updating all the plugins everything seems to work, but i lost all the environment variables!

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            adr_1919 Adriano
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: