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

OctoPerf Plugin broken by JEP-200

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Under Manage Jenkins >> Mange Old Data i get the following exception:

      ConversionException: Refusing to unmarshal credentials for security reasons; see https://jenkins.io/redirect/class-filter/ ---- Debugging information ---- class : java.util.Optional required-type : java.util.Optional converter-type : hudson.util.XStream2$BlacklistedTypesConverter path : /project/builders/org.jenkinsci.plugins.octoperf.OctoperfBuilder/credentials line number : 16 -------------------------------, InstantiationError: null

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Core fix is already approved.
          It is possible to patch the plugin by adding a "META-INF/hudson.remoting.ClassFilter" resource with "java.util.Optional" entry if you want to go ahead and apply a hotfix for now. Example: https://github.com/jenkinsci/workflow-support-plugin/pull/50/files

          Show
          oleg_nenashev Oleg Nenashev added a comment - Core fix is already approved. It is possible to patch the plugin by adding a "META-INF/hudson.remoting.ClassFilter" resource with "java.util.Optional" entry if you want to go ahead and apply a hotfix for now. Example: https://github.com/jenkinsci/workflow-support-plugin/pull/50/files
          Hide
          jloisel Jerome Loisel added a comment -

          Okay, i'm going to do this.

          Show
          jloisel Jerome Loisel added a comment - Okay, i'm going to do this.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          core/src/main/resources/jenkins/security/whitelisted-classes.txt
          http://jenkins-ci.org/commit/jenkins/88eb5ee3e694d95f1c7da44bfce181c4590a47ad
          Log:
          JENKINS-48958 - whitelist java.util.Optional

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/resources/jenkins/security/whitelisted-classes.txt http://jenkins-ci.org/commit/jenkins/88eb5ee3e694d95f1c7da44bfce181c4590a47ad Log: JENKINS-48958 - whitelist java.util.Optional
          Hide
          rpionke Raphael Pionke added a comment -

          I've tested this change with the 2.103-SNAPSHOT and i don't get the warning and the build works as expected.

          Show
          rpionke Raphael Pionke added a comment - I've tested this change with the 2.103-SNAPSHOT and i don't get the warning and the build works as expected.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Fixed in Jenkins 2.103 by whitelisting the class

          Show
          oleg_nenashev Oleg Nenashev added a comment - Fixed in Jenkins 2.103 by whitelisting the class

            People

            Assignee:
            oleg_nenashev Oleg Nenashev
            Reporter:
            rpionke Raphael Pionke
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: