[ 
https://issues.jenkins-ci.org/browse/JENKINS-13533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161834#comment-161834
 ] 

domi edited comment on JENKINS-13533 at 4/21/12 10:26 AM:
----------------------------------------------------------

Sorry, I'm not able to reproduce the issue...
can you give me some more hints on this one?

- you provide a a configuration file - right? how many?
- in the maven build config, do you select a provided settings.xml from the 
drop down?
- has the build worked with the old version?
- did this occur right with the first build after the upgrade?
- did this occur after the build failed because of an other issue first?
- was the previous build successful with the same configuration and plugin 
version?
- was the previous build executed on the same slave?

could you please also provide the build.xml of the failed and the previous 
build?

                
      was (Author: domi):
    Sorry, I'm not able to reproduce the issue...
can you give me some more hints on this one?

- you provide a a configuration file - right? how many?
- in the maven build config, do you select a provided settings.xml from the 
drop down?
- has the build worked with the old version?
- did this occur right with the first build after the upgrade?
- did this occur after the build failed because of an other issue first?
- was the previous build successful with the same configuration and plugin 
version?
- was the previous build executed on the same slave?
                  
> Maven build fails on CleanTempFilesAction#tempFiles serialization
> -----------------------------------------------------------------
>
>                 Key: JENKINS-13533
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13533
>             Project: Jenkins
>          Issue Type: Bug
>          Components: config-file-provider
>         Environment: config-file-provider 2.1
> Jenkins 1.460
>            Reporter: mdp
>            Assignee: domi
>
> A Maven project build (on a remote slave) fails with:
> org.apache.maven.InternalErrorException: Internal error: 
> java.lang.RuntimeException: Failed to serialize 
> hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
>       at 
> org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>       at 
> org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
>       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.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
>       at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
>       at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
>       at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
>       at hudson.remoting.UserRequest.perform(UserRequest.java:118)
>       at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>       at hudson.remoting.Request$2.run(Request.java:287)
>       at 
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.RuntimeException: Failed to serialize 
> hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
>       at 
> hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
>       at 
> hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
>       at 
> com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
>       at 
> hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
>       at 
> hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
>       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:840)
>       at com.thoughtworks.xstream.XStream.marshal(XStream.java:829)
>       at com.thoughtworks.xstream.XStream.toXML(XStream.java:804)
>       at hudson.XmlFile.write(XmlFile.java:173)
>       at hudson.model.Run.save(Run.java:1557)
>       at 
> hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:532)
>       at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:492)
>       at sun.reflect.GeneratedMethodAccessor543.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at hudson.model.Executor$1.call(Executor.java:533)
>       at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23)
>       at $Proxy51.end(Unknown Source)
>       at sun.reflect.GeneratedMethodAccessor542.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
>       at 
> hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
>       at 
> hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
>       ... 9 more
> Caused by: java.lang.RuntimeException: Failed to serialize 
> org.jenkinsci.plugins.configfiles.buildwrapper.CleanTempFilesAction#tempFiles 
> for class org.jenkinsci.plugins.configfiles.buildwrapper.CleanTempFilesAction
>       at 
> hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
>       at 
> hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
>       at 
> com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
>       at 
> hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
>       at 
> hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
>       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.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
>       at 
> com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
>       at 
> com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
>       at 
> com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
>       at 
> hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
>       at 
> hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
>       ... 37 more
> Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not 
> call hudson.FilePath.writeObject() : Can't send a remote FilePath to a 
> different remote channel
> ---- Debugging information ----
> message             : Could not call hudson.FilePath.writeObject()
> cause-exception     : java.lang.IllegalStateException
> cause-message       : Can't send a remote FilePath to a different remote 
> channel
> -------------------------------
>       at 
> com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:104)
>       at 
> com.thoughtworks.xstream.converters.reflection.SerializableConverter.doMarshal(SerializableConverter.java:215)
>       at 
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
>       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.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
>       at 
> com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
>       at 
> com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
>       at 
> com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
>       at 
> hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
>       at 
> hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
>       ... 50 more
> Caused by: java.lang.IllegalStateException: Can't send a remote FilePath to a 
> different remote channel
>       at hudson.FilePath.writeObject(FilePath.java:2111)
>       at sun.reflect.GeneratedMethodAccessor222.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:100)
>       ... 61 more
> I guess this may be related to JENKINS-12823.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to