Skip to content

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

Description

@jenkins-infra-bot

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.


Originally reported by marcos_bento, imported from: Problem unmarshalling java.util.EnumSet
  • status: Resolved
  • priority: Minor
  • component(s): core, prqa-plugin
  • label(s): 2.107.3-fixed, JEP-200, core
  • resolution: Fixed
  • resolved: 2018-05-02T11:30:21+00:00
  • votes: 0
  • watchers: 3
  • imported: 2025-11-24
Raw content of original issue

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.

  • environment: PRQA Jenkins plugin 3.0.1 with Jenkins 2.107.2

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions