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

Configure UI completely broken after upgrade to 2.264

      Report all issues with a complete plugin list, and a screenshot

      JENKINS_HOST=username:password@myhost.com:port
      curl -sSL "http://$JENKINS_HOST/pluginManager/api/xml?depth=1&xpath=/*/*/shortName|/*/*/version&wrapper=plugins" | perl -pe 's/.*?<shortName>([\w-]+).*?<version>([^<]+)()(<\/\w+>)+/\1 \2\n/g'|sed 's/ /:/'
       

      Check if your plugin already has an issue reported https://issues.jenkins.io/secure/Dashboard.jspa?selectPageId=20741 artifactory is https://github.com/jfrog/jenkins-artifactory-plugin/issues/350

      If you know which plugin is causing the issue report a new issue, including steps to reproduce and screenshots and label it with 'tables-to-divs-regression'

      How to identify which plugin is causing the issue

      1. check plugins list against open issues on https://issues.jenkins.io/secure/Dashboard.jspa?selectPageId=20741
      2. then if no open issue matches:

      • disable plugins in groups of about 10 and record which ones you disabled
      • Restart Jenkins
      • If you can still reproduce keep disabling
      • Once you can't reproduce enable plugins one by one until you find which one it is
      • Then report an issue with the label 'tables-to-divs-regression'

      How to triage someone else's issue

      1. check plugins list against open issues on https://issues.jenkins.io/secure/Dashboard.jspa?selectPageId=20741
      2. then if no open issue matches:

      curl https://issues.jenkins.io/secure/attachment/53350/53350_jenkins-basith-16112020.txt | sort > abdul-bas-plugins.txt
      cat abdul-bas-plugins.txt | cut -d ':' -f 1 | sort > plugins.filtered.txt # remove versions as CLI complains when old versions are there
      wget https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.1.2/jenkins-plugin-manager-2.1.2.jar
      wget https://get.jenkins.io/war/2.266/jenkins.war
      export JENKINS_HOME=~/.jenkins-64072
      java -jar jenkins-plugin-manager-2.1.2.jar -f abdul-bas-plugins.txt -d ~/.jenkins-64072/plugins --war jenkins.war
      java -jar jenkins.war
      
      • Normally create a new freestyle job and then reproduce the issue, (requires enough information with steps to reproduce, sometimes it is a different page or requires specific config)
      • Once reproduced disable plugins in groups of about 10 and record which ones you disabled
      • Restart Jenkins
      • If you can still reproduce keep disabling
      • Once you can't reproduce enable plugins one by one until you find which one it is
      • Then report an issue with the label 'tables-to-divs-regression'

      original text

      After upgrade to 2.264.1 via yum package, the confgure UI of all my projects was borked, showing things that the project didn't support, preventing modification and updates to jobs.  Jobs were still running correctly however.  Looking at JavaScript console there were alot of errors in js files.  console log attached.  

       

      Fixed by downgrading to 2.263.1 via yum downgrade and temporarily locking the version.  While the UI appears better in 2.263.1, some boxes are still long and an error is still received in the console:

       

      hudson-behavior.js:2982 Uncaught SyntaxError: Unexpected token ')'
       at onSuccess (combobox.js:19)
       at klass.respondToReadyState (prototype.js:1657)
       at klass.onStateChange (prototype.js:1600)
       at XMLHttpRequest.<anonymous> (prototype.js:414)
      

       

        1. jenkins_plugins_list
          15 kB
        2. Screenshot 2022-01-02 at 18.48.38.png
          Screenshot 2022-01-02 at 18.48.38.png
          221 kB
        3. finland-image1.PNG
          finland-image1.PNG
          29 kB
        4. jenkins_plugins_installed.docx
          21 kB
        5. jenkins-plugins-installed
          9 kB
        6. ConfigureUIBroken_PublishOverFTP.png
          ConfigureUIBroken_PublishOverFTP.png
          305 kB
        7. image-2021-01-30-03-21-51-931.png
          image-2021-01-30-03-21-51-931.png
          174 kB
        8. image-2021-01-30-03-21-29-377.png
          image-2021-01-30-03-21-29-377.png
          92 kB
        9. image-2021-01-30-03-15-12-305.png
          image-2021-01-30-03-15-12-305.png
          47 kB
        10. image-2021-01-30-03-13-41-175.png
          image-2021-01-30-03-13-41-175.png
          92 kB
        11. plugins-2.txt
          3 kB
        12. image-2021-01-14-13-49-48-253.png
          image-2021-01-14-13-49-48-253.png
          158 kB
        13. Project1.png
          Project1.png
          1.22 MB
        14. Project2.png
          Project2.png
          1.01 MB
        15. configureClouds.png
          configureClouds.png
          292 kB
        16. jenkins_plugins.txt
          3 kB
        17. jenkins plugins in use - correct format.txt
          9 kB
        18. jenkins plugins in use.txt
          19 kB
        19. Screenshot from 2020-11-23 23-02-24.png
          Screenshot from 2020-11-23 23-02-24.png
          224 kB
        20. image-2020-11-23-23-03-02-021.png
          image-2020-11-23-23-03-02-021.png
          208 kB
        21. image-2020-11-23-22-53-45-011.png
          image-2020-11-23-22-53-45-011.png
          246 kB
        22. 1.txt
          3 kB
        23. jsErrors.png
          jsErrors.png
          97 kB
        24. image-2020-11-18-10-44-20-271.png
          image-2020-11-18-10-44-20-271.png
          79 kB
        25. image-2020-11-18-10-41-57-764.png
          image-2020-11-18-10-41-57-764.png
          7 kB
        26. image-2020-11-18-10-40-53-012.png
          image-2020-11-18-10-40-53-012.png
          78 kB
        27. Screenshot 2020-11-18 at 10.27.20 AM.png
          Screenshot 2020-11-18 at 10.27.20 AM.png
          70 kB
        28. Screenshot 2020-11-18 at 10.26.22 AM.png
          Screenshot 2020-11-18 at 10.26.22 AM.png
          57 kB
        29. Screenshot 2020-11-18 at 10.24.57 AM.png
          Screenshot 2020-11-18 at 10.24.57 AM.png
          63 kB
        30. issues.png
          issues.png
          60 kB
        31. plugins-18-11.txt
          7 kB
        32. image-2020-11-18-09-07-49-596.png
          image-2020-11-18-09-07-49-596.png
          47 kB
        33. image-2020-11-18-09-06-44-059.png
          image-2020-11-18-09-06-44-059.png
          51 kB
        34. image-2020-11-18-09-05-02-548.png
          image-2020-11-18-09-05-02-548.png
          37 kB
        35. branch-api.png
          branch-api.png
          14 kB
        36. plugins-1.txt
          7 kB
        37. jenkins-basith-16112020.txt
          6 kB
        38. image-2020-11-11-09-47-08-180.png
          image-2020-11-11-09-47-08-180.png
          48 kB
        39. plugins.rossc-2.txt
          3 kB
        40. image-2020-11-10-19-10-02-083.png
          image-2020-11-10-19-10-02-083.png
          68 kB
        41. plugins.rossc.txt
          6 kB
        42. jenkins-basith-11112020.txt
          6 kB
        43. image-2020-11-06-09-45-42-994.png
          image-2020-11-06-09-45-42-994.png
          35 kB
        44. plugin.txt
          7 kB
        45. image-2020-11-03-21-10-10-643.png
          image-2020-11-03-21-10-10-643.png
          33 kB
        46. plugins.txt
          5 kB
        47. Plugins.txt
          4 kB
        48. image-2020-10-30-15-27-16-916.png
          image-2020-10-30-15-27-16-916.png
          118 kB
        49. image-2020-10-30-15-25-56-938.png
          image-2020-10-30-15-25-56-938.png
          118 kB
        50. Screenshot 2020-10-29 170505.png
          Screenshot 2020-10-29 170505.png
          53 kB
        51. Screenshot 2020-10-29 170642.png
          Screenshot 2020-10-29 170642.png
          84 kB
        52. plugins.txt
          2 kB
        53. laksh - jenkins plugins.txt
          6 kB
        54. jenkins_2.263.1-not-so-bad-ui.jpg
          jenkins_2.263.1-not-so-bad-ui.jpg
          76 kB
        55. jenkins_plugins.xml
          10 kB
        56. jenkins_2.264.1-borked-ui.jpg
          jenkins_2.264.1-borked-ui.jpg
          99 kB
        57. atlas-1603912761063.log
          22 kB

          [JENKINS-64072] Configure UI completely broken after upgrade to 2.264

          Tim Jacomb added a comment -

          jonl_percsol do you have the http_request plugin installed?  https://issues.jenkins-ci.org/browse/JENKINS-64054

           

          If not can you provide a full list of plugins and their versions please:

          (source of script https://github.com/jenkinsci/docker#plugin-installation-manager-cli-preview-2)

          JENKINS_HOST=username:password@myhost.com:port
          curl -sSL "http://$JENKINS_HOST/pluginManager/api/xml?depth=1&xpath=/*/*/shortName|/*/*/version&wrapper=plugins" | perl -pe 's/.*?<shortName>([\w-]+).*?<version>([^<]+)()(<\/\w+>)+/\1 \2\n/g'|sed 's/ /:/'
           

          Tim Jacomb added a comment - jonl_percsol do you have the http_request plugin installed?  https://issues.jenkins-ci.org/browse/JENKINS-64054   If not can you provide a full list of plugins and their versions please: (source of script  https://github.com/jenkinsci/docker#plugin-installation-manager-cli-preview-2 ) JENKINS_HOST=username:password@myhost.com:port curl -sSL "http: //$JENKINS_HOST/pluginManager/api/xml?depth=1&xpath= /*/*/ shortName| /*/*/ version&wrapper=plugins" | perl -pe 's/.*?<shortName>([\w-]+).*?<version>([^<]+)()(<\/\w+>)+/\1 \2\n/g' |sed 's/ /:/'

          plugin xml attached list attatched.  http_request not directly installed.

          Jonathon Lamon added a comment - plugin xml attached list attatched.  http_request not directly installed.

          I'm experiencing the same issue, can't edit any jobs due to the messed up formatting, save button doesn't work.

           

          I do have the http_request plugin installed. I installed the pre-release plugin version 1.8.27 from the linked issue above, but it didn't seem to have any effect on the formatting.

          aptalca aptalca added a comment - I'm experiencing the same issue, can't edit any jobs due to the messed up formatting, save button doesn't work.   I do have the http_request plugin installed. I installed the pre-release plugin version 1.8.27 from the linked issue above, but it didn't seem to have any effect on the formatting.

          Laksh Parab added a comment - - edited

          Yes i am experiencing the same issue 

          Jenkins version: 2.264
          Java Runtime : Open Jdk 1.8.0_272 from https://adoptopenjdk.net/

          Configuration screen is broken and Save and Apply button are not visible

          In chrome, dev tools -> console -> I see lot of these errors.

          > hudson-behavior.js:49 TypeError: e.getAttribute is not a function
          > at findFormParent (hudson-behavior.js:2589)
          > at findNearBy (hudson-behavior.js:275)
          > at Object.nearBy (hudson-behavior.js:327)
          > at hudson-behavior.js:526
          > 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:525)
          > at registerValidator (hudson-behavior.js:533)

           I do not have http-request plugin installed.

          See attached plugin-list laksh - jenkins plugins.txt

          Laksh Parab added a comment - - edited Yes i am experiencing the same issue  Jenkins version: 2.264 Java Runtime : Open Jdk 1.8.0_272 from  https://adoptopenjdk.net/ Configuration screen is broken and Save and Apply button are not visible In chrome, dev tools -> console -> I see lot of these errors. > hudson-behavior.js:49 TypeError: e.getAttribute is not a function > at findFormParent (hudson-behavior.js:2589) > at findNearBy (hudson-behavior.js:275) > at Object.nearBy (hudson-behavior.js:327) > at hudson-behavior.js:526 > 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:525) > at registerValidator (hudson-behavior.js:533)  I do not have http-request plugin installed. See attached plugin-list  laksh - jenkins plugins.txt

          Tim Jacomb added a comment - - edited

          aptalca that will mean you have another plugin installed causing issues, can you provide a full list please

           

          laksh I've reviewed the list and haven't seen any with known issues, I'll find which one is causing it later on

           

          jonl_percsol can you try disabling the artifactory plugin? ref https://github.com/jfrog/jenkins-artifactory-plugin/issues/350  , I've tried with your plugins and more needs disabling, I'll get back to you

           

          Tim Jacomb added a comment - - edited aptalca that will mean you have another plugin installed causing issues, can you provide a full list please   laksh I've reviewed the list and haven't seen any with known issues, I'll find which one is causing it later on   jonl_percsol can you try disabling the artifactory plugin? ref  https://github.com/jfrog/jenkins-artifactory-plugin/issues/350   , I've tried with your plugins and more needs disabling, I'll get back to you  

          Tim Jacomb added a comment - - edited

          laksh is that the full list of plugins? I installed all the plugins on there with their latest versions and I was unable to reproduce.

           

          laksh did you mean job configuration or system configuration?

           

          cat /tmp/plugins.txt | cut -d ' ' -f 1 > /tmp/plugins2.txt
          rm -rf ~/.jenkins-tables
          export JENKINS_HOME=~/.jenkins-tables
          java -jar ~/Downloads/jenkins.war
          java -jar ~/Downloads/jenkins-plugin-manager-2.1.0.jar -d ~/.jenkins-tables/plugins/ --war ~/Downloads/jenkins.war -f /tmp/plugins2.txt

          Tim Jacomb added a comment - - edited laksh is that the full list of plugins? I installed all the plugins on there with their latest versions and I was unable to reproduce.   laksh did you mean job configuration or system configuration?   cat /tmp/plugins.txt | cut -d ' ' -f 1 > /tmp/plugins2.txt rm -rf ~/.jenkins-tables export JENKINS_HOME=~/.jenkins-tables java -jar ~/Downloads/jenkins.war java -jar ~/Downloads/jenkins-plugin-manager-2.1.0.jar -d ~/.jenkins-tables/plugins/ --war ~/Downloads/jenkins.war -f /tmp/plugins2.txt

          Chris Lingwood added a comment - - edited

          I am having the same issue. I've attached a plugins list plugins.txt

          We did have http_request which was breaking "Configure System" too but I uninstalled that (along with a lot of other stuff we aren't using). Configure system now works.

          I am getting very similar errors from behaviour.js and nothing relavent looking server side. The issue seemed to be triggered on html tags related to bitbucketscm. I am currently running 2.9.2 of Bitbucket Branch Source but 2.9.4 had the same issues and their tracker doesn't have anything yet.

          Ideally if the gui gets this broken it should fail to save, we had a situation where all our project behaviours for the master Bitbucket project were lost (so no builds for anyone). Downgrading to 2.263 has resolved this for now.

          Chris Lingwood added a comment - - edited I am having the same issue. I've attached a plugins list  plugins.txt We did have http_request which was breaking "Configure System" too but I uninstalled that (along with a lot of other stuff we aren't using). Configure system now works. I am getting very similar errors from behaviour.js and nothing relavent looking server side. The issue seemed to be triggered on html tags related to bitbucketscm. I am currently running 2.9.2 of Bitbucket Branch Source but 2.9.4 had the same issues and their tracker doesn't have anything yet. Ideally if the gui gets this broken it should fail to save, we had a situation where all our project behaviours for the master Bitbucket project were lost (so no builds for anyone). Downgrading to 2.263 has resolved this for now.

          timja here's a list of all plugins: 

          https://pastebin.com/sfPzxBK7

          aptalca aptalca added a comment - timja  here's a list of all plugins:  https://pastebin.com/sfPzxBK7

          Laksh Parab added a comment - - edited

          timja on both System Configuration and Job Configuration layout is broken. On job configuration Save & Apply are visible but does not do anything when clicked. And on System configuration these two buttons are not visible.

          Laksh Parab added a comment - - edited timja on both System Configuration and Job Configuration layout is broken. On job configuration Save & Apply are visible but does not do anything when clicked. And on System configuration these two buttons are not visible.

          Tim Jacomb added a comment -

          laksh can you make sure you update all your plugins please? when I installed your plugins system config was fine, (at least without configuring anything)

          Tim Jacomb added a comment - laksh can you make sure you update all your plugins please? when I installed your plugins system config was fine, (at least without configuring anything)

          Tim Jacomb added a comment -

          lakshjonl_percsol and aptalca

          publish over SSH plugin is causing this, which you all have installed, I created https://issues.jenkins-ci.org/browse/JENKINS-64078

           

          jonl_percsol you also have artifactory installed which is https://github.com/jfrog/jenkins-artifactory-plugin/issues/350 

           

          Tim Jacomb added a comment - laksh ,  jonl_percsol  and aptalca publish over SSH plugin is causing this, which you all have installed, I created  https://issues.jenkins-ci.org/browse/JENKINS-64078   jonl_percsol you also have artifactory installed which is https://github.com/jfrog/jenkins-artifactory-plugin/issues/350    

          timja,

           

          Thanks for the investigation.  Unfortunately, those two plugins are used by multiple projects and not an easy removal on our end, especially the artifactory one.  I will watch those bugs for updates.

          Jonathon Lamon added a comment - timja ,   Thanks for the investigation.  Unfortunately, those two plugins are used by multiple projects and not an easy removal on our end, especially the artifactory one.  I will watch those bugs for updates.

          timja I uninstalled publish over ssh, restarted, but still the same issue with the messed up formatting on /configure

          aptalca aptalca added a comment - timja I uninstalled publish over ssh, restarted, but still the same issue with the messed up formatting on /configure

          Tim Jacomb added a comment -

          Anyone using publish over SSH please update to latest, https://issues.jenkins-ci.org/browse/JENKINS-64078 is fixed and released

          Tim Jacomb added a comment - Anyone using publish over SSH please update to latest, https://issues.jenkins-ci.org/browse/JENKINS-64078  is fixed and released

          Tim Jacomb added a comment -

          lingwocj I wasn't able to reproduce your issue, would you be able to create a new issue and tag me in.

           

          I need screenshots and your existing config (along with the plugin list copied there)

          Tim Jacomb added a comment - lingwocj I wasn't able to reproduce your issue, would you be able to create a new issue and tag me in.   I need screenshots and your existing config (along with the plugin list copied there)

          timja

          I tried uninstalling the publish over ssh plugin, didn't have any effect.

          Then I installed the new patched version, again, no effect.

          Here's a new plugin list: https://pastebin.com/FPJQFWHc

          Attached are a couple of pics showing the incorrect formatting on a new freestyle project configure page

          aptalca aptalca added a comment - timja I tried uninstalling the publish over ssh plugin, didn't have any effect. Then I installed the new patched version, again, no effect. Here's a new plugin list: https://pastebin.com/FPJQFWHc Attached are a couple of pics showing the incorrect formatting on a new freestyle project configure page

          Tim Jacomb added a comment -

          aptalca yes I know, looking at your plugins currently

          Tim Jacomb added a comment - aptalca yes I know, looking at your plugins currently

          Tim Jacomb added a comment - - edited

          aptalca your issue is https://plugins.jenkins.io/urltrigger/  https://issues.jenkins-ci.org/browse/JENKINS-64081

           

          I've re-tested after enabling everything again,

          disabling http_request and urltrigger fixes the issue for me using your plugins

          Tim Jacomb added a comment - - edited aptalca your issue is https://plugins.jenkins.io/urltrigger/    https://issues.jenkins-ci.org/browse/JENKINS-64081   I've re-tested after enabling everything again, disabling http_request and urltrigger fixes the issue for me using your plugins

          Tim Jacomb added a comment -

          I think I've triaged all issues, except for Chris's issue which I can't reproduce.

          Please let me know if this isn't the case.

          Tim Jacomb added a comment - I think I've triaged all issues, except for Chris's issue which I can't reproduce. Please let me know if this isn't the case.

          timja thanks so much for identifying and confirming. Unfortunately we have a lot of jobs that rely on the urltrigger plugin so we'll have to wait until it's fixed.

          aptalca aptalca added a comment - timja thanks so much for identifying and confirming. Unfortunately we have a lot of jobs that rely on the urltrigger plugin so we'll have to wait until it's fixed.

          Tim Jacomb added a comment - - edited

          I should have a fix for urltrigger tomorrow morning UTC time, it looks straightforward. 

          Tim Jacomb added a comment - - edited I should have a fix for urltrigger tomorrow morning UTC time, it looks straightforward. 

          timja It is slightly different perhaps to these other issues, I'd probably have reported it to Bitbucket Branch Source Plugin if I'd not found this. The problem exists in their latest version and the previous, but only in Jenkins 2.264. Everything works fine in 2.263.

          If I create a new Bitbucket Team/Project it wont save the "Repository Source" and it comes up blank on editing. If I then create the source again and add a behaviour, the source isn't there after a save. If I don't add the behaviour then the source will save despite the js error.

          This js error appears after creating the new repository source during an edit. I saw no js errors when creating a new project.

          I can report this in their git repo if you would prefer.

          Chris Lingwood added a comment - timja It is slightly different perhaps to these other issues, I'd probably have reported it to Bitbucket Branch Source Plugin if I'd not found this. The problem exists in their latest version and the previous, but only  in Jenkins 2.264. Everything works fine in 2.263. If I create a new Bitbucket Team/Project it wont save the "Repository Source" and it comes up blank on editing. If I then create the source again and add a behaviour, the source isn't there after a save. If I don't add the behaviour then the source will save despite the js error. This js error appears after creating the new repository source during an edit. I saw no js errors when creating a new project. I can report this in their git repo if you would prefer.

          Tim Jacomb added a comment -

          There’s a separate branch api ticket which is likely the cause of that one

          Tim Jacomb added a comment - There’s a separate branch api ticket which is likely the cause of that one

          Chris Beswick added a comment -

          We are having this issue on the configure Project page, similar to the images aptalca posted above.
          List of plugins here Plugins.txt

           Browser console presents several of these JS errors related to several different properties

          behavior.js:119 TypeError: Cannot read property 'hasClassName' of undefined
              at repeatable.js:159
              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)
          

          Chris Beswick added a comment - We are having this issue on the configure Project page, similar to the images aptalca posted above. List of plugins here  Plugins.txt  Browser console presents several of these JS errors related to several different properties behavior.js:119 TypeError: Cannot read property 'hasClassName' of undefined at repeatable.js:159 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)

          Dik Rana added a comment -

          List of plugins: plugins.txt

          Console error when loading pipeline project

          behavior.js:119 TypeError: Cannot read property 'hasClassName' of undefined
              at VM3783 repeatable.js:159
              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)
          behavior.js:119 TypeError: Cannot read property 'next' of undefined
              at findEnd (hudson-behavior.js:808)
              at hudson-behavior.js:1109
              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
          behavior.js:119 TypeError: Cannot read property 'hasClassName' of undefined
              at hudson-behavior.js:1146
              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)
          behavior.js:119 TypeError: Cannot read property 'makeInnerVisible' of undefined
              at updateOptionalBlock (hudson-behavior.js:1528)
              at hudson-behavior.js:1167
              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
          behavior.js:119 TypeError: Cannot read property 'makeInnerVisible' of undefined
              at updateDropDownList (hudson-behavior.js:1236)
              at hudson-behavior.js:1250
              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

          Dik Rana added a comment - List of plugins:  plugins.txt Console error when loading pipeline project behavior.js:119 TypeError: Cannot read property 'hasClassName' of undefined at VM3783 repeatable.js:159 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) behavior.js:119 TypeError: Cannot read property 'next' of undefined at findEnd (hudson-behavior.js:808) at hudson-behavior.js:1109 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 behavior.js:119 TypeError: Cannot read property 'hasClassName' of undefined at hudson-behavior.js:1146 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) behavior.js:119 TypeError: Cannot read property 'makeInnerVisible' of undefined at updateOptionalBlock (hudson-behavior.js:1528) at hudson-behavior.js:1167 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 behavior.js:119 TypeError: Cannot read property 'makeInnerVisible' of undefined at updateDropDownList (hudson-behavior.js:1236) at hudson-behavior.js:1250 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

          Huy Nguyen added a comment -

          Having the same problem here. I don't have any of the above mentioned plugins. plugin.txt

          Huy Nguyen added a comment - Having the same problem here. I don't have any of the above mentioned plugins.  plugin.txt

          Chris Beswick added a comment -

          For us it was the fstrigger plugin which was causing this - removing it resolved the issue.

          Chris Beswick added a comment - For us it was the fstrigger  plugin which was causing this - removing it resolved the issue.

          Dik Rana added a comment -

          javadevil Thanks! fstrigger was the issue for me too

          Dik Rana added a comment - javadevil Thanks! fstrigger was the issue for me too

          Tim Jacomb added a comment -

          seineriver you have the artifactory plugin installed https://github.com/jfrog/jenkins-artifactory-plugin/issues/350

          Dik and Chris thanks, I'm looking at that plugin currently, seems it hasn't been touched in a very long time...

          Tim Jacomb added a comment - seineriver you have the artifactory plugin installed https://github.com/jfrog/jenkins-artifactory-plugin/issues/350 Dik and Chris thanks, I'm looking at that plugin currently, seems it hasn't been touched in a very long time...

          Tim Jacomb added a comment -

          I've created JENKINS-64139 for fstrigger, it's got quite a low install base, and it needs some work to be updated for testing it properly.

          Let us know on the issue if you need it fixed otherwise I'm going to look at more important plugins first

          Tim Jacomb added a comment - I've created JENKINS-64139 for fstrigger, it's got quite a low install base, and it needs some work to be updated for testing it properly. Let us know on the issue if you need it fixed otherwise I'm going to look at more important plugins first

          FYI,

          I don't have the fstrigger or artifcatory plugin installed and also have the same issue when upgrading to 2.265

          How can you tell which plugin is causing this issue ? Enable/disable them one by one ?

          André van der Elst added a comment - FYI, I don't have the fstrigger or artifcatory plugin installed and also have the same issue when upgrading to 2.265 How can you tell which plugin is causing this issue ? Enable/disable them one by one ?

          Tim Jacomb added a comment -

          I normally do it in groups of 10 or so but yes disable until you figure it out

          Tim Jacomb added a comment - I normally do it in groups of 10 or so but yes disable until you figure it out

          I've disabled dozens of plugins and I haven't been able to narrow it down yet.  It doesn't seem obvious what plugins are causing it from the browser console logs, either.  It looks like it's specific to the web UI though, so for now I'm hacking the job XML and reloading from disk as a workaround, which isn't fun, but at least it will keep jobs running for now.

          Scott Williams added a comment - I've disabled dozens of plugins and I haven't been able to narrow it down yet.  It doesn't seem obvious what plugins are causing it from the browser console logs, either.  It looks like it's specific to the web UI though, so for now I'm hacking the job XML and reloading from disk as a workaround, which isn't fun, but at least it will keep jobs running for now.

          Chris Beswick added a comment -

          I'll share how I found my problem plugin in case this also helps other narrow it down.

          By looking at the config screen and seeing which was the last plugin to be correctly be rendered in the center div (green arrow), red arrow incorrect and where the problems started.
          (NB: Reusing someone else screenshot here as I don't have the problem to take my own)
          Then I looked at the help of those to see which plugin it was (orange box), checked the github repo and inspected the config.jelly files to see if they used table tags.

          Chris Beswick added a comment - I'll share how I found my problem plugin in case this also helps other narrow it down. By looking at the config screen and seeing which was the last plugin to be correctly be rendered in the center div (green arrow), red arrow incorrect and where the problems started. (NB: Reusing someone else screenshot here as I don't have the problem to take my own) Then I looked at the help of those to see which plugin it was (orange box), checked the github repo and inspected the config.jelly files to see if they used table tags.

          Tim Jacomb added a comment - vwbusguy can you post a plugin list please: https://issues.jenkins-ci.org/browse/JENKINS-64072?focusedCommentId=400146&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-400146

          timja I hope you don't mind the ping, but with the two plugins (urltrigger and hhtp request) updated, all of our issues are solved.

          I also wanted to thank you for your efforts. Not only you identified all of our issues, but you submitted PRs to some of those plugins to fix the issues upstream. You're the real MVP.

          aptalca aptalca added a comment - timja I hope you don't mind the ping, but with the two plugins (urltrigger and hhtp request) updated, all of our issues are solved. I also wanted to thank you for your efforts. Not only you identified all of our issues, but you submitted PRs to some of those plugins to fix the issues upstream. You're the real MVP.

          Jeremy Baker added a comment -

          timja  Thanks for all your work getting this straightened out!

          I haven't been able to track down the cause for our install.  Here is a list of our enabled plugins at the moment:  https://gist.github.com/LaCuneta/206aa658103a1059f8e91c1bae8d055f

          I did a bunch of disabling of plugins we don't use and got some of our basic jobs editable again, but our multi-branch pipeline jobs still error out.  Maybe that plugin itself is affected?

          Like Scott Williams I've managed to get around it by hand-editing config files for now.

          Here is the error that we see in the web console:

          behavior.js:119 TypeError: Cannot read property 'firstElementChild' of undefined
              at findNeighboringDynamicInput (VM103 github-scm-source.js:25)
              at VM103 github-scm-source.js:30
              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
          

           

          Jeremy Baker added a comment - timja   Thanks for all your work getting this straightened out! I haven't been able to track down the cause for our install.  Here is a list of our enabled plugins at the moment:  https://gist.github.com/LaCuneta/206aa658103a1059f8e91c1bae8d055f I did a bunch of disabling of plugins we don't use and got some of our basic jobs editable again, but our multi-branch pipeline jobs still error out.  Maybe that plugin itself is affected? Like Scott Williams I've managed to get around it by hand-editing config files for now. Here is the error that we see in the web console: behavior.js:119 TypeError: Cannot read property 'firstElementChild' of undefined at findNeighboringDynamicInput (VM103 github-scm-source.js:25) at VM103 github-scm-source.js:30 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  

          Tim Jacomb added a comment -

          Editing pipeline jobs is being worked in the branch api ticket. And yeah aware of that issue too

          Tim Jacomb added a comment - Editing pipeline jobs is being worked in the branch api ticket. And yeah aware of that issue too

          Daniel Estermann added a comment - Thanks javadevil for giving those instructions. I've managed to find out the responsible files for UI-issues on my installation: https://github.com/jenkinsci/artifactory-plugin/blob/artifactory-3.9.0/src/main/resources/org/jfrog/hudson/ArtifactoryRedeployPublisher/config.jelly https://github.com/jenkinsci/artifactory-plugin/blob/artifactory-3.9.0/src/main/resources/org/jfrog/hudson/generic/ArtifactoryGenericConfigurator/config.jelly https://github.com/jenkinsci/artifactory-plugin/blob/artifactory-3.9.0/src/main/resources/org/jfrog/hudson/gradle/ArtifactoryGradleConfigurator/config.jelly https://github.com/jenkinsci/artifactory-plugin/blob/artifactory-3.9.0/src/main/resources/org/jfrog/hudson/ivy/ArtifactoryIvyFreeStyleConfigurator/config.jelly https://github.com/jenkinsci/artifactory-plugin/blob/artifactory-3.9.0/src/main/resources/org/jfrog/hudson/ivy/ArtifactoryIvyConfigurator/config.jelly https://github.com/jenkinsci/artifactory-plugin/blob/artifactory-3.9.0/src/main/resources/org/jfrog/hudson/maven3/ArtifactoryMaven3Configurator/config.jelly https://github.com/jenkinsci/artifactory-plugin/blob/artifactory-3.9.0/src/main/resources/org/jfrog/hudson/maven3/ArtifactoryMaven3Configurator/config.jelly

          Tim Jacomb added a comment - - edited

          jbb1 if you build https://github.com/jenkinsci/branch-api-plugin/pull/228 from source I think it should fix your issue. (mvn clean package -P quick-build) (java 8 or 11), result will be in the target directory as a .hpi file.

          Worth testing.

          CI can't build it to generate an rc build unfortunately because it needs a change in the CI file.

          Tim Jacomb added a comment - - edited jbb1 if you build https://github.com/jenkinsci/branch-api-plugin/pull/228 from source I think it should fix your issue. (mvn clean package -P quick-build) (java 8 or 11), result will be in the target directory as a .hpi file. Worth testing. CI can't build it to generate an rc build unfortunately because it needs a change in the CI file.

          boris ivan added a comment -

          Regarding these vertical dashed lines, why are they there, and can they be removed? Every configuration screen is visually poor now, bad user experience.

          boris ivan added a comment - Regarding these vertical dashed lines, why are they there, and can they be removed? Every configuration screen is visually poor now, bad user experience.

          Tim Jacomb added a comment -

          Can you create a separate issue for that borisivan include screenshots on where it doesn’t looks good please

          Tim Jacomb added a comment - Can you create a separate issue for that borisivan include screenshots on where it doesn’t looks good please

          Tim Jacomb added a comment -

          All major plugins with issues except the artifactory plugin are now fixed, please upgrade to latest plugins and Jenkins 2.266

          Tim Jacomb added a comment - All major plugins with issues except the artifactory plugin are now fixed, please upgrade to latest plugins and Jenkins 2.266

          timja : Upgraded all plugins & jenkins build to Jenkins 2.266. Still the problem persists. Attached the list of plugins. Could you please let me know if any of the plugin is causing the problem and what we need to do.jenkins-basith-11112020.txt

          Abdul Basith S added a comment - timja : Upgraded all plugins & jenkins build to Jenkins 2.266. Still the problem persists. Attached the list of plugins. Could you please let me know if any of the plugin is causing the problem and what we need to do. jenkins-basith-11112020.txt

          Tim Jacomb added a comment -

          basith you are using the artifactory plugin, please disable and see if it's still an issue

          Tim Jacomb added a comment - basith you are using the artifactory plugin, please disable and see if it's still an issue

          Ross Campbell added a comment -

          timja I am still seeing this issue on Jenkins 2.266 with the latest version of all plugins.

          Attaching my plugin list: plugins.rossc.txt

          Here's a screenshot of how the config page breaks - others mentioned this may be useful:

          Ross Campbell added a comment - timja  I am still seeing this issue on Jenkins 2.266 with the latest version of all plugins. Attaching my plugin list:  plugins.rossc.txt Here's a screenshot of how the config page breaks - others mentioned this may be useful:

          Tim Jacomb added a comment -

          Can you use the script from the first comment please? I can then create an environment to reproduce it

          I had a quick look and can’t see one with a known issue

          Tim Jacomb added a comment - Can you use the script from the first comment please? I can then create an environment to reproduce it I had a quick look and can’t see one with a known issue

          Ross Campbell added a comment -

          timja my apologies, I did not see that due to the number of comments, here it is: plugins.rossc-2.txt

          Ross Campbell added a comment - timja  my apologies, I did not see that due to the number of comments, here it is:  plugins.rossc-2.txt

          Tim Jacomb added a comment -

          Thanks I’ll look tomorrow

          Tim Jacomb added a comment - Thanks I’ll look tomorrow

          boris ivan added a comment -

          Hi timja, I can add additional screenshots, but all the ones here in the comments already illustrate the issue. The presence of the vertical dashed lines to logically group things that are already grouped via indentation is ugly and distracting. Can they be removed, or at least off by default? Maybe if some people need them, they could enable with a non default option in "configure system" or something like that.

          boris ivan added a comment - Hi timja , I can add additional screenshots, but all the ones here in the comments already illustrate the issue. The presence of the vertical dashed lines to logically group things that are already grouped via indentation is ugly and distracting. Can they be removed, or at least off by default? Maybe if some people need them, they could enable with a non default option in "configure system" or something like that.

          Tim Jacomb added a comment -

          Boris that is a very different issue please move the discussion on that to a new one

          Tim Jacomb added a comment - Boris that is a very different issue please move the discussion on that to a new one

          Tim Jacomb added a comment -

          Hi rossc

          Can you please test this pre-release version of postbuild-task:

          https://repo.jenkins-ci.org/incrementals/org/jvnet/hudson/plugins/postbuild-task/1.9-rc62.454e8cf3c106/postbuild-task-1.9-rc62.454e8cf3c106.hpi

          the issue for that plugin is: JENKINS-64088, there appears to be no maintainer.

          I requested commit access in https://groups.google.com/g/jenkinsci-dev/c/08iLU7F8RfQ/m/pqrbtqp2AwAJ
          (there's a two week timeout and if no response I'll get it)

          Tim Jacomb added a comment - Hi rossc Can you please test this pre-release version of postbuild-task: https://repo.jenkins-ci.org/incrementals/org/jvnet/hudson/plugins/postbuild-task/1.9-rc62.454e8cf3c106/postbuild-task-1.9-rc62.454e8cf3c106.hpi the issue for that plugin is: JENKINS-64088 , there appears to be no maintainer. I requested commit access in https://groups.google.com/g/jenkinsci-dev/c/08iLU7F8RfQ/m/pqrbtqp2AwAJ (there's a two week timeout and if no response I'll get it)

          In my case it was the old Perforce Plugin (not the P4 one) that broke the job configuration page.

          Christian Einarsson added a comment - In my case it was the old Perforce Plugin (not the P4 one) that broke the job configuration page.

          Ross Campbell added a comment -

          timja this version fixed one of my jobs (incidentally, the one that uses copyartifact), but not most of them unfortunately.. the visual appearance has changed, so I believe this was a fix and there are additional issues elsewhere.  The job configuration page now looks like below - there is no longer the gray box around the configuration items that gets "broken out of" so to speak.  

           

           

          Ross Campbell added a comment - timja  this version fixed one of my jobs (incidentally, the one that uses copyartifact), but not most of them unfortunately.. the visual appearance has changed, so I believe this was a fix and there are additional issues elsewhere.  The job configuration page now looks like below - there is no longer the gray box around the configuration items that gets "broken out of" so to speak.      

            Unassigned Unassigned
            jonl_percsol Jonathon Lamon
            Votes:
            48 Vote for this issue
            Watchers:
            77 Start watching this issue

              Created:
              Updated:
              Resolved: