PRQA Jenkins plugin 3.0.1 reports the following issue while unmarshalling report information:

      ConversionException: Refusing to unmarshal chosenReportTypes for security reasons; see https://jenkins.io/redirect/class-filter/
      ---- Debugging information ----
      class : java.util.EnumSet required-type : java.util.EnumSet converter-type : hudson.util.XStream2$BlacklistedTypesConverter path : /build/actions/net.praqma.jenkins.plugin.prqa.notifier.PRQABuildAction/publisher/chosenReportTypes line number : 141
      ------------------------------

      This problem seems to indicate the java.util.EnumSet is not being whitelisted in Jenkins.

          [JENKINS-50939] Problem unmarshalling java.util.EnumSet

          Marcos Bento added a comment -

          PR 3403(https://github.com/jenkinsci/jenkins/pull/3403) submitted to fix this problem.

          Marcos Bento added a comment - PR 3403 ( https://github.com/jenkinsci/jenkins/pull/3403 ) submitted to fix this problem.

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          core/src/main/resources/jenkins/security/whitelisted-classes.txt
          http://jenkins-ci.org/commit/jenkins/e511ff832a24350bc43045abbac5f4070bfb376b
          Log:
          Merge pull request #3403 from marcosbento/whitelist_enumset

          JENKINS-50939 - Whitelist java.util.EnumSet

          Compare: https://github.com/jenkinsci/jenkins/compare/909f55b77da1...e511ff832a24

          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/e511ff832a24350bc43045abbac5f4070bfb376b Log: Merge pull request #3403 from marcosbento/whitelist_enumset JENKINS-50939 - Whitelist java.util.EnumSet Compare: https://github.com/jenkinsci/jenkins/compare/909f55b77da1...e511ff832a24

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          core/src/main/resources/jenkins/security/whitelisted-classes.txt
          http://jenkins-ci.org/commit/jenkins/e10e98f85408164048350b0f924b63e279624d26
          Log:
          Merge pull request #3403 from marcosbento/whitelist_enumset

          JENKINS-50939 - Whitelist java.util.EnumSet

          (cherry picked from commit e511ff832a24350bc43045abbac5f4070bfb376b)

          Compare: https://github.com/jenkinsci/jenkins/compare/f11b585a28c3...e10e98f85408

          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/e10e98f85408164048350b0f924b63e279624d26 Log: Merge pull request #3403 from marcosbento/whitelist_enumset JENKINS-50939 - Whitelist java.util.EnumSet (cherry picked from commit e511ff832a24350bc43045abbac5f4070bfb376b) Compare: https://github.com/jenkinsci/jenkins/compare/f11b585a28c3...e10e98f85408

          Oleg Nenashev added a comment -

          Fixed in Jenkins 2.119 and 2.107.3.
          I am not sure what is the status on the plugin's side, but the core fix should be enough

          Oleg Nenashev added a comment - Fixed in Jenkins 2.119 and 2.107.3. I am not sure what is the status on the plugin's side, but the core fix should be enough

            Unassigned Unassigned
            marcos_bento Marcos Bento
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: