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

JMS messaging plugin causes JSONObject["hudson-triggers-SCMTrigger"] is not a JSONObject if SCM polling enabled on 2.277.1

      Hello everybody!

      When I try to save the task, I get an error (in attachment "error.log")

      There is also a system log with json-data. Json is completely correct

      This happened after a recent jenkins update

       

      The error disappears if you remove the SCM polling schedule

       

      Please help solve the problem. If the problem is in one of the plugins - how to understand which one?
       

        1. system.log
          16 kB
        2. error.log
          10 kB

          [JENKINS-65267] JMS messaging plugin causes JSONObject["hudson-triggers-SCMTrigger"] is not a JSONObject if SCM polling enabled on 2.277.1

          Aleksandr created issue -
          Aleksandr made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]

          Mark Waite added a comment -

          Please follow the instructions in the Jenkins 2.277.1 upgrade guide and in the table to div layout migration guide to investigate the issue, including

          Disable any plugins that are no longer in use, particularly if those plugins are no longer distributed on the Jenkins update site

          such as analysis-core, checkstyle, and findbugs.

          If that does not bring you to a complete solution, then include the detailed information described here in this issue.

          Mark Waite added a comment - Please follow the instructions in the Jenkins 2.277.1 upgrade guide and in the table to div layout migration guide to investigate the issue, including Disable any plugins that are no longer in use, particularly if those plugins are no longer distributed on the Jenkins update site such as analysis-core , checkstyle , and findbugs . If that does not bring you to a complete solution, then include the detailed information described here in this issue.
          Aleksandr made changes -
          Attachment Original: system.log [ 54386 ]
          Aleksandr made changes -
          Attachment New: system.log [ 54388 ]
          Aleksandr made changes -
          Description Original: Hello everybody!

          When I try to save the task, I get an error (in attachment "error.log")

          There is also a system log with json-data. Json is completely correct

          This happened after a recent jenkins update

           

          Please help solve the problem. If the problem is in one of the plugins - how to understand which one?
          New: Hello everybody!

          When I try to save the task, I get an error (in attachment "error.log")

          There is also a system log with json-data. Json is completely correct

          This happened after a recent jenkins update

           

          The error disappears if you remove the SCM polling schedule

           

          Please help solve the problem. If the problem is in one of the plugins - how to understand which one?

          Mark Waite added a comment -

          Refer also to JENKINS-65180 in case you have the TFS plugin installed. It describes a similar error message.

          Mark Waite added a comment - Refer also to JENKINS-65180 in case you have the TFS plugin installed. It describes a similar error message.
          Aleksandr made changes -
          Description Original: Hello everybody!

          When I try to save the task, I get an error (in attachment "error.log")

          There is also a system log with json-data. Json is completely correct

          This happened after a recent jenkins update

           

          The error disappears if you remove the SCM polling schedule

           

          Please help solve the problem. If the problem is in one of the plugins - how to understand which one?
          New: Hello everybody!

          When I try to save the task, I get an error (in attachment "error.log")

          There is also a system log with json-data. Json is completely correct

          This happened after a recent jenkins update

           

          The error disappears if you remove the SCM polling schedule

           

          Please help solve the problem. If the problem is in one of the plugins - how to understand which one?
           

          Aleksandr added a comment -

          Mark, thanks for your answer. Is it possible to find the reason more precisely? Maybe you can enable more advanced logging?

          The first thing I did to analyze the problem was to disable many plugins, including all obsolete ones.

          Please pay attention:  The error disappears if you remove the SCM polling schedule

           

          Aleksandr added a comment - Mark, thanks for your answer. Is it possible to find the reason more precisely? Maybe you can enable more advanced logging? The first thing I did to analyze the problem was to disable many plugins, including all obsolete ones. Please pay attention:  The error disappears if you remove the SCM polling schedule  

          Aleksandr added a comment - - edited
          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/ /:/'
          

           

          Result: 

          config-file-provider:3.7.0
          authentication-tokens:1.4
          pipeline-build-step:2.13
          matrix-project:1.18
          windows-slaves:1.7
          antisamy-markup-formatter:2.1
          jsch:0.1.55.2
          cloudbees-folder:6.15
          xcode-plugin:2.0.14
          external-monitor-job:1.7
          docker-commons:1.17
          pipeline-rest-api:2.19
          pipeline-github-lib:1.0
          sse-gateway:1.24
          pam-auth:1.6
          ownership:0.13.0
          matrix-combinations-parameter:1.3.1
          workflow-multibranch:2.23
          locale:1.4
          javadoc:1.6
          built-on-column:1.1
          job-restrictions:0.8
          pipeline-stage-step:2.5
          pipeline-model-api:1.8.4
          plain-credentials:1.7
          pipeline-model-definition:1.8.4
          mapdb-api:1.0.9.0
          blueocean-git-pipeline:1.24.5
          job-dsl:1.77
          credentials:2.3.15
          workflow-basic-steps:2.23
          workflow-cps:2.90
          ldap:2.4
          durable-task:1.35
          mailer:1.34
          jira-publisher:1.9
          text-finder:1.15
          ant:1.11
          envinject-api:1.7
          envinject:2.4.0
          simple-theme-plugin:0.6
          favorite:2.3.3
          pipeline-stage-view:2.19
          branch-api:2.6.3
          text-finder-run-condition:0.1
          sshd:3.0.3
          pipeline-milestone-step:1.3.2
          gradle:1.36
          ssh-credentials:1.18.2
          role-strategy:3.1.1
          lockable-resources:2.10
          resource-disposer:0.15
          handlebars:3.0.8
          pipeline-input-step:2.12
          blueocean-bitbucket-pipeline:1.24.5
          blueocean-personalization:1.24.5
          blueocean-pipeline-editor:1.24.5
          blueocean-autofavorite:1.2.4
          oauth-credentials:0.4
          jaxb:2.3.0.1
          jira:3.2.1
          ws-cleanup:0.39
          credentials-binding:1.24
          jquery-detached:1.2.1
          display-url-api:2.3.4
          jquery:1.12.4-1
          blueocean-events:1.24.5
          postbuildscript:2.11.0
          jdk-tool:1.5
          blueocean-i18n:1.24.5
          blueocean-pipeline-scm-api:1.24.5
          blueocean-display-url:2.4.1
          multiple-scms:0.6
          git-server:1.9
          publish-over-ssh:1.22
          blueocean-pipeline-api-impl:1.24.5
          deploy:1.16
          docker-java-api:3.1.5.2
          pipeline-stage-tags-metadata:1.8.4
          momentjs:1.1.1
          blueocean:1.24.5
          script-security:1.76
          git-parameter:0.9.13
          blueocean-dashboard:1.24.5
          workflow-aggregator:2.6
          google-oauth-plugin:1.0.4
          command-launcher:1.5
          blueocean-rest-impl:1.24.5
          google-play-android-publisher:4.1
          workflow-durable-task-step:2.38
          workflow-scm-step:2.12
          bouncycastle-api:2.20
          jms-messaging:1.1.19
          extended-choice-parameter:0.82
          workflow-step-api:2.23
          parameterized-trigger:2.40
          blueocean-jwt:1.24.5
          publish-over:0.22
          handy-uri-templates-2-api:2.1.8-1.0
          blueocean-github-pipeline:1.24.5
          jenkins-design-language:1.24.5
          gitlab-plugin:1.5.20
          ansible:1.1
          workflow-cps-global-lib:2.18
          http_request:1.8.27
          maven-plugin:3.10
          ssh:2.6.1
          workflow-support:3.8
          pipeline-utility-steps:2.7.0
          dashboard-view:2.15
          ace-editor:1.1
          postbuild-task:1.9
          timestamper:1.12
          pubsub-light:1.13
          mattermost:3.1.1
          jobConfigHistory:2.26
          okhttp-api:3.14.9
          allure-jenkins-plugin:2.29.0
          pipeline-graph-analysis:1.10
          blueocean-core-js:1.24.5
          blueocean-jira:1.24.5
          build-timeout:1.20
          ssh-agent:1.22
          snakeyaml-api:1.27.0
          scm-api:2.6.4
          blueocean-config:1.24.5
          htmlpublisher:1.25
          docker-workflow:1.26
          workflow-job:2.40
          blueocean-commons:1.24.5
          pipeline-model-extensions:1.8.4
          multibranch-scan-webhook-trigger:1.0.5
          global-build-stats:1.5
          statistics-gatherer:2.0.3
          nodejs:1.4.0
          jjwt-api:0.11.2-9.c8b45b8bb173
          run-condition:1.5
          git-client:3.7.0
          extended-read-permission:3.2
          email-ext:2.82
          generic-webhook-trigger:1.72
          conditional-buildstep:1.4.1
          github-branch-source:2.10.2
          workflow-api:2.42
          throttle-concurrents:2.2
          variant:1.4
          github-api:1.123
          matrix-auth:2.6.6
          token-macro:2.15
          junit:1.49
          font-awesome-api:5.15.2-2
          blueocean-rest:1.24.5
          popper-api:1.16.1-2
          subversion:2.14.0
          jquery3-api:3.5.1-3
          bootstrap4-api:4.6.0-2
          echarts-api:5.0.1-1
          ansicolor:0.7.5
          apache-httpcomponents-client-4-api:4.5.13-1.0
          github:1.33.1
          git:4.7.0
          jenkins-multijob-plugin:1.36
          checks-api:1.6.1
          blueocean-web:1.24.5
          greenballs:1.15.1
          trilead-api:1.0.13
          ssh-slaves:1.31.6
          cloudbees-bitbucket-branch-source:2.9.7
          structs:1.22
          plugin-util-api:2.1.0
          jackson2-api:2.12.1
          

          Aleksandr added a comment - - edited 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/ /:/'   Result:  config-file-provider:3.7.0 authentication-tokens:1.4 pipeline-build-step:2.13 matrix-project:1.18 windows-slaves:1.7 antisamy-markup-formatter:2.1 jsch:0.1.55.2 cloudbees-folder:6.15 xcode-plugin:2.0.14 external-monitor-job:1.7 docker-commons:1.17 pipeline- rest -api:2.19 pipeline-github-lib:1.0 sse-gateway:1.24 pam-auth:1.6 ownership:0.13.0 matrix-combinations-parameter:1.3.1 workflow-multibranch:2.23 locale:1.4 javadoc:1.6 built-on-column:1.1 job-restrictions:0.8 pipeline-stage-step:2.5 pipeline-model-api:1.8.4 plain-credentials:1.7 pipeline-model-definition:1.8.4 mapdb-api:1.0.9.0 blueocean-git-pipeline:1.24.5 job-dsl:1.77 credentials:2.3.15 workflow-basic-steps:2.23 workflow-cps:2.90 ldap:2.4 durable-task:1.35 mailer:1.34 jira-publisher:1.9 text-finder:1.15 ant:1.11 envinject-api:1.7 envinject:2.4.0 simple-theme-plugin:0.6 favorite:2.3.3 pipeline-stage-view:2.19 branch-api:2.6.3 text-finder-run-condition:0.1 sshd:3.0.3 pipeline-milestone-step:1.3.2 gradle:1.36 ssh-credentials:1.18.2 role-strategy:3.1.1 lockable-resources:2.10 resource-disposer:0.15 handlebars:3.0.8 pipeline-input-step:2.12 blueocean-bitbucket-pipeline:1.24.5 blueocean-personalization:1.24.5 blueocean-pipeline-editor:1.24.5 blueocean-autofavorite:1.2.4 oauth-credentials:0.4 jaxb:2.3.0.1 jira:3.2.1 ws-cleanup:0.39 credentials-binding:1.24 jquery-detached:1.2.1 display-url-api:2.3.4 jquery:1.12.4-1 blueocean-events:1.24.5 postbuildscript:2.11.0 jdk-tool:1.5 blueocean-i18n:1.24.5 blueocean-pipeline-scm-api:1.24.5 blueocean-display-url:2.4.1 multiple-scms:0.6 git-server:1.9 publish-over-ssh:1.22 blueocean-pipeline-api-impl:1.24.5 deploy:1.16 docker-java-api:3.1.5.2 pipeline-stage-tags-metadata:1.8.4 momentjs:1.1.1 blueocean:1.24.5 script-security:1.76 git-parameter:0.9.13 blueocean-dashboard:1.24.5 workflow-aggregator:2.6 google-oauth-plugin:1.0.4 command-launcher:1.5 blueocean- rest -impl:1.24.5 google-play-android-publisher:4.1 workflow-durable-task-step:2.38 workflow-scm-step:2.12 bouncycastle-api:2.20 jms-messaging:1.1.19 extended-choice-parameter:0.82 workflow-step-api:2.23 parameterized-trigger:2.40 blueocean-jwt:1.24.5 publish-over:0.22 handy-uri-templates-2-api:2.1.8-1.0 blueocean-github-pipeline:1.24.5 jenkins-design-language:1.24.5 gitlab-plugin:1.5.20 ansible:1.1 workflow-cps-global-lib:2.18 http_request:1.8.27 maven-plugin:3.10 ssh:2.6.1 workflow-support:3.8 pipeline-utility-steps:2.7.0 dashboard-view:2.15 ace-editor:1.1 postbuild-task:1.9 timestamper:1.12 pubsub-light:1.13 mattermost:3.1.1 jobConfigHistory:2.26 okhttp-api:3.14.9 allure-jenkins-plugin:2.29.0 pipeline-graph-analysis:1.10 blueocean-core-js:1.24.5 blueocean-jira:1.24.5 build-timeout:1.20 ssh-agent:1.22 snakeyaml-api:1.27.0 scm-api:2.6.4 blueocean-config:1.24.5 htmlpublisher:1.25 docker-workflow:1.26 workflow-job:2.40 blueocean-commons:1.24.5 pipeline-model-extensions:1.8.4 multibranch-scan-webhook-trigger:1.0.5 global-build-stats:1.5 statistics-gatherer:2.0.3 nodejs:1.4.0 jjwt-api:0.11.2-9.c8b45b8bb173 run-condition:1.5 git-client:3.7.0 extended-read-permission:3.2 email-ext:2.82 generic -webhook-trigger:1.72 conditional-buildstep:1.4.1 github-branch-source:2.10.2 workflow-api:2.42 throttle-concurrents:2.2 variant:1.4 github-api:1.123 matrix-auth:2.6.6 token-macro:2.15 junit:1.49 font-awesome-api:5.15.2-2 blueocean- rest :1.24.5 popper-api:1.16.1-2 subversion:2.14.0 jquery3-api:3.5.1-3 bootstrap4-api:4.6.0-2 echarts-api:5.0.1-1 ansicolor:0.7.5 apache-httpcomponents-client-4-api:4.5.13-1.0 github:1.33.1 git:4.7.0 jenkins-multijob-plugin:1.36 checks-api:1.6.1 blueocean-web:1.24.5 greenballs:1.15.1 trilead-api:1.0.13 ssh-slaves:1.31.6 cloudbees-bitbucket-branch-source:2.9.7 structs:1.22 plugin-util-api:2.1.0 jackson2-api:2.12.1

            Unassigned Unassigned
            aleksandr Aleksandr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: