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

jenkins configuration not able to save or apply

    XMLWordPrintable

Details

    Description

      I upgraded jenkins from 2.222.1 to  Jenkins 2.289.2 .

      There are some issue with the plugin , i going to the manage jenkins -> configure system  . After i update the setting, i click the save/apply.  The page not response.  The configuration not save actually

      Attachments

        Activity

          markewaite Mark Waite added a comment -

          The stack trace in the log file reports a null pointer exception from the fortify plugin. The line number 951 that reports the null pointer exception does not match with the fortify plugin source code for the most recent release. Upgrading the fortify plugin may resolve the null pointer exception.

          However, that may not be enough to resolve the issue. You need to follow the instructions in the upgrade guides between Jenkins 2.222.1 and Jenkins 2.289.2. Those upgrade guides are available at https://www.jenkins.io/doc/upgrade-guide/ . The Jenkins 2.277.1 upgrade guide is especially important to follow at https://www.jenkins.io/doc/upgrade-guide/2.277/#upgrading-to-jenkins-lts-2-277-1 because it will guide you to upgrade to current versions of all plugins, remove plugins with security warnings, remove deprecated plugins, and remove unused plugins.

          markewaite Mark Waite added a comment - The stack trace in the log file reports a null pointer exception from the fortify plugin. The line number 951 that reports the null pointer exception does not match with the fortify plugin source code for the most recent release. Upgrading the fortify plugin may resolve the null pointer exception. However, that may not be enough to resolve the issue. You need to follow the instructions in the upgrade guides between Jenkins 2.222.1 and Jenkins 2.289.2. Those upgrade guides are available at https://www.jenkins.io/doc/upgrade-guide/ . The Jenkins 2.277.1 upgrade guide is especially important to follow at https://www.jenkins.io/doc/upgrade-guide/2.277/#upgrading-to-jenkins-lts-2-277-1 because it will guide you to upgrade to current versions of all plugins, remove plugins with security warnings, remove deprecated plugins, and remove unused plugins.
          ianw Ian Williams added a comment -

          markewaite, Issues like this have the hallmarks of tables-to-divs, pending evidence to back it up. Should they be pre-emptively be tagged w/tables-to-divs or would you prefer not until validated? My thoughts would be err on the side of caution (and visibility) and do so.

           

          ianw Ian Williams added a comment - markewaite , Issues like this have the hallmarks of tables-to-divs, pending evidence to back it up. Should they be pre-emptively be tagged w/tables-to-divs or would you prefer not until validated? My thoughts would be err on the side of caution (and visibility) and do so.  
          markewaite Mark Waite added a comment -

          ianw, I think you are right that it is better to tag something as `tables-to-divs-regression` if it might be related, then if it is later proven to be unrelated, the tag can be removed.

          Thanks for helping users with their issues!

          markewaite Mark Waite added a comment - ianw , I think you are right that it is better to tag something as `tables-to-divs-regression` if it might be related, then if it is later proven to be unrelated, the tag can be removed. Thanks for helping users with their issues!
          markewaite Mark Waite added a comment - - edited

          Cannot duplicate the issue with Jenkins 2.361.1

          Test script

          #!/bin/bash
          
          # User reports cannot save system configuration if rundeck plugin is installed
          
          JENKINS_WAR_VERSION=2.361.1
          JENKINS_WAR=jenkins-${JENKINS_WAR_VERSION}.war
          PLUGIN_MANAGER_VERSION=2.12.9
          PLUGIN_MANAGER_JAR=jenkins-plugin-manager-${PLUGIN_MANAGER_VERSION}.jar
          
          if [ ! -f ../$PLUGIN_MANAGER_JAR ]; then
            wget https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/${PLUGIN_MANAGER_VERSION}/$PLUGIN_MANAGER_JAR
            mv $PLUGIN_MANAGER_JAR ..
          fi
          if [ ! -d plugins ]; then
            mkdir plugins
          fi
          java -jar ../$PLUGIN_MANAGER_JAR --jenkins-version $JENKINS_WAR_VERSION --latest false --plugin-download-directory plugins --plugin-file plugins.txt
          
          if [ ! -f ../$JENKINS_WAR ]; then
            wget https://get.jenkins.io/war-stable/${JENKINS_WAR_VERSION}/jenkins.war
            mv jenkins.war ../$JENKINS_WAR
          fi
          
          JENKINS_HOME=. java -jar ../$JENKINS_WAR
          

          Plugins.txt file

          ace-editor:1.1
          apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
          bootstrap5-api:5.2.1-2
          bouncycastle-api:2.26
          caffeine-api:2.9.3-65.v6a_47d0f4d1fe
          checks-api:1.7.5
          command-launcher:90.v669d7ccb_7c31
          configuration-as-code:1512.vb_79d418d5fc8
          credentials:1189.vf61b_a_5e2f62e
          display-url-api:2.3.6
          durable-task:500.v8927d9fd99d8
          echarts-api:5.3.3-1
          font-awesome-api:6.2.0-3
          fortify:22.1.38
          gradle:1.39.4
          instance-identity:116.vf8f487400980
          jackson2-api:2.13.3-285.vc03c0256d517
          jakarta-activation-api:2.0.1-1
          jakarta-mail-api:2.0.1-1
          javax-activation-api:1.2.0-4
          javax-mail-api:1.6.2-7
          jaxb:2.3.6-1
          jdk-tool:55.v1b_32b_6ca_f9ca
          jquery-detached:1.2.1
          jquery3-api:3.6.1-1
          junit:1119.1121.vc43d0fc45561
          mailer:438.v02c7f0a_12fa_4
          mina-sshd-api-common:2.9.1-44.v476733c11f82
          mina-sshd-api-core:2.9.1-44.v476733c11f82
          plain-credentials:139.ved2b_9cf7587b
          plugin-util-api:2.17.0
          popper2-api:2.11.6-1
          scm-api:621.vda_a_b_055e58f7
          script-security:1183.v774b_0b_0a_a_451
          snakeyaml-api:1.32-86.ve3f030a_75631
          sshd:3.249.v2dc2ea_416e33
          structs:324.va_f5d6774f3a_d
          trilead-api:2.72.v2a_3236754f73
          workflow-api:1192.v2d0deb_19d212
          workflow-basic-steps:994.vd57e3ca_46d24
          workflow-cps:2759.v87459c4eea_ca_
          workflow-durable-task-step:1199.v02b_9244f8064
          workflow-job:1239.v71b_b_a_124a_725
          workflow-scm-step:400.v6b_89a_1317c9a_
          workflow-step-api:639.v6eca_cd8c04a_a_
          workflow-support:838.va_3a_087b_4055b
          
          markewaite Mark Waite added a comment - - edited Cannot duplicate the issue with Jenkins 2.361.1 Test script #!/bin/bash # User reports cannot save system configuration if rundeck plugin is installed JENKINS_WAR_VERSION=2.361.1 JENKINS_WAR=jenkins-${JENKINS_WAR_VERSION}.war PLUGIN_MANAGER_VERSION=2.12.9 PLUGIN_MANAGER_JAR=jenkins-plugin-manager-${PLUGIN_MANAGER_VERSION}.jar if [ ! -f ../$PLUGIN_MANAGER_JAR ]; then wget https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/${PLUGIN_MANAGER_VERSION}/$PLUGIN_MANAGER_JAR mv $PLUGIN_MANAGER_JAR .. fi if [ ! -d plugins ]; then mkdir plugins fi java -jar ../$PLUGIN_MANAGER_JAR --jenkins-version $JENKINS_WAR_VERSION --latest false --plugin-download-directory plugins --plugin-file plugins.txt if [ ! -f ../$JENKINS_WAR ]; then wget https://get.jenkins.io/war-stable/${JENKINS_WAR_VERSION}/jenkins.war mv jenkins.war ../$JENKINS_WAR fi JENKINS_HOME=. java -jar ../$JENKINS_WAR Plugins.txt file ace-editor:1.1 apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61 bootstrap5-api:5.2.1-2 bouncycastle-api:2.26 caffeine-api:2.9.3-65.v6a_47d0f4d1fe checks-api:1.7.5 command-launcher:90.v669d7ccb_7c31 configuration-as-code:1512.vb_79d418d5fc8 credentials:1189.vf61b_a_5e2f62e display-url-api:2.3.6 durable-task:500.v8927d9fd99d8 echarts-api:5.3.3-1 font-awesome-api:6.2.0-3 fortify:22.1.38 gradle:1.39.4 instance-identity:116.vf8f487400980 jackson2-api:2.13.3-285.vc03c0256d517 jakarta-activation-api:2.0.1-1 jakarta-mail-api:2.0.1-1 javax-activation-api:1.2.0-4 javax-mail-api:1.6.2-7 jaxb:2.3.6-1 jdk-tool:55.v1b_32b_6ca_f9ca jquery-detached:1.2.1 jquery3-api:3.6.1-1 junit:1119.1121.vc43d0fc45561 mailer:438.v02c7f0a_12fa_4 mina-sshd-api-common:2.9.1-44.v476733c11f82 mina-sshd-api-core:2.9.1-44.v476733c11f82 plain-credentials:139.ved2b_9cf7587b plugin-util-api:2.17.0 popper2-api:2.11.6-1 scm-api:621.vda_a_b_055e58f7 script-security:1183.v774b_0b_0a_a_451 snakeyaml-api:1.32-86.ve3f030a_75631 sshd:3.249.v2dc2ea_416e33 structs:324.va_f5d6774f3a_d trilead-api:2.72.v2a_3236754f73 workflow-api:1192.v2d0deb_19d212 workflow-basic-steps:994.vd57e3ca_46d24 workflow-cps:2759.v87459c4eea_ca_ workflow-durable-task-step:1199.v02b_9244f8064 workflow-job:1239.v71b_b_a_124a_725 workflow-scm-step:400.v6b_89a_1317c9a_ workflow-step-api:639.v6eca_cd8c04a_a_ workflow-support:838.va_3a_087b_4055b

          People

            Unassigned Unassigned
            scshfei amazted
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: