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

java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.matrix.MatrixBuild

    XMLWordPrintable

Details

    Description

      23:19:07 FATAL: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.matrix.MatrixBuild
      23:19:07 java.lang.UnsupportedOperationException: Refusing to marshal java.io.PrintStream for security reasons; see https://jenkins.io/redirect/class-filter/
      23:19:07 	at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:546)
      23:19:07 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
      23:19:07 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
      23:19:07 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
      23:19:07 	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
      23:19:07 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
      23:19:07 Caused: java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.EnvironmentVarSetter#log for class org.jenkinsci.plugins.EnvironmentVarSetter
      23:19:07 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
      23:19:07 	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
      23:19:07 	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
      23:19:07 	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
      23:19:07 	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
      23:19:07 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
      23:19:07 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
      23:19:07 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
      23:19:07 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
      23:19:07 	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      23:19:07 	at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
      23:19:07 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
      23:19:07 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
      23:19:07 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
      23:19:07 	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
      23:19:07 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
      23:19:07 Caused: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.matrix.MatrixBuild
      23:19:07 	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
      23:19:07 	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
      23:19:07 	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
      23:19:07 	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
      23:19:07 	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
      23:19:07 	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
      23:19:07 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
      23:19:07 	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
      23:19:07 	at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
      23:19:07 	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
      23:19:07 	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
      23:19:07 	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
      23:19:07 	at com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
      23:19:07 	at hudson.XmlFile.write(XmlFile.java:193)
      23:19:07 Caused: java.io.IOException
      23:19:07 	at hudson.XmlFile.write(XmlFile.java:200)
      23:19:07 	at hudson.model.Run.save(Run.java:2011)
      23:19:07 	at hudson.model.Run.setDisplayName(Run.java:807)
      23:19:07 	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName(BuildNameSetter.java:76)
      23:19:07 	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.access$000(BuildNameSetter.java:31)
      23:19:07 	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter$2.endBuild(BuildNameSetter.java:93)
      23:19:07 	at hudson.matrix.MatrixBuild$MatrixBuildExecution.post2(MatrixBuild.java:433)
      23:19:07 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      23:19:07 	at hudson.model.Run.execute(Run.java:1840)
      23:19:07 	at hudson.matrix.MatrixBuild.run(MatrixBuild.java:323)
      23:19:07 	at hudson.model.ResourceController.execute(ResourceController.java:97)
      23:19:07 	at hudson.model.Executor.run(Executor.java:429) 

      JEP-200 related

      Jenkins 2.138
      Matrix Project Plugin 1.13

      Attachments

        Issue Links

          Activity

            jnewc Jack Newcombe created issue -
            jnewc Jack Newcombe made changes -
            Field Original Value New Value
            Description {code:java}
            23:19:07 FATAL: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.matrix.MatrixBuild
            23:19:07 java.lang.UnsupportedOperationException: Refusing to marshal java.io.PrintStream for security reasons; see https://jenkins.io/redirect/class-filter/
            23:19:07 at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:546)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
            23:19:07 at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
            23:19:07 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
            23:19:07 Caused: java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.EnvironmentVarSetter#log for class org.jenkinsci.plugins.EnvironmentVarSetter
            23:19:07 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
            23:19:07 at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
            23:19:07 at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
            23:19:07 at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
            23:19:07 at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
            23:19:07 at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
            23:19:07 at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
            23:19:07 at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
            23:19:07 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
            23:19:07 Caused: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.matrix.MatrixBuild
            23:19:07 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
            23:19:07 at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
            23:19:07 at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
            23:19:07 at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
            23:19:07 at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
            23:19:07 at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
            23:19:07 at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
            23:19:07 at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
            23:19:07 at com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
            23:19:07 at hudson.XmlFile.write(XmlFile.java:193)
            23:19:07 Caused: java.io.IOException
            23:19:07 at hudson.XmlFile.write(XmlFile.java:200)
            23:19:07 at hudson.model.Run.save(Run.java:2011)
            23:19:07 at hudson.model.Run.setDisplayName(Run.java:807)
            23:19:07 at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName(BuildNameSetter.java:76)
            23:19:07 at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.access$000(BuildNameSetter.java:31)
            23:19:07 at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter$2.endBuild(BuildNameSetter.java:93)
            23:19:07 at hudson.matrix.MatrixBuild$MatrixBuildExecution.post2(MatrixBuild.java:433)
            23:19:07 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
            23:19:07 at hudson.model.Run.execute(Run.java:1840)
            23:19:07 at hudson.matrix.MatrixBuild.run(MatrixBuild.java:323)
            23:19:07 at hudson.model.ResourceController.execute(ResourceController.java:97)
            23:19:07 at hudson.model.Executor.run(Executor.java:429) {code}

            JEP-200 related
            {code:java}
            23:19:07 FATAL: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.matrix.MatrixBuild
            23:19:07 java.lang.UnsupportedOperationException: Refusing to marshal java.io.PrintStream for security reasons; see https://jenkins.io/redirect/class-filter/
            23:19:07 at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:546)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
            23:19:07 at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
            23:19:07 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
            23:19:07 Caused: java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.EnvironmentVarSetter#log for class org.jenkinsci.plugins.EnvironmentVarSetter
            23:19:07 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
            23:19:07 at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
            23:19:07 at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
            23:19:07 at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
            23:19:07 at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
            23:19:07 at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
            23:19:07 at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
            23:19:07 at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
            23:19:07 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
            23:19:07 Caused: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.matrix.MatrixBuild
            23:19:07 at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
            23:19:07 at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)
            23:19:07 at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
            23:19:07 at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209)
            23:19:07 at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150)
            23:19:07 at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
            23:19:07 at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
            23:19:07 at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
            23:19:07 at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
            23:19:07 at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
            23:19:07 at com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
            23:19:07 at hudson.XmlFile.write(XmlFile.java:193)
            23:19:07 Caused: java.io.IOException
            23:19:07 at hudson.XmlFile.write(XmlFile.java:200)
            23:19:07 at hudson.model.Run.save(Run.java:2011)
            23:19:07 at hudson.model.Run.setDisplayName(Run.java:807)
            23:19:07 at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName(BuildNameSetter.java:76)
            23:19:07 at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.access$000(BuildNameSetter.java:31)
            23:19:07 at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter$2.endBuild(BuildNameSetter.java:93)
            23:19:07 at hudson.matrix.MatrixBuild$MatrixBuildExecution.post2(MatrixBuild.java:433)
            23:19:07 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
            23:19:07 at hudson.model.Run.execute(Run.java:1840)
            23:19:07 at hudson.matrix.MatrixBuild.run(MatrixBuild.java:323)
            23:19:07 at hudson.model.ResourceController.execute(ResourceController.java:97)
            23:19:07 at hudson.model.Executor.run(Executor.java:429) {code}

            JEP-200 related

            Jenkins 2.138
            Matrix Project Plugin 1.13
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Kohsuke Kawaguchi [ kohsuke ]
            oleg_nenashev Oleg Nenashev made changes -
            Component/s _unsorted [ 19622 ]
            Component/s matrix-project-plugin [ 18765 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue duplicates JENKINS-48944 [ JENKINS-48944 ]
            oleg_nenashev Oleg Nenashev made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            oleg_nenashev Oleg Nenashev made changes -
            Component/s build-name-setter-plugin [ 15902 ]
            Component/s _unsorted [ 19622 ]

            People

              Unassigned Unassigned
              jnewc Jack Newcombe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: