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

JSONObject["hudson-triggers-SCMTrigger"] is not a JSONObject

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If I want to save my multi project job I get the error/callstack from attached "exception.txt". Please find attached the project file (minimalized to get this error). If I open it and press "apply" or "save" I got this error. This issue starts with 2.264. looks similar to issue https://issues.jenkins.io/browse/JENKINS-5118

       

      BTW pressing "apply" opens a new frame with error where the link to get callstack is not working

       

        Attachments

        1. config.xml
          0.9 kB
        2. exception.txt
          14 kB
        3. jenkinsPlugins.txt
          8 kB
        4. jenkinsPluginsWithCurl.txt
          3 kB
        5. screenshot_apply.png
          screenshot_apply.png
          28 kB
        6. screenshot_save.png
          screenshot_save.png
          11 kB

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Looks to be a table to divs issue

          Show
          oleg_nenashev Oleg Nenashev added a comment - Looks to be a table to divs issue
          Hide
          timja Tim Jacomb added a comment -

          Hi please see https://issues.jenkins.io/browse/JENKINS-64072

          Without a full plugins list and a screenshot we can't reproduce this

          Show
          timja Tim Jacomb added a comment - Hi please see https://issues.jenkins.io/browse/JENKINS-64072 Without a full plugins list and a screenshot we can't reproduce this
          Hide
          arbeita Ronny Borchert added a comment -

          I added screenshots and plugin list. The issue appears only on press "Save" or "Apply".

          Show
          arbeita Ronny Borchert added a comment - I added screenshots and plugin list. The issue appears only on press "Save" or "Apply".
          Hide
          timja Tim Jacomb added a comment -

          Can you use the script please:

          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/ /:/'
          
          Show
          timja Tim Jacomb added a comment - Can you use the script please: 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/ /:/'
          Hide
          arbeita Ronny Borchert added a comment -

          I attached it now. Having a ! in password is bad for seldom bash user , thats why I did it with the jenkins groovy script via console.

          Show
          arbeita Ronny Borchert added a comment - I attached it now. Having a ! in password is bad for seldom bash user , thats why I did it with the jenkins groovy script via console.
          Hide
          timja Tim Jacomb added a comment -

          Ronny Borchert creating an API token is probably a safer way, but thanks

          Show
          timja Tim Jacomb added a comment - Ronny Borchert creating an API token is probably a safer way, but thanks
          Hide
          timja Tim Jacomb added a comment -

          This appears to be the TFS plugin which has been suspended due to licensing issues and is not available in new installations (I had to build it from source to test it as I couldn't download it)

          see https://issues.jenkins.io/browse/INFRA-2751

          I don't intend to patch this myself but you or someone else could provide a patch and build from source or CI.
          It won't be possible for a release to be done until the licensing issue is addressed

          Show
          timja Tim Jacomb added a comment - This appears to be the TFS plugin which has been suspended due to licensing issues and is not available in new installations (I had to build it from source to test it as I couldn't download it) see https://issues.jenkins.io/browse/INFRA-2751 I don't intend to patch this myself but you or someone else could provide a patch and build from source or CI. It won't be possible for a release to be done until the licensing issue is addressed
          Hide
          arbeita Ronny Borchert added a comment -

          I could give it a try, my problem is only that if I would create a pull request nobody will merge it. My merge request is still open for a simple none code change.

          Show
          arbeita Ronny Borchert added a comment - I could give it a try, my problem is only that if I would create a pull request nobody will merge it. My merge request is still open for a simple none code change.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            arbeita Ronny Borchert
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: