java.lang.RuntimeException: Failed to serialize hudson.model.Hudson#authorizationStrategy for class hudson.model.Hudson at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:131) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:116) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:89) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)

Jenkins JIRA | schtefan | 7 years ago
  1. 0

    When committing after renaming a job or editing the description of a view, the following exception is shown in the browser (Hudson is configured with the "Project-based Matrix Authorization Strategy"): Status Code: 500 Exception: Stacktrace: java.lang.RuntimeException: Failed to serialize hudson.model.Hudson#authorizationStrategy for class hudson.model.Hudson at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:131) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:116) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:89) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38) at com.thoughtworks.xstream.XStream.marshal(XStream.java:837) at com.thoughtworks.xstream.XStream.marshal(XStream.java:826) at com.thoughtworks.xstream.XStream.toXML(XStream.java:801) at hudson.XmlFile.write(XmlFile.java:161) at hudson.model.Hudson.save(Hudson.java:2094) at hudson.model.Hudson.onRenamed(Hudson.java:1876) at hudson.model.Job.renameTo(Job.java:533) at hudson.model.Job.doDoRename(Job.java:1212) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:176) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:92) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:53) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404) at org.kohsuke.stapler.Stapler.service(Stapler.java:117) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:91) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:83) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at hudson.security.GlobalMatrixAuthorizationStrategy$ConverterImpl.marshal(GlobalMatrixAuthorizationStrategy.java:197) at hudson.util.XStream2$AssociatedConverterImpl.marshal(XStream2.java:137) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:168) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:156) ... 67 more

    Jenkins JIRA | 7 years ago | schtefan
    java.lang.RuntimeException: Failed to serialize hudson.model.Hudson#authorizationStrategy for class hudson.model.Hudson at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:131) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:116) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:89) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
  2. 0

    When committing after renaming a job or editing the description of a view, the following exception is shown in the browser (Hudson is configured with the "Project-based Matrix Authorization Strategy"): Status Code: 500 Exception: Stacktrace: java.lang.RuntimeException: Failed to serialize hudson.model.Hudson#authorizationStrategy for class hudson.model.Hudson at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:131) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:116) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:89) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38) at com.thoughtworks.xstream.XStream.marshal(XStream.java:837) at com.thoughtworks.xstream.XStream.marshal(XStream.java:826) at com.thoughtworks.xstream.XStream.toXML(XStream.java:801) at hudson.XmlFile.write(XmlFile.java:161) at hudson.model.Hudson.save(Hudson.java:2094) at hudson.model.Hudson.onRenamed(Hudson.java:1876) at hudson.model.Job.renameTo(Job.java:533) at hudson.model.Job.doDoRename(Job.java:1212) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:176) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:92) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:53) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404) at org.kohsuke.stapler.Stapler.service(Stapler.java:117) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:91) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:83) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:155) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at hudson.security.GlobalMatrixAuthorizationStrategy$ConverterImpl.marshal(GlobalMatrixAuthorizationStrategy.java:197) at hudson.util.XStream2$AssociatedConverterImpl.marshal(XStream2.java:137) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:168) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:156) ... 67 more

    Jenkins JIRA | 7 years ago | schtefan
    java.lang.RuntimeException: Failed to serialize hudson.model.Hudson#authorizationStrategy for class hudson.model.Hudson at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:131) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:116) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:89) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
  3. 0

    [I realize Matrix builds are alpha, but they're just what I need so I'm trying it...] Matrix build throws exception at completion of (successful) run on slave Hudson. Didn't see anything reflected in the UI, but the stack trace implies something in XML didn't get passed up from slave to master. Exception: Mar 4, 2009 10:21:42 AM hudson.model.Run run INFO: OpsCenter_2.1 #116 main build action completed: SUCCESS Mar 4, 2009 10:21:42 AM hudson.model.Executor run SEVERE: Executor throw an exception unexpectedly java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.matrix.MatrixRun at hudson.util.RobustReflectionConverter$2.writeField (RobustReflectionConverter.java:160) at hudson.util.RobustReflectionConverter$2.visit (RobustReflectionConverter.java:131) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields (PureJavaReflectionProvider.java:129) at hudson.util.RobustReflectionConverter.doMarshal (RobustReflectionConverter.java:116) at hudson.util.RobustReflectionConverter.marshal (RobustReflectionConverter.java:89) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert (AbstractReferenceMarshaller.java:65) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother (TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother (TreeMarshaller.java:63) at com.thoughtworks.xstream.core.TreeMarshaller.start (TreeMarshaller.java:98) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal (AbstractTreeMarshallingStrategy.java:38) at com.thoughtworks.xstream.XStream.marshal(XStream.java:845) at com.thoughtworks.xstream.XStream.marshal(XStream.java:834) at com.thoughtworks.xstream.XStream.toXML(XStream.java:815) at hudson.XmlFile.write(XmlFile.java:161) at hudson.model.Run.save(Run.java:1012) at hudson.model.Run.run(Run.java:949) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: java.lang.RuntimeException: Failed to serialize hudson.model.CauseAction#causes for class hudson.model.CauseAction at hudson.util.RobustReflectionConverter$2.writeField (RobustReflectionConverter.java:160) at hudson.util.RobustReflectionConverter$2.visit (RobustReflectionConverter.java:131) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields (PureJavaReflectionProvider.java:129) at hudson.util.RobustReflectionConverter.doMarshal (RobustReflectionConverter.java:116) at hudson.util.RobustReflectionConverter.marshal (RobustReflectionConverter.java:89) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert (AbstractReferenceMarshaller.java:65) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother (TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother (TreeMarshaller.java:63) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem (AbstractCollectionConverter.java:63) at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal (CollectionConverter.java:55) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert (AbstractReferenceMarshaller.java:65) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother (TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother (TreeMarshaller.java:63) at hudson.util.RobustReflectionConverter.marshallField (RobustReflectionConverter.java:168) at hudson.util.RobustReflectionConverter$2.writeField (RobustReflectionConverter.java:156) ... 18 more Caused by: com.thoughtworks.xstream.io.StreamException: : null at com.thoughtworks.xstream.core.util.QuickWriter.flush (QuickWriter.java:73) at com.thoughtworks.xstream.core.util.QuickWriter.write (QuickWriter.java:57) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.endOfLine (PrettyPrintWriter.java:307) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.finishTag (PrettyPrintWriter.java:298) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.startNode (PrettyPrintWriter.java:163) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.startNode (PrettyPrintWriter.java:174) at com.thoughtworks.xstream.io.WriterWrapper.startNode (WriterWrapper.java:33) at com.thoughtworks.xstream.io.path.PathTrackingWriter.startNode (PathTrackingWriter.java:44) at com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriterHelper.startNode (ExtendedHierarchicalStreamWriterHelper.java:17) at hudson.util.RobustReflectionConverter$2.writeField (RobustReflectionConverter.java:142) ... 32 more Caused by: java.io.InterruptedIOException at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:260) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202) at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272) at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276) at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122) at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212) at java.io.BufferedWriter.flush(BufferedWriter.java:236) at hudson.util.AtomicFileWriter.flush(AtomicFileWriter.java:68) at com.thoughtworks.xstream.core.util.QuickWriter.flush (QuickWriter.java:71) ... 41 more Mar 4, 2009 10:21:41 AM hudson.model.Run run INFO: OpsCenter_2.1 ยป COSO_jdk-1.6.0,solaris-10-x86 #116 main build action completed: SUCCESS Mar 4, 2009 10:01:11 AM hudson.TcpSlaveAgentListener$ConnectionHandler run INFO: Accepted connection #1 from /129.147.247.80:36143 Hudson master config.xml: <?xml version='1.0' encoding='UTF-8'?> <hudson> <numExecutors>1</numExecutors> <mode>NORMAL</mode> <authorizationStrategy class="hudson.security.AuthorizationStrategy $Unsecured"/> <securityRealm class="hudson.security.SecurityRealm$None"/> <jdks> <jdk> <name>cos05build_default</name> <home>/usr/java</home> </jdk> <jdk> <name>COSO_jdk-1.6.0</name> <home>/export/build_env/hotd-env/SunOS/i386/jdk1.6.0_07</home> </jdk> </jdks> <clouds/> <slaves> <slave> <name>cos05build-s10</name> <description>Solaris 10 Builder</description> <remoteFS>/export/ciBuilder/Hudson</remoteFS> <numExecutors>1</numExecutors> <mode>EXCLUSIVE</mode> <retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/> <launcher class="hudson.slaves.JNLPLauncher"/> <label>solaris solaris-10 solaris-10-x86</label> <nodeProperties> <hudson.tools.ToolLocationNodeProperty> <locations> <hudson.tools.ToolLocationNodeProperty_-ToolLocation> <type>hudson.model.JDK$DescriptorImpl</type> <name>COSO_jdk-1.6.0</name> <home>/export/build_env/hotd-env/SunOS/i386/jdk1.6.0_07</home> </hudson.tools.ToolLocationNodeProperty_-ToolLocation> <hudson.tools.ToolLocationNodeProperty_-ToolLocation> <type>hudson.tasks.Ant$AntInstallation$DescriptorImpl</type> <name>COSO_ant-1.7.0</name> <home>/export/build_env/hotd-env/apache-ant-1.7.0</home> </hudson.tools.ToolLocationNodeProperty_-ToolLocation> </locations> </hudson.tools.ToolLocationNodeProperty> </nodeProperties> </slave> <slave> <name>cos05build-linux</name> <description>Linux RHEL 5 Builder</description> <remoteFS>/export/ciBuilder/Hudson</remoteFS> <numExecutors>1</numExecutors> <mode>EXCLUSIVE</mode> <retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/> <launcher class="hudson.slaves.JNLPLauncher"/> <label>linux linux-rhel5 linux-rhel5-x86</label> <nodeProperties> <hudson.tools.ToolLocationNodeProperty> <locations> <hudson.tools.ToolLocationNodeProperty_-ToolLocation> <type>hudson.model.JDK$DescriptorImpl</type> <name>cos05build_default</name> <home>/export/build_env/hotd-env/SunOS/i386/jdk1.6.0_07</home> </hudson.tools.ToolLocationNodeProperty_-ToolLocation> <hudson.tools.ToolLocationNodeProperty_-ToolLocation> <type>hudson.model.JDK$DescriptorImpl</type> <name>cos05build_default</name> <home>/export/build_env/hotd-env/apache-ant-1.7.0</home> </hudson.tools.ToolLocationNodeProperty_-ToolLocation> </locations> </hudson.tools.ToolLocationNodeProperty> </nodeProperties> </slave> </slaves> <quietPeriod>5</quietPeriod> <views> <hudson.model.AllView> <owner class="hudson" reference="../../.."/> <name>All</name> </hudson.model.AllView> </views> <primaryView>All</primaryView> <slaveAgentPort>0</slaveAgentPort> <label>solaris solaris-nv solaris-nv-x86</label> <nodeProperties/> <globalNodeProperties/> <disabledAdministrativeMonitors> <string>hudson.os.solaris.ZFSInstaller</string> </disabledAdministrativeMonitors> </hudson> Job-specific config.xml: <?xml version='1.0' encoding='UTF-8'?> <matrix-project> <actions/> <description>xVM Ops Center 2.1</description> <logRotator> <daysToKeep>-1</daysToKeep> <numToKeep>3</numToKeep> </logRotator> <keepDependencies>false</keepDependencies> <properties> <hudson.model.ParametersDefinitionProperty> <parameterDefinitions> <hudson.model.StringParameterDefinition> <name>COSO_LOC</name> <defaultValue>/export/build_env</defaultValue> </hudson.model.StringParameterDefinition> <hudson.model.StringParameterDefinition> <name>BE_TOOLS</name> <defaultValue>/export/build_env/hotd-env</defaultValue> </hudson.model.StringParameterDefinition> <hudson.model.StringParameterDefinition> <name>SUNWSPRO</name> <defaultValue>/usr/local/sunstudio_i386-v10.0/SUNWspro</defaultValue> </hudson.model.StringParameterDefinition> <hudson.model.StringParameterDefinition> <name>PATH</name> <defaultValue>/usr/local/bin:$JAVA_HOME/bin:/usr/local/sunstudio_i386- v10.0/SUNWspro/bin:/usr/sfw/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/ X11R6/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/ucb</defaultValue> </hudson.model.StringParameterDefinition> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> <hudson.plugins.disk__usage.DiskUsageProperty/> </properties> <scm class="hudson.plugins.mercurial.MercurialSCM"> <source>ssh://hg@krumholz.central/repo/Cyberspace</source> <modules></modules> <clean>false</clean> </scm> <canRoam>true</canRoam> <disabled>false</disabled> <triggers class="vector"> <hudson.triggers.SCMTrigger> <spec>*/3 * * * *</spec> </hudson.triggers.SCMTrigger> </triggers> <axes> <axis> <name>jdk</name> <values> <string>COSO_jdk-1.6.0</string> </values> </axis> <axis> <name>label</name> <values> <string>solaris-10-x86</string> </values> </axis> </axes> <builders> <hudson.tasks.Ant> <targets>nightly</targets> <antName>COSO_ant-1.7.0</antName> <buildFile>src/build.xml</buildFile> </hudson.tasks.Ant> </builders> <publishers> <hudson.plugins.warnings.WarningsPublisher> <threshold></threshold> <newThreshold></newThreshold> <failureThreshold></failureThreshold> <newFailureThreshold></newFailureThreshold> <thresholdEnabled>false</thresholdEnabled> <minimumAnnotations>0</minimumAnnotations> <healthy></healthy> <unHealthy></unHealthy> <healthyAnnotations>0</healthyAnnotations> <unHealthyAnnotations>0</unHealthyAnnotations> <healthyReportEnabled>false</healthyReportEnabled> <height></height> <pluginName>[WARNINGS] </pluginName> <thresholdLimit>low</thresholdLimit> <defaultEncoding></defaultEncoding> <pattern>src/*.txt</pattern> <parserNames> <string>GNU compiler (gcc)</string> <string>Java Compiler</string> <string>SUN C++ Compiler</string> </parserNames> </hudson.plugins.warnings.WarningsPublisher> </publishers> <buildWrappers> <hudson.plugins.build__timeout.BuildTimeoutWrapper> <timeoutMinutes>60</timeoutMinutes> </hudson.plugins.build__timeout.BuildTimeoutWrapper> </buildWrappers> </matrix-project>

    Jenkins JIRA | 8 years ago | tallpgr
    java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.matrix.MatrixRun at hudson.util.RobustReflectionConverter$2.writeField (RobustReflectionConverter.java:160) at hudson.util.RobustReflectionConverter$2.visit (RobustReflectionConverter.java:131) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields (PureJavaReflectionProvider.java:129)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Build flow plugin serialization

    Google Groups | 1 year ago | jan_lut
    java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class com.cloudbees.plugins.flow.FlowRun at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015) at com.thoughtworks.xstream.XStream.toXML(XStream.java:988) at hudson.XmlFile.write(XmlFile.java:178) at hudson.model.Run.setDisplayName(Run.java:782) at hudson.model.Run$setDisplayName.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) test_trigger_arm_stub.do_test_trigger_arm_stub(test_trigger_yb_arm_stub.groovy:13) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at org.codehaus.groovy.runtime.metaclass.MixinInstanceMetaMethod.invoke(MixinInstanceMetaMethod.java:53) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079) at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903) at com.cloudbees.plugins.flow.FlowDelegate.invokeMethod(FlowDSL.groovy) at hudson.util.spring.ClosureScript.invokeMethod(ClosureScript.java:83) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:72) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145) at Script1.run(Script1.groovy:3) at Script1$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
  6. 0

    Re: Build flow plugin serialization

    Google Groups | 1 year ago | jan_lut
    java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class com.cloudbees.plugins.flow.FlowRun at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:214) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015) at com.thoughtworks.xstream.XStream.toXML(XStream.java:988) at hudson.XmlFile.write(XmlFile.java:178) at hudson.model.Run.setDisplayName(Run.java:782) at hudson.model.Run$setDisplayName.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) test_trigger_arm_stub.do_test_trigger_arm_stub(test_trigger_yb_arm_stub.groovy:13) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at org.codehaus.groovy.runtime.metaclass.MixinInstanceMetaMethod.invoke(MixinInstanceMetaMethod.java:53) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079) at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903) at com.cloudbees.plugins.flow.FlowDelegate.invokeMethod(FlowDSL.groovy) at hudson.util.spring.ClosureScript.invokeMethod(ClosureScript.java:83) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:72) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145) at Script1.run(Script1.groovy:3) at Script1$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Failed to serialize hudson.model.Hudson#authorizationStrategy for class hudson.model.Hudson at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:131) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:116) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:89) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)

      at com.thoughtworks.xstream.core.TreeMarshaller.start()
    2. XStream Core
      TreeMarshaller.start
      1. com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)
      1 frame