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

saving changes done in configuration gives error message.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • Jenkins upgraded from 2.204.2 to 2.263.1 version.

      Scenario :

      saving changes done in configuring job, getting error message as below :

      A problem occurred while processing the request.

      Logging ID=a10b4a03-97c1-47d6-9083-4f51c52e2682

          [JENKINS-64551] saving changes done in configuration gives error message.

          We're also recently seeing this error, although the changes are persisted. The logs indicate an issue with the parameterized trigger plugin, which we recently upgraded to 2.40. Issue is present in 2.39 as well. I can't go further back than that as there are plugin dependencies.

          java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.parameterizedtrigger.BlockingBehaviour
          at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:742)
          at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479)
          at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:788)
          Caused: java.lang.IllegalArgumentException: Failed to convert the block parameter of the constructor public hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig(java.lang.String,hudson.plugins.parameterizedtrigger.BlockingBehaviour,java.util.List,java.util.List)
          at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:790)
          at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84)
          at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679)

          Philip Johnson added a comment - We're also recently seeing this error, although the changes are persisted. The logs indicate an issue with the parameterized trigger plugin, which we recently upgraded to 2.40. Issue is present in 2.39 as well. I can't go further back than that as there are plugin dependencies. java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.parameterizedtrigger.BlockingBehaviour at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:742) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:788) Caused: java.lang.IllegalArgumentException: Failed to convert the block parameter of the constructor public hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig(java.lang.String,hudson.plugins.parameterizedtrigger.BlockingBehaviour,java.util.List,java.util.List) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:790) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679)

          Following on from my previous comment, this is more serious a problem than it appeared. It looked like the configuration was being saved, but its only saved to memory, not persisted on disk. A jobs config.xml isn't written to. If Jenkins restarts then all configuration changes are lost.

          Philip Johnson added a comment - Following on from my previous comment, this is more serious a problem than it appeared. It looked like the configuration was being saved, but its only saved to memory, not persisted on disk. A jobs config.xml isn't written to. If Jenkins restarts then all configuration changes are lost.

          For anyone else, my issue was caused by the TFS plugin. Our workaround was disabling it which resolved the saving error.

          Philip Johnson added a comment - For anyone else, my issue was caused by the TFS plugin. Our workaround was disabling it which resolved the saving error.

            Unassigned Unassigned
            khucha khushboo
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: