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

Is PitMutation Plugin affected by JEP-200 in Jenkins 2.102+?

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We are trying to execute PIT Tests using this plugin version 1.0-17.

      When doing this in our pipeline we get the following error: [1]

      Any idea what is causing this?

      Best Regards

      Frank

      [1]
      java.lang.UnsupportedOperationException: Refusing to marshal com.google.common.collect.ImmutableListMultimap for security reasons; see
      https://jenkins.io/redirect/class-filter/
      at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:543)
      at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
      at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
      at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
      at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
      at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
      Caused: java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.pitmutation.MutationReport#mutationsByPackage_ for class org.jenkinsci.plugins.pitmutation.MutationReport
      at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
      at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
      at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
      at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
      at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
      at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)

        Attachments

          Issue Links

            Activity

            hobbykoch Frank Reisenhofer created issue -
            hobbykoch Frank Reisenhofer made changes -
            Field Original Value New Value
            Description We are trying to execute PIT Tests using this plugin version 10-17.

            When doing this in our pipeline we get the following error: [1]

            Any idea what is causing this?

            Best Regards

            Frank

            [1]
            java.lang.UnsupportedOperationException: Refusing to marshal com.google.common.collect.ImmutableListMultimap for security reasons; see
            [https://jenkins.io/redirect/class-filter/]
            at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:543)
            at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
            at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
            at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
            at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
            at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
            Caused: java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.pitmutation.MutationReport#mutationsByPackage_ for class org.jenkinsci.plugins.pitmutation.MutationReport
            at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
            at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
            at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
            at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
            at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
            at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
            We are trying to execute PIT Tests using this plugin version 1.0-17.

            When doing this in our pipeline we get the following error: [1]

            Any idea what is causing this?

            Best Regards

            Frank

            [1]
             java.lang.UnsupportedOperationException: Refusing to marshal com.google.common.collect.ImmutableListMultimap for security reasons; see
             [https://jenkins.io/redirect/class-filter/]
             at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:543)
             at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
             at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
             at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
             at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
             at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
             Caused: java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.pitmutation.MutationReport#mutationsByPackage_ for class org.jenkinsci.plugins.pitmutation.MutationReport
             at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
             at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
             at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
             at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
             at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
             at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue duplicates JENKINS-52420 [ JENKINS-52420 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels JEP-200

              People

              • Assignee:
                gigasproule Benjamin Sproule
                Reporter:
                hobbykoch Frank Reisenhofer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: