Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: ad95f93a8b945525a5e80cbc26163bfa684156b3
      
https://github.com/jenkinsci/jenkins/commit/ad95f93a8b945525a5e80cbc26163bfa684156b3
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-05-30 (Wed, 30 May 2012)

  Changed paths:
    M core/src/main/java/hudson/model/Queue.java
    M test/src/test/java/hudson/model/QueueTest.java

  Log Message:
  -----------
  fixed a persistence problem in Queue.

Queue.BlockedItem is not static, and so if items include this type, it ends up 
trying to persist the whole Queue instance, which will never work.
Sample stack trace below:

java.lang.RuntimeException: Failed to serialize 
hudson.model.Queue$BlockedItem#this$0 for class hudson.model.Queue$BlockedItem
        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 
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.Queue.save(Queue.java:349)
        at jenkins.model.Jenkins.cleanUp(Jenkins.java:2575)
        at 
org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:381)
        at junit.framework.TestCase.runBare(TestCase.java:140)
        at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:286)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:243)
        at junit.framework.TestSuite.run(TestSuite.java:238)
        at 
com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:142)
        at 
com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:62)
        at 
com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:58)
        at sun.reflect.GeneratedMethodAccessor352.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)
        at hudson.remoting.UserRequest.perform(UserRequest.java:118)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:270)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        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.Queue#parked for class hudson.model.Queue
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 47 more
Caused by: java.lang.RuntimeException: Failed to serialize 
java.lang.Thread#group for class hudson.model.Executor
        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.MapConverter.marshal(MapConverter.java:57)
        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)
        ... 55 more
Caused by: java.lang.RuntimeException: Failed to serialize 
java.lang.ThreadGroup#threads for class java.lang.ThreadGroup
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 68 more
Caused by: java.lang.RuntimeException: Failed to serialize 
java.lang.Thread#threadLocals for class hudson.remoting.Channel$ReaderThread
        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.ArrayConverter.marshal(ArrayConverter.java:45)
        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)
        ... 76 more
Caused by: java.lang.RuntimeException: Failed to serialize 
java.lang.ThreadLocal$ThreadLocalMap#table for class 
java.lang.ThreadLocal$ThreadLocalMap
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 89 more
Caused by: java.lang.RuntimeException: Failed to serialize 
java.lang.ThreadLocal$ThreadLocalMap$Entry#value for class 
java.lang.ThreadLocal$ThreadLocalMap$Entry
        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.ArrayConverter.marshal(ArrayConverter.java:45)
        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)
        ... 97 more
Caused by: java.lang.RuntimeException: Failed to serialize 
hudson.remoting.Channel#executor for class hudson.remoting.Channel
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 110 more
Caused by: java.lang.RuntimeException: Failed to serialize 
java.util.concurrent.ThreadPoolExecutor#workers for class 
java.util.concurrent.ThreadPoolExecutor
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 118 more
Caused by: java.lang.RuntimeException: Failed to serialize 
java.util.concurrent.ThreadPoolExecutor$Worker#thread for class 
java.util.concurrent.ThreadPoolExecutor$Worker
        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)
        ... 126 more
Caused by: java.lang.RuntimeException: Failed to serialize 
java.lang.Thread#threadLocals for class java.lang.Thread
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 139 more
Caused by: java.lang.RuntimeException: Failed to serialize 
java.lang.ThreadLocal$ThreadLocalMap#table for class 
java.lang.ThreadLocal$ThreadLocalMap
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 147 more
Caused by: java.lang.RuntimeException: Failed to serialize 
java.lang.ref.Reference#referent for class 
java.lang.ThreadLocal$ThreadLocalMap$Entry
        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.ArrayConverter.marshal(ArrayConverter.java:45)
        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)
        ... 155 more
Caused by: java.lang.RuntimeException: Failed to serialize 
com.google.inject.internal.InjectorImpl$1#this$0 for class 
com.google.inject.internal.InjectorImpl$1
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 168 more
Caused by: java.lang.RuntimeException: Failed to serialize 
com.google.inject.internal.InjectorImpl#state for class 
com.google.inject.internal.InjectorImpl
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 176 more
Caused by: java.lang.RuntimeException: Failed to serialize 
com.google.inject.internal.InheritingState#explicitBindingsMutable for class 
com.google.inject.internal.InheritingState
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 184 more
Caused by: java.lang.RuntimeException: Failed to serialize 
com.google.inject.internal.BindingImpl#internalFactory for class 
com.google.inject.internal.ProviderInstanceBindingImpl
        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.MapConverter.marshal(MapConverter.java:58)
        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)
        ... 192 more
Caused by: java.lang.RuntimeException: Failed to serialize 
com.google.inject.internal.InternalFactoryToProviderAdapter#provider for class 
com.google.inject.internal.InternalFactoryToProviderAdapter
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 205 more
Caused by: java.lang.RuntimeException: Failed to serialize 
hudson.ExtensionFinder$GuiceFinder$4$1#val$base for class 
hudson.ExtensionFinder$GuiceFinder$4$1
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 213 more
Caused by: java.lang.RuntimeException: Failed to serialize 
com.google.inject.Scopes$1$1#val$creator for class com.google.inject.Scopes$1$1
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 221 more
Caused by: java.lang.RuntimeException: Failed to serialize 
com.google.inject.internal.ProviderToInternalFactoryAdapter#internalFactory for 
class com.google.inject.internal.ProviderToInternalFactoryAdapter
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 229 more
Caused by: java.lang.RuntimeException: Failed to serialize 
com.google.inject.internal.InternalFactoryToInitializableAdapter#initializable 
for class com.google.inject.internal.InternalFactoryToInitializableAdapter
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 237 more
Caused by: java.lang.RuntimeException: Failed to serialize 
com.google.inject.internal.Initializables$1#val$instance for class 
com.google.inject.internal.Initializables$1
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 245 more
Caused by: java.lang.RuntimeException: Failed to serialize 
hudson.ExtensionFinder$GuiceFinder$SezpozModule$1#this$1 for class 
hudson.ExtensionFinder$GuiceFinder$SezpozModule$1
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 253 more
Caused by: java.lang.RuntimeException: Failed to serialize 
hudson.ExtensionFinder$GuiceFinder$SezpozModule#index for class 
hudson.ExtensionFinder$GuiceFinder$SezpozModule
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 261 more
Caused by: java.lang.RuntimeException: Failed to serialize 
net.java.sezpoz.IndexItem#instance for class net.java.sezpoz.IndexItem
        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)
        ... 269 more
Caused by: java.lang.RuntimeException: Failed to serialize 
hudson.node_monitors.AbstractNodeMonitorDescriptor#record for class 
hudson.node_monitors.ClockMonitor$1
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 282 more
Caused by: java.lang.RuntimeException: Failed to serialize 
hudson.node_monitors.AbstractNodeMonitorDescriptor$Record#data for class 
hudson.node_monitors.AbstractNodeMonitorDescriptor$Record
        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 
hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
        at 
hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
        ... 290 more
Caused by: java.lang.RuntimeException: Failed to serialize 
hudson.slaves.SlaveComputer#taskListener for class hudson.slaves.SlaveComputer
        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.MapConverter.marshal(MapConverter.java:57)
        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)
        ... 298 more


  Commit: 4672995e528f7bc93fc0488010ddcc27601bc03f
      
https://github.com/jenkinsci/jenkins/commit/4672995e528f7bc93fc0488010ddcc27601bc03f
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-05-30 (Wed, 30 May 2012)

  Changed paths:
    M core/src/main/java/hudson/ExtensionPoint.java

  Log Message:
  -----------
  doc improvement


  Commit: 642a57c7ab782898a84d6c2cfa02ae2be2703105
      
https://github.com/jenkinsci/jenkins/commit/642a57c7ab782898a84d6c2cfa02ae2be2703105
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-05-30 (Wed, 30 May 2012)

  Changed paths:
    M test/src/test/java/hudson/model/queue/QueueTaskDispatcherTest.java

  Log Message:
  -----------
  Fixed a hang test in ci.jenkins-ci.org

It appears that this manually registered extension lives longer than the
single test and causing later tests to block forever.

Normally HudsonTestCase.tearDown() is supposed to clear it, but the
exception in the tearDown() prevented that code from getting executed.


  Commit: 0ffe9d591faa5838c21b2859161eb6c23d0bbd62
      
https://github.com/jenkinsci/jenkins/commit/0ffe9d591faa5838c21b2859161eb6c23d0bbd62
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-05-30 (Wed, 30 May 2012)

  Changed paths:
    M test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java

  Log Message:
  -----------
  follow-up to 642a57c7ab782898a84d6c2cfa02ae2be2703105

There's no guarantee that the tearDown method completes, so make sure we have 
clean environment by doing this in the setUp.


  Commit: 52b9e14aad9f77b3915a311b5ed952ead10daaad
      
https://github.com/jenkinsci/jenkins/commit/52b9e14aad9f77b3915a311b5ed952ead10daaad
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-05-30 (Wed, 30 May 2012)

  Changed paths:
    M test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
    M test/src/test/java/hudson/model/queue/QueueTaskDispatcherTest.java

  Log Message:
  -----------
  Merge branch 'rc'


  Commit: 9ff1da3d490c968af3151d67b80607da2a72ed12
      
https://github.com/jenkinsci/jenkins/commit/9ff1da3d490c968af3151d67b80607da2a72ed12
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-05-30 (Wed, 30 May 2012)

  Changed paths:
    M core/src/main/java/hudson/util/Memoizer.java

  Log Message:
  -----------
  Doc fix


Compare: https://github.com/jenkinsci/jenkins/compare/9253954...9ff1da3

Reply via email to