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

Job configure - properties on save

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When using the Web UI job Configure page the existing project definition looses all child elements for this xpath when Save or Apply button is clicked.

      /flow-definition/properties/*

       The project is a pipeline job created some months ago. With parametrised properties added.

      For example this XML

       <properties>
       <hudson.plugins.jira.JiraProjectProperty plugin="jira@3.1.1"/>
       <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
       <org.jenkinsci.plugins.workflow.job.properties.DisableResumeJobProperty/>
       <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31">
       <autoRebuild>false</autoRebuild>
       <rebuildDisabled>false</rebuildDisabled>
       </com.sonyericsson.rebuild.RebuildSettings>
       <hudson.model.ParametersDefinitionProperty>
       <parameterDefinitions>
       <hudson.model.StringParameterDefinition>
       <name>JFR_PROFILE</name>
       <description>attach a jfr profile</description>
       <defaultValue></defaultValue>
       <trim>false</trim>
       </hudson.model.StringParameterDefinition>
       </parameterDefinitions>
       </hudson.model.ParametersDefinitionProperty>
       <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3">
       <maxConcurrentPerNode>0</maxConcurrentPerNode>
       <maxConcurrentTotal>1</maxConcurrentTotal>
       <categories class="java.util.concurrent.CopyOnWriteArrayList"/>
       <throttleEnabled>true</throttleEnabled>
       <throttleOption>project</throttleOption>
       <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
       <paramsToUseForLimit></paramsToUseForLimit>
       <configVersion>1</configVersion>
       </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
       </properties> 

      becomes

      <properties/>

      Checking the Jenkins log I don't find any exceptions. Testing with Chrome browser the same issue happens. A colleague has experienced the same problem also with Firefox.

       This issue first occurred after upgrading to 2.277.2 Jenkins from an older version. Since then steps to clear out unused plugins, upgrade plugins, jenkins, then plugins again. This did not solve the issue.

      Checking the HTTP POST request when the browser Save button is clicked shows the request to contain the parameters. See the attachment.

       

      Files have been attached with details of plugins installed. Plus the system info.

       on the server

      Jenkins 2.277.4
      $ uname -a
      Linux somewhere.com 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

      on the client

      $ firefox -version
      Mozilla Firefox 88.0.1
      $ uname -a
      Linux burtha-f33 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
      $

        Attachments

          Issue Links

            Activity

            whitingjr Jeremy Whiting created issue -
            whitingjr Jeremy Whiting made changes -
            Field Original Value New Value
            Environment on the server
            Jenkins 2.277.4
            $ uname -a
            Linux somewhere.com 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

            on the client

            $ firefox -version
            Mozilla Firefox 88.0.1
            $ uname -a
            Linux burtha-f33 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
            $
            Jenkins 2.277.4
            whitingjr Jeremy Whiting made changes -
            Description When using the Web UI job Configure page the existing job definition looses all child elements for this xpath when Save or Apply button is clicked.

            /flow-definition/properties/*


             For example this XML
             
            {code:java}
             <properties>
             <hudson.plugins.jira.JiraProjectProperty plugin="jira@3.1.1"/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableResumeJobProperty/>
             <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31">
             <autoRebuild>false</autoRebuild>
             <rebuildDisabled>false</rebuildDisabled>
             </com.sonyericsson.rebuild.RebuildSettings>
             <hudson.model.ParametersDefinitionProperty>
             <parameterDefinitions>
             <hudson.model.StringParameterDefinition>
             <name>JFR_PROFILE</name>
             <description>attach a jfr profile</description>
             <defaultValue></defaultValue>
             <trim>false</trim>
             </hudson.model.StringParameterDefinition>
             </parameterDefinitions>
             </hudson.model.ParametersDefinitionProperty>
             <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3">
             <maxConcurrentPerNode>0</maxConcurrentPerNode>
             <maxConcurrentTotal>1</maxConcurrentTotal>
             <categories class="java.util.concurrent.CopyOnWriteArrayList"/>
             <throttleEnabled>true</throttleEnabled>
             <throttleOption>project</throttleOption>
             <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
             <paramsToUseForLimit></paramsToUseForLimit>
             <configVersion>1</configVersion>
             </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
             </properties> {code}

            becomes
            {code:java}
            <properties/>{code}

             
             Checking the Jenkins log I don't find any exceptions. Testing with Chrome browser the same issue happens. A colleague has experienced the same problem also with Firefox.

             This issue first occurred after upgrading to 2.277.2 Jenkins from an older version. Since then steps to clear out unused plugins, upgrade plugins, jenkins, then plugins again. This did not solve the issue.

             
            When using the Web UI job Configure page the existing job definition looses all child elements for this xpath when Save or Apply button is clicked.

            /flow-definition/properties/*

            For example this XML
            {code:java}
             <properties>
             <hudson.plugins.jira.JiraProjectProperty plugin="jira@3.1.1"/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableResumeJobProperty/>
             <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31">
             <autoRebuild>false</autoRebuild>
             <rebuildDisabled>false</rebuildDisabled>
             </com.sonyericsson.rebuild.RebuildSettings>
             <hudson.model.ParametersDefinitionProperty>
             <parameterDefinitions>
             <hudson.model.StringParameterDefinition>
             <name>JFR_PROFILE</name>
             <description>attach a jfr profile</description>
             <defaultValue></defaultValue>
             <trim>false</trim>
             </hudson.model.StringParameterDefinition>
             </parameterDefinitions>
             </hudson.model.ParametersDefinitionProperty>
             <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3">
             <maxConcurrentPerNode>0</maxConcurrentPerNode>
             <maxConcurrentTotal>1</maxConcurrentTotal>
             <categories class="java.util.concurrent.CopyOnWriteArrayList"/>
             <throttleEnabled>true</throttleEnabled>
             <throttleOption>project</throttleOption>
             <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
             <paramsToUseForLimit></paramsToUseForLimit>
             <configVersion>1</configVersion>
             </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
             </properties> {code}
            becomes
            {code:java}
            <properties/>{code}
            Checking the Jenkins log I don't find any exceptions. Testing with Chrome browser the same issue happens. A colleague has experienced the same problem also with Firefox.

             This issue first occurred after upgrading to 2.277.2 Jenkins from an older version. Since then steps to clear out unused plugins, upgrade plugins, jenkins, then plugins again. This did not solve the issue.

             on the server

            Jenkins 2.277.4
            $ uname -a
            Linux somewhere.com 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

            on the client

            $ firefox -version
            Mozilla Firefox 88.0.1
            $ uname -a
            Linux burtha-f33 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
            $
            Hide
            whitingjr Jeremy Whiting added a comment -

            This is a similar report.

            Show
            whitingjr Jeremy Whiting added a comment - This is a similar report.
            whitingjr Jeremy Whiting made changes -
            Link This issue is related to JENKINS-64288 [ JENKINS-64288 ]
            whitingjr Jeremy Whiting made changes -
            Description When using the Web UI job Configure page the existing job definition looses all child elements for this xpath when Save or Apply button is clicked.

            /flow-definition/properties/*

            For example this XML
            {code:java}
             <properties>
             <hudson.plugins.jira.JiraProjectProperty plugin="jira@3.1.1"/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableResumeJobProperty/>
             <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31">
             <autoRebuild>false</autoRebuild>
             <rebuildDisabled>false</rebuildDisabled>
             </com.sonyericsson.rebuild.RebuildSettings>
             <hudson.model.ParametersDefinitionProperty>
             <parameterDefinitions>
             <hudson.model.StringParameterDefinition>
             <name>JFR_PROFILE</name>
             <description>attach a jfr profile</description>
             <defaultValue></defaultValue>
             <trim>false</trim>
             </hudson.model.StringParameterDefinition>
             </parameterDefinitions>
             </hudson.model.ParametersDefinitionProperty>
             <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3">
             <maxConcurrentPerNode>0</maxConcurrentPerNode>
             <maxConcurrentTotal>1</maxConcurrentTotal>
             <categories class="java.util.concurrent.CopyOnWriteArrayList"/>
             <throttleEnabled>true</throttleEnabled>
             <throttleOption>project</throttleOption>
             <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
             <paramsToUseForLimit></paramsToUseForLimit>
             <configVersion>1</configVersion>
             </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
             </properties> {code}
            becomes
            {code:java}
            <properties/>{code}
            Checking the Jenkins log I don't find any exceptions. Testing with Chrome browser the same issue happens. A colleague has experienced the same problem also with Firefox.

             This issue first occurred after upgrading to 2.277.2 Jenkins from an older version. Since then steps to clear out unused plugins, upgrade plugins, jenkins, then plugins again. This did not solve the issue.

             on the server

            Jenkins 2.277.4
            $ uname -a
            Linux somewhere.com 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

            on the client

            $ firefox -version
            Mozilla Firefox 88.0.1
            $ uname -a
            Linux burtha-f33 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
            $
            When using the Web UI job Configure page the existing project definition looses all child elements for this xpath when Save or Apply button is clicked.

            /flow-definition/properties/*

             The project is a pipeline job created some months ago. With parametrised properties added.

            For example this XML
            {code:java}
             <properties>
             <hudson.plugins.jira.JiraProjectProperty plugin="jira@3.1.1"/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableResumeJobProperty/>
             <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31">
             <autoRebuild>false</autoRebuild>
             <rebuildDisabled>false</rebuildDisabled>
             </com.sonyericsson.rebuild.RebuildSettings>
             <hudson.model.ParametersDefinitionProperty>
             <parameterDefinitions>
             <hudson.model.StringParameterDefinition>
             <name>JFR_PROFILE</name>
             <description>attach a jfr profile</description>
             <defaultValue></defaultValue>
             <trim>false</trim>
             </hudson.model.StringParameterDefinition>
             </parameterDefinitions>
             </hudson.model.ParametersDefinitionProperty>
             <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3">
             <maxConcurrentPerNode>0</maxConcurrentPerNode>
             <maxConcurrentTotal>1</maxConcurrentTotal>
             <categories class="java.util.concurrent.CopyOnWriteArrayList"/>
             <throttleEnabled>true</throttleEnabled>
             <throttleOption>project</throttleOption>
             <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
             <paramsToUseForLimit></paramsToUseForLimit>
             <configVersion>1</configVersion>
             </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
             </properties> {code}
            becomes
            {code:java}
            <properties/>{code}
            Checking the Jenkins log I don't find any exceptions. Testing with Chrome browser the same issue happens. A colleague has experienced the same problem also with Firefox.

             This issue first occurred after upgrading to 2.277.2 Jenkins from an older version. Since then steps to clear out unused plugins, upgrade plugins, jenkins, then plugins again. This did not solve the issue.

             on the server

            Jenkins 2.277.4
             $ uname -a
             Linux somewhere.com 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

            on the client

            $ firefox -version
             Mozilla Firefox 88.0.1
             $ uname -a
             Linux burtha-f33 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
             $
            whitingjr Jeremy Whiting made changes -
            Attachment jenkins-env-plugins-list.txt [ 54860 ]
            whitingjr Jeremy Whiting made changes -
            Environment Jenkins 2.277.4 Jenkins 2.277.4 run directly on server.
            whitingjr Jeremy Whiting made changes -
            Attachment systemInfo.txt [ 54861 ]
            whitingjr Jeremy Whiting made changes -
            Attachment configSubmit-request-payload.txt [ 54862 ]
            whitingjr Jeremy Whiting made changes -
            Description When using the Web UI job Configure page the existing project definition looses all child elements for this xpath when Save or Apply button is clicked.

            /flow-definition/properties/*

             The project is a pipeline job created some months ago. With parametrised properties added.

            For example this XML
            {code:java}
             <properties>
             <hudson.plugins.jira.JiraProjectProperty plugin="jira@3.1.1"/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableResumeJobProperty/>
             <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31">
             <autoRebuild>false</autoRebuild>
             <rebuildDisabled>false</rebuildDisabled>
             </com.sonyericsson.rebuild.RebuildSettings>
             <hudson.model.ParametersDefinitionProperty>
             <parameterDefinitions>
             <hudson.model.StringParameterDefinition>
             <name>JFR_PROFILE</name>
             <description>attach a jfr profile</description>
             <defaultValue></defaultValue>
             <trim>false</trim>
             </hudson.model.StringParameterDefinition>
             </parameterDefinitions>
             </hudson.model.ParametersDefinitionProperty>
             <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3">
             <maxConcurrentPerNode>0</maxConcurrentPerNode>
             <maxConcurrentTotal>1</maxConcurrentTotal>
             <categories class="java.util.concurrent.CopyOnWriteArrayList"/>
             <throttleEnabled>true</throttleEnabled>
             <throttleOption>project</throttleOption>
             <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
             <paramsToUseForLimit></paramsToUseForLimit>
             <configVersion>1</configVersion>
             </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
             </properties> {code}
            becomes
            {code:java}
            <properties/>{code}
            Checking the Jenkins log I don't find any exceptions. Testing with Chrome browser the same issue happens. A colleague has experienced the same problem also with Firefox.

             This issue first occurred after upgrading to 2.277.2 Jenkins from an older version. Since then steps to clear out unused plugins, upgrade plugins, jenkins, then plugins again. This did not solve the issue.

             on the server

            Jenkins 2.277.4
             $ uname -a
             Linux somewhere.com 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

            on the client

            $ firefox -version
             Mozilla Firefox 88.0.1
             $ uname -a
             Linux burtha-f33 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
             $
            When using the Web UI job Configure page the existing project definition looses all child elements for this xpath when Save or Apply button is clicked.

            /flow-definition/properties/*

             The project is a pipeline job created some months ago. With parametrised properties added.

            For example this XML
            {code:java}
             <properties>
             <hudson.plugins.jira.JiraProjectProperty plugin="jira@3.1.1"/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableResumeJobProperty/>
             <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31">
             <autoRebuild>false</autoRebuild>
             <rebuildDisabled>false</rebuildDisabled>
             </com.sonyericsson.rebuild.RebuildSettings>
             <hudson.model.ParametersDefinitionProperty>
             <parameterDefinitions>
             <hudson.model.StringParameterDefinition>
             <name>JFR_PROFILE</name>
             <description>attach a jfr profile</description>
             <defaultValue></defaultValue>
             <trim>false</trim>
             </hudson.model.StringParameterDefinition>
             </parameterDefinitions>
             </hudson.model.ParametersDefinitionProperty>
             <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3">
             <maxConcurrentPerNode>0</maxConcurrentPerNode>
             <maxConcurrentTotal>1</maxConcurrentTotal>
             <categories class="java.util.concurrent.CopyOnWriteArrayList"/>
             <throttleEnabled>true</throttleEnabled>
             <throttleOption>project</throttleOption>
             <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
             <paramsToUseForLimit></paramsToUseForLimit>
             <configVersion>1</configVersion>
             </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
             </properties> {code}
            becomes
            {code:java}
            <properties/>{code}
            Checking the Jenkins log I don't find any exceptions. Testing with Chrome browser the same issue happens. A colleague has experienced the same problem also with Firefox.

             This issue first occurred after upgrading to 2.277.2 Jenkins from an older version. Since then steps to clear out unused plugins, upgrade plugins, jenkins, then plugins again. This did not solve the issue.

            Checking the HTTP POST request when the browser Save button is clicked shows the request to contain the parameters. See the attachment.

             

             on the server

            Jenkins 2.277.4
             $ uname -a
             Linux somewhere.com 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

            on the client

            $ firefox -version
             Mozilla Firefox 88.0.1
             $ uname -a
             Linux burtha-f33 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
             $
            whitingjr Jeremy Whiting made changes -
            Description When using the Web UI job Configure page the existing project definition looses all child elements for this xpath when Save or Apply button is clicked.

            /flow-definition/properties/*

             The project is a pipeline job created some months ago. With parametrised properties added.

            For example this XML
            {code:java}
             <properties>
             <hudson.plugins.jira.JiraProjectProperty plugin="jira@3.1.1"/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableResumeJobProperty/>
             <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31">
             <autoRebuild>false</autoRebuild>
             <rebuildDisabled>false</rebuildDisabled>
             </com.sonyericsson.rebuild.RebuildSettings>
             <hudson.model.ParametersDefinitionProperty>
             <parameterDefinitions>
             <hudson.model.StringParameterDefinition>
             <name>JFR_PROFILE</name>
             <description>attach a jfr profile</description>
             <defaultValue></defaultValue>
             <trim>false</trim>
             </hudson.model.StringParameterDefinition>
             </parameterDefinitions>
             </hudson.model.ParametersDefinitionProperty>
             <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3">
             <maxConcurrentPerNode>0</maxConcurrentPerNode>
             <maxConcurrentTotal>1</maxConcurrentTotal>
             <categories class="java.util.concurrent.CopyOnWriteArrayList"/>
             <throttleEnabled>true</throttleEnabled>
             <throttleOption>project</throttleOption>
             <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
             <paramsToUseForLimit></paramsToUseForLimit>
             <configVersion>1</configVersion>
             </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
             </properties> {code}
            becomes
            {code:java}
            <properties/>{code}
            Checking the Jenkins log I don't find any exceptions. Testing with Chrome browser the same issue happens. A colleague has experienced the same problem also with Firefox.

             This issue first occurred after upgrading to 2.277.2 Jenkins from an older version. Since then steps to clear out unused plugins, upgrade plugins, jenkins, then plugins again. This did not solve the issue.

            Checking the HTTP POST request when the browser Save button is clicked shows the request to contain the parameters. See the attachment.

             

             on the server

            Jenkins 2.277.4
             $ uname -a
             Linux somewhere.com 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

            on the client

            $ firefox -version
             Mozilla Firefox 88.0.1
             $ uname -a
             Linux burtha-f33 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
             $
            When using the Web UI job Configure page the existing project definition looses all child elements for this xpath when Save or Apply button is clicked.

            /flow-definition/properties/*

             The project is a pipeline job created some months ago. With parametrised properties added.

            For example this XML
            {code:java}
             <properties>
             <hudson.plugins.jira.JiraProjectProperty plugin="jira@3.1.1"/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
             <org.jenkinsci.plugins.workflow.job.properties.DisableResumeJobProperty/>
             <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31">
             <autoRebuild>false</autoRebuild>
             <rebuildDisabled>false</rebuildDisabled>
             </com.sonyericsson.rebuild.RebuildSettings>
             <hudson.model.ParametersDefinitionProperty>
             <parameterDefinitions>
             <hudson.model.StringParameterDefinition>
             <name>JFR_PROFILE</name>
             <description>attach a jfr profile</description>
             <defaultValue></defaultValue>
             <trim>false</trim>
             </hudson.model.StringParameterDefinition>
             </parameterDefinitions>
             </hudson.model.ParametersDefinitionProperty>
             <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3">
             <maxConcurrentPerNode>0</maxConcurrentPerNode>
             <maxConcurrentTotal>1</maxConcurrentTotal>
             <categories class="java.util.concurrent.CopyOnWriteArrayList"/>
             <throttleEnabled>true</throttleEnabled>
             <throttleOption>project</throttleOption>
             <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
             <paramsToUseForLimit></paramsToUseForLimit>
             <configVersion>1</configVersion>
             </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
             </properties> {code}
            becomes
            {code:java}
            <properties/>{code}
            Checking the Jenkins log I don't find any exceptions. Testing with Chrome browser the same issue happens. A colleague has experienced the same problem also with Firefox.

             This issue first occurred after upgrading to 2.277.2 Jenkins from an older version. Since then steps to clear out unused plugins, upgrade plugins, jenkins, then plugins again. This did not solve the issue.

            Checking the HTTP POST request when the browser Save button is clicked shows the request to contain the parameters. See the [attachment|https://issues.jenkins.io/secure/attachment/54862/configSubmit-request-payload.txt].

             

            Files have been attached with details of plugins installed. Plus the system info.

             on the server

            Jenkins 2.277.4
             $ uname -a
             Linux somewhere.com 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

            on the client

            $ firefox -version
             Mozilla Firefox 88.0.1
             $ uname -a
             Linux burtha-f33 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
             $
            whitingjr Jeremy Whiting made changes -
            Attachment info-jenkins-configSubmit.txt [ 54868 ]
            whitingjr Jeremy Whiting made changes -
            Comment [  Turning on FINEST logging reveals two exceptions. An extract of the first
            {code:java}
            FINER: seed=/job/ACME/job/wildfly-someproject for org.jenkinsci.plugins.workflow.job.WorkflowJob@43a3f430[ACME/wildfly-someproject] from /job/ACME/job/wildfly-someproject/configSubmit
            May 24, 2021 1:26:28 PM hudson.ExtensionList load
            FINE: Loading ExtensionList 'org.jenkinsci.plugins.pubsub.MessageEnricher'
            May 24, 2021 1:26:28 PM hudson.ExtensionList load
            FINER: Loading ExtensionList 'org.jenkinsci.plugins.pubsub.MessageEnricher' from
            java.lang.Throwable: Only present for stacktrace information
             at hudson.ExtensionList.load(ExtensionList.java:378)
             at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317)
             at hudson.ExtensionList.size(ExtensionList.java:191){code}
            An extract of the second
            {code:java}
            May 24, 2021 1:26:28 PM hudson.ClassicPluginStrategy findComponents
            FINER: Scout-loading ExtensionList: class org.jenkinsci.plugins.pubsub.MessageEnricher
            java.lang.Throwable
             at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:341)
             at hudson.ExtensionList.load(ExtensionList.java:381)
             at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317)
             at hudson.ExtensionList.size(ExtensionList.java:191)
             at java.base/java.util.AbstractCollection.isEmpty(AbstractCollection.java:87)
             at org.jenkinsci.plugins.pubsub.PubsubBus.publish(PubsubBus.java:132){code}
             Full details are in the attached file info-jenkins-configSubmit.txt ]
            Hide
            whitingjr Jeremy Whiting added a comment - - edited

             Investigating using Byteman tool reveals the un-marshalled JSON content at line 1324 in the Job class to be empty. Byteman rules were used to unobtrusively trace the two references t and jsonProperties.

            # grep "rule.debug" /var/log/jenkins/jenkins.log
            rule.debug{jsonProperties null condition trace_1:0} : *** request payload of JSON Properties has been unmarshalled. The jsonProperties reference is null !!!!
            rule.debug{DescribableList size trace_0:0} : *** t [6]
            #
            

            Why the call to json.optJSONObject("properties"); is returning a null reference needs investigating next.

            Show
            whitingjr Jeremy Whiting added a comment - - edited  Investigating using Byteman tool reveals the un-marshalled JSON content at line 1324  in the Job class to be empty. Byteman rules were used to unobtrusively trace the two references t and jsonProperties. # grep "rule.debug" /var/log/jenkins/jenkins.log rule.debug{jsonProperties null condition trace_1:0} : *** request payload of JSON Properties has been unmarshalled. The jsonProperties reference is null !!!! rule.debug{DescribableList size trace_0:0} : *** t [6] # Why the call to json.optJSONObject("properties") ; is returning a null reference needs investigating next.
            whitingjr Jeremy Whiting made changes -
            Attachment JenkinsJobProperties.btm [ 54874 ]
            whitingjr Jeremy Whiting made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            whitingjr Jeremy Whiting added a comment -

            Coming at this issue from another angle I've tried re-creating the issue using containers locally using a new parametrised pipeline. For versions 2.277.4 and 2.267.
            I cannot re-create this issue

            Show
            whitingjr Jeremy Whiting added a comment - Coming at this issue from another angle I've tried re-creating the issue using containers locally using a new parametrised pipeline. For versions 2.277.4 and 2.267. I cannot re-create this issue
            Hide
            whitingjr Jeremy Whiting added a comment -

            This issue has been tracked down to an buggy version of JMS Plugin. The buggy version 1.1.19 was installed.
            Updating to the currently latest JMS Plugin version 1.1.22 solves this issue.

            Show
            whitingjr Jeremy Whiting added a comment - This issue has been tracked down to an buggy version of JMS Plugin. The buggy version 1.1.19 was installed. Updating to the currently latest JMS Plugin version 1.1.22 solves this issue.
            whitingjr Jeremy Whiting made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            Hide
            whitingjr Jeremy Whiting added a comment -

            This issue can be solved by upgrading to 1.1.22 JMS Plugin.

            Show
            whitingjr Jeremy Whiting added a comment - This issue can be solved by upgrading to 1.1.22 JMS Plugin.
            whitingjr Jeremy Whiting made changes -
            Released As https://plugins.jenkins.io/jms-messaging/#releases
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              whitingjr Jeremy Whiting
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: