Issue Summary

      Builds from plans that are linked to Subversion repositories stay queued forever when triggered automatically (e.g. repository polling) based on code changes whereas manual builds work just fine.

      Since builds triggered automatically stay queued they'll eventually get terminated by Bamboo so you should start seeing a lot of the following messages from the Bamboo UI and inside the <bamboo-home>/logs/atlassian-bamboo.log file:

      2021-11-22 10:16:42,757 INFO [scheduler_Worker-1] [OrphanedBuildMonitorJob] PROJ-SUB-JOB1-2 marked as Queued but not present in queue since Mon Nov 22 10:03:42 UTC 2021
      2021-11-22 10:16:42,758 ERROR [scheduler_Worker-1] [OrphanedBuildMonitorJob] Build PROJ-SUB-JOB1-2 had to be cancelled: it was marked as queued but was not present in the queue for (at least) the past 720 seconds.
      

      Steps to Reproduce

      1. Create a plan and link it to a Subversion repository.
      2. Make sure there's at least one trigger inside the plan (e.g. repository polling, remote trigger and etc). I'd suggest using repository polling since this doesn't require any additional setup compared to the remote trigger.
      3. Make changes to your Subversion repository and wait for Bamboo to trigger the build.

      Expected Results

      The agent starts building and checking out code from the Subversion repository.

      Actual Results

      From the Bamboo logs we can see that the application finds code changes and dispatches the build to the agent:

      2021-11-22 10:02:51,236 INFO [10-BAM::PlanExec:pool-16-thread-2] [ChangeDetectionListenerAction] : Change detection found 1 change for plan PROJ-SUB
      2021-11-22 10:02:51,385 INFO [10-BAM::PlanExec:pool-16-thread-2] [ChainExecutionManagerImpl] Build PROJ-SUB-JOB1-2 has been dispatched
      2021-11-22 10:02:51,389 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [BuildQueueManagerImpl] Attempting to queue Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2).
      2021-11-22 10:02:51,390 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [ExecutionPhaseServiceImpl] Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2) queued
      2021-11-22 10:02:51,424 INFO [20-BAM::Default Agent::Agent:pool-34-thread-1] [BuildAgentControllerImpl] Agent 393217 checking build queue for executables...
      2021-11-22 10:02:51,425 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [BuildQueueManagerImpl] Sent ExecutableQueueUpdate: addToQueue, agents known to be affected: []
      2021-11-22 10:02:51,448 INFO [ActiveMQ Session Task-4] [BuildQueueManagerImpl] Sending PROJ-SUB-JOB1-2 to agent 192.168.0.100 (id: 2457601, REMOTE, online, enabled)
      2021-11-22 10:02:51,449 INFO [ActiveMQ Session Task-4] [ExecutionPhaseServiceImpl] Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2) sent to agent 2457601
      2021-11-22 10:02:51,449 INFO [ActiveMQ Session Task-4] [CurrentlyBuildingContainer] startBuildingOnAgent called for [PROJ-SUB-JOB1-2], agent 2457601
      

      However, the agent reports an error and does NOT start the build. The following exception can be seen inside the <agent-home>/atlassian-bamboo-agent.log file:

      INFO   | jvm 1    | 2021/11/22 11:02:51 | 2021-11-22 11:02:51,477 ERROR [0-BAM::192.168.0.100::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Unknown exception occurred on '192.168.0.100'. Agent will attempt to recover its normal operation...
      INFO   | jvm 1    | 2021/11/22 11:02:51 | com.thoughtworks.xstream.converters.ConversionException: Failed calling method
      INFO   | jvm 1    | 2021/11/22 11:02:51 | ---- Debugging information ----
      INFO   | jvm 1    | 2021/11/22 11:02:51 | message             : Failed calling method
      INFO   | jvm 1    | 2021/11/22 11:02:51 | cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
      INFO   | jvm 1    | 2021/11/22 11:02:51 | cause-message       : default
      INFO   | jvm 1    | 2021/11/22 11:02:51 | method              : org.tmatesoft.svn.core.internal.util.SVNDate.readObject()
      INFO   | jvm 1    | 2021/11/22 11:02:51 | class               : org.tmatesoft.svn.core.internal.util.SVNDate
      INFO   | jvm 1    | 2021/11/22 11:02:51 | required-type       : org.tmatesoft.svn.core.internal.util.SVNDate
      INFO   | jvm 1    | 2021/11/22 11:02:51 | converter-type      : com.thoughtworks.xstream.converters.reflection.SerializableConverter
      INFO   | jvm 1    | 2021/11/22 11:02:51 | path                : /org.springframework.remoting.support.RemoteInvocationResult/value/context/parentBuildContext/buildChanges/buildRepositoryChangesMap/entry/com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl/changes/com.atlassian.bamboo.commit.CommitContextImpl/date/date/default
      INFO   | jvm 1    | 2021/11/22 11:02:51 | line number         : 335
      INFO   | jvm 1    | 2021/11/22 11:02:51 | class[1]            : com.atlassian.bamboo.commit.CommitContextImpl
      INFO   | jvm 1    | 2021/11/22 11:02:51 | required-type[1]    : com.atlassian.bamboo.commit.CommitContextImpl
      INFO   | jvm 1    | 2021/11/22 11:02:51 | converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
      INFO   | jvm 1    | 2021/11/22 11:02:51 | class[2]            : com.atlassian.bamboo.collections.message.FinalLinkedList
      INFO   | jvm 1    | 2021/11/22 11:02:51 | required-type[2]    : com.atlassian.bamboo.collections.message.FinalLinkedList
      INFO   | jvm 1    | 2021/11/22 11:02:51 | converter-type[2]   : com.atlassian.bamboo.serialization.xstream.FinalCollectionConverter
      INFO   | jvm 1    | 2021/11/22 11:02:51 | class[3]            : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
      INFO   | jvm 1    | 2021/11/22 11:02:51 | required-type[3]    : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
      INFO   | jvm 1    | 2021/11/22 11:02:51 | class[4]            : com.atlassian.bamboo.collections.message.FinalHashMap
      INFO   | jvm 1    | 2021/11/22 11:02:51 | required-type[4]    : com.atlassian.bamboo.collections.message.FinalHashMap
      INFO   | jvm 1    | 2021/11/22 11:02:51 | converter-type[3]   : com.atlassian.bamboo.serialization.xstream.FinalHashMapConverter
      INFO   | jvm 1    | 2021/11/22 11:02:51 | class[5]            : com.atlassian.bamboo.v2.build.BuildChangesImpl
      INFO   | jvm 1    | 2021/11/22 11:02:51 | required-type[5]    : com.atlassian.bamboo.v2.build.BuildChangesImpl
      INFO   | jvm 1    | 2021/11/22 11:02:51 | class[6]            : com.atlassian.bamboo.v2.build.BuildContextImpl
      INFO   | jvm 1    | 2021/11/22 11:02:51 | required-type[6]    : com.atlassian.bamboo.v2.build.BuildContextImpl
      INFO   | jvm 1    | 2021/11/22 11:02:51 | converter-type[4]   : com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter
      INFO   | jvm 1    | 2021/11/22 11:02:51 | class[7]            : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
      INFO   | jvm 1    | 2021/11/22 11:02:51 | required-type[7]    : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
      INFO   | jvm 1    | 2021/11/22 11:02:51 | class[8]            : org.springframework.remoting.support.RemoteInvocationResult
      INFO   | jvm 1    | 2021/11/22 11:02:51 | required-type[8]    : org.springframework.remoting.support.RemoteInvocationResult
      INFO   | jvm 1    | 2021/11/22 11:02:51 | version             : not available
      INFO   | jvm 1    | 2021/11/22 11:02:51 | -------------------------------
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:136)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doUnmarshal(SerializableConverter.java:443)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readCompleteItem(AbstractCollectionConverter.java:147)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryIntoMap(MapConverter.java:106)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:98)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:92)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:87)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1391)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1376)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1261)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1252)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromXML(SpringRemotingMessageConverter.java:56)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromMessage(SpringRemotingMessageConverter.java:52)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at org.springframework.jms.remoting.JmsInvokerClientInterceptor.extractInvocationResult(JmsInvokerClientInterceptor.java:376)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at org.springframework.jms.remoting.JmsInvokerClientInterceptor.executeRequest(JmsInvokerClientInterceptor.java:258)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:206)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.sun.proxy.$Proxy25.takeContext(Unknown Source)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.getContextFromQueue(BuildAgentControllerImpl.java:353)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:141)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at java.lang.Thread.run(Thread.java:748)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: default
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.atlassian.bamboo.serialization.xstream.PluginsAwareMapper.realClass(PluginsAwareMapper.java:90)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.converters.reflection.SerializableConverter$2.readFromStream(SerializableConverter.java:324)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.util.CustomObjectInputStream.readLong(CustomObjectInputStream.java:159)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at java.util.Date.readObject(Date.java:1332)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at java.lang.reflect.Method.invoke(Method.java:498)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:132)
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 	... 95 more
      INFO   | jvm 1    | 2021/11/22 11:02:51 | 2021-11-22 11:02:51,491 WARN [0-BAM::192.168.0.100::Agent:pool-3-thread-1] [DefaultBuildAgent] 1 attempts at building without a successful run. The agent will stop after reaching 10 exceptions.
      

      Workaround

      At the moment the only workaround known to us is to manually trigger the build. Manual builds work fine.

            [BAM-21512] SVN Checkout plugin error

            Alexey Chystoprudov made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Rudy Slaiby made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 601706 ]
            SET Analytics Bot made changes -
            UIS Original: 2 New: 4
            Alexey Chystoprudov made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Alexey Chystoprudov made changes -
            Remote Link New: This issue links to "BDEV-16827 (Hello Jira)" [ 600323 ]
            Alexey Chystoprudov made changes -
            Fix Version/s New: 8.0.5 [ 98593 ]
            Fix Version/s New: 8.1.0 [ 97096 ]
            Alexey Chystoprudov made changes -
            Status Original: Needs Triage [ 10030 ] New: In Progress [ 3 ]
            Alexey Chystoprudov made changes -
            Assignee New: Alexey Chystoprudov [ achystoprudov ]
            Bruno Rosa made changes -
            Description Original: h3. Issue Summary

            Builds from plans that are linked to Subversion repositories stay queued forever when *triggered automatically* (e.g. repository polling) based on code changes whereas *manual* builds work just fine.

            Since builds triggered automatically stay queued they'll eventually get terminated by Bamboo so you should start seeing a lot of the following messages from the Bamboo UI and inside the <bamboo-home>/logs/atlassian-bamboo.log file:

            {noformat}
            2021-11-22 10:16:42,757 INFO [scheduler_Worker-1] [OrphanedBuildMonitorJob] PROJ-SUB-JOB1-2 marked as Queued but not present in queue since Mon Nov 22 10:03:42 UTC 2021
            2021-11-22 10:16:42,758 ERROR [scheduler_Worker-1] [OrphanedBuildMonitorJob] Build PROJ-SUB-JOB1-2 had to be cancelled: it was marked as queued but was not present in the queue for (at least) the past 720 seconds.
            {noformat}

            h3. Steps to Reproduce
            # Create a plan and link it to a Subversion repository.
            # Make sure there's at least one trigger inside the plan (e.g. repository polling, remote trigger and etc). I'd suggest using repository polling since this doesn't require any additional setup compared to the remote trigger.
            # Make changes to your Subversion repository and wait for Bamboo to trigger the build.

            h3. Expected Results

            The agent starts building and checking out code from the Subversion repository.

            h3. Actual Results

            From the Bamboo logs we can see that the application finds code changes and dispatches the build to the agent:

            {noformat}
            2021-11-22 10:02:51,236 INFO [10-BAM::PlanExec:pool-16-thread-2] [ChangeDetectionListenerAction] : Change detection found 1 change for plan PROJ-SUB
            2021-11-22 10:02:51,385 INFO [10-BAM::PlanExec:pool-16-thread-2] [ChainExecutionManagerImpl] Build PROJ-SUB-JOB1-2 has been dispatched
            2021-11-22 10:02:51,389 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [BuildQueueManagerImpl] Attempting to queue Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2).
            2021-11-22 10:02:51,390 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [ExecutionPhaseServiceImpl] Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2) queued
            2021-11-22 10:02:51,424 INFO [20-BAM::Default Agent::Agent:pool-34-thread-1] [BuildAgentControllerImpl] Agent 393217 checking build queue for executables...
            2021-11-22 10:02:51,425 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [BuildQueueManagerImpl] Sent ExecutableQueueUpdate: addToQueue, agents known to be affected: []
            2021-11-22 10:02:51,448 INFO [ActiveMQ Session Task-4] [BuildQueueManagerImpl] Sending PROJ-SUB-JOB1-2 to agent 192.168.0.100 (id: 2457601, REMOTE, online, enabled)
            2021-11-22 10:02:51,449 INFO [ActiveMQ Session Task-4] [ExecutionPhaseServiceImpl] Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2) sent to agent 2457601
            2021-11-22 10:02:51,449 INFO [ActiveMQ Session Task-4] [CurrentlyBuildingContainer] startBuildingOnAgent called for [PROJ-SUB-JOB1-2], agent 2457601
            {noformat}

            However, the agent reports an error and does NOT start the build. The following exception can be seen inside the <agent-home>/atlassian-bamboo-agent.log file:

            {noformat}
            INFO | jvm 1 | 2021/11/22 11:02:51 | 2021-11-22 11:02:51,477 ERROR [0-BAM::192.168.0.100::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Unknown exception occurred on '192.168.0.100'. Agent will attempt to recover its normal operation...
            INFO | jvm 1 | 2021/11/22 11:02:51 | com.thoughtworks.xstream.converters.ConversionException: Failed calling method
            INFO | jvm 1 | 2021/11/22 11:02:51 | ---- Debugging information ----
            INFO | jvm 1 | 2021/11/22 11:02:51 | message : Failed calling method
            INFO | jvm 1 | 2021/11/22 11:02:51 | cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
            INFO | jvm 1 | 2021/11/22 11:02:51 | cause-message : default
            INFO | jvm 1 | 2021/11/22 11:02:51 | method : org.tmatesoft.svn.core.internal.util.SVNDate.readObject()
            INFO | jvm 1 | 2021/11/22 11:02:51 | class : org.tmatesoft.svn.core.internal.util.SVNDate
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type : org.tmatesoft.svn.core.internal.util.SVNDate
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type : com.thoughtworks.xstream.converters.reflection.SerializableConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | path : /org.springframework.remoting.support.RemoteInvocationResult/value/context/parentBuildContext/buildChanges/buildRepositoryChangesMap/entry/com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl/changes/com.atlassian.bamboo.commit.CommitContextImpl/date/date/default
            INFO | jvm 1 | 2021/11/22 11:02:51 | line number : 335
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[1] : com.atlassian.bamboo.commit.CommitContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[1] : com.atlassian.bamboo.commit.CommitContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[2] : com.atlassian.bamboo.collections.message.FinalLinkedList
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[2] : com.atlassian.bamboo.collections.message.FinalLinkedList
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[2] : com.atlassian.bamboo.serialization.xstream.FinalCollectionConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[3] : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[3] : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[4] : com.atlassian.bamboo.collections.message.FinalHashMap
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[4] : com.atlassian.bamboo.collections.message.FinalHashMap
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[3] : com.atlassian.bamboo.serialization.xstream.FinalHashMapConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[5] : com.atlassian.bamboo.v2.build.BuildChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[5] : com.atlassian.bamboo.v2.build.BuildChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[6] : com.atlassian.bamboo.v2.build.BuildContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[6] : com.atlassian.bamboo.v2.build.BuildContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[4] : com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[7] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[7] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[8] : org.springframework.remoting.support.RemoteInvocationResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[8] : org.springframework.remoting.support.RemoteInvocationResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | version : not available
            INFO | jvm 1 | 2021/11/22 11:02:51 | -------------------------------
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:136)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doUnmarshal(SerializableConverter.java:443)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readCompleteItem(AbstractCollectionConverter.java:147)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryIntoMap(MapConverter.java:106)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:98)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:92)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:87)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1391)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1376)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1261)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1252)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromXML(SpringRemotingMessageConverter.java:56)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromMessage(SpringRemotingMessageConverter.java:52)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.extractInvocationResult(JmsInvokerClientInterceptor.java:376)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.executeRequest(JmsInvokerClientInterceptor.java:258)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:206)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.sun.proxy.$Proxy25.takeContext(Unknown Source)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.getContextFromQueue(BuildAgentControllerImpl.java:353)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:141)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.lang.Thread.run(Thread.java:748)
            INFO | jvm 1 | 2021/11/22 11:02:51 | Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: default
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.PluginsAwareMapper.realClass(PluginsAwareMapper.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.SerializableConverter$2.readFromStream(SerializableConverter.java:324)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.CustomObjectInputStream.readLong(CustomObjectInputStream.java:159)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.util.Date.readObject(Date.java:1332)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.lang.reflect.Method.invoke(Method.java:498)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | ... 95 more
            INFO | jvm 1 | 2021/11/22 11:02:51 | 2021-11-22 11:02:51,491 WARN [0-BAM::192.168.0.100::Agent:pool-3-thread-1] [DefaultBuildAgent] 1 attempts at building without a successful run. The agent will stop after reaching 10 exceptions.
            {noformat}

            h3. Workaround

            There is no viable workaround at the moment, except to manually run the failed build
            New: h3. Issue Summary

            Builds from plans that are linked to Subversion repositories stay queued forever when *triggered automatically* (e.g. repository polling) based on code changes whereas *manual* builds work just fine.

            Since builds triggered automatically stay queued they'll eventually get terminated by Bamboo so you should start seeing a lot of the following messages from the Bamboo UI and inside the <bamboo-home>/logs/atlassian-bamboo.log file:

            {noformat}
            2021-11-22 10:16:42,757 INFO [scheduler_Worker-1] [OrphanedBuildMonitorJob] PROJ-SUB-JOB1-2 marked as Queued but not present in queue since Mon Nov 22 10:03:42 UTC 2021
            2021-11-22 10:16:42,758 ERROR [scheduler_Worker-1] [OrphanedBuildMonitorJob] Build PROJ-SUB-JOB1-2 had to be cancelled: it was marked as queued but was not present in the queue for (at least) the past 720 seconds.
            {noformat}

            h3. Steps to Reproduce
            # Create a plan and link it to a Subversion repository.
            # Make sure there's at least one trigger inside the plan (e.g. repository polling, remote trigger and etc). I'd suggest using repository polling since this doesn't require any additional setup compared to the remote trigger.
            # Make changes to your Subversion repository and wait for Bamboo to trigger the build.

            h3. Expected Results

            The agent starts building and checking out code from the Subversion repository.

            h3. Actual Results

            From the Bamboo logs we can see that the application finds code changes and dispatches the build to the agent:

            {noformat}
            2021-11-22 10:02:51,236 INFO [10-BAM::PlanExec:pool-16-thread-2] [ChangeDetectionListenerAction] : Change detection found 1 change for plan PROJ-SUB
            2021-11-22 10:02:51,385 INFO [10-BAM::PlanExec:pool-16-thread-2] [ChainExecutionManagerImpl] Build PROJ-SUB-JOB1-2 has been dispatched
            2021-11-22 10:02:51,389 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [BuildQueueManagerImpl] Attempting to queue Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2).
            2021-11-22 10:02:51,390 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [ExecutionPhaseServiceImpl] Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2) queued
            2021-11-22 10:02:51,424 INFO [20-BAM::Default Agent::Agent:pool-34-thread-1] [BuildAgentControllerImpl] Agent 393217 checking build queue for executables...
            2021-11-22 10:02:51,425 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [BuildQueueManagerImpl] Sent ExecutableQueueUpdate: addToQueue, agents known to be affected: []
            2021-11-22 10:02:51,448 INFO [ActiveMQ Session Task-4] [BuildQueueManagerImpl] Sending PROJ-SUB-JOB1-2 to agent 192.168.0.100 (id: 2457601, REMOTE, online, enabled)
            2021-11-22 10:02:51,449 INFO [ActiveMQ Session Task-4] [ExecutionPhaseServiceImpl] Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2) sent to agent 2457601
            2021-11-22 10:02:51,449 INFO [ActiveMQ Session Task-4] [CurrentlyBuildingContainer] startBuildingOnAgent called for [PROJ-SUB-JOB1-2], agent 2457601
            {noformat}

            However, the agent reports an error and does NOT start the build. The following exception can be seen inside the <agent-home>/atlassian-bamboo-agent.log file:

            {noformat}
            INFO | jvm 1 | 2021/11/22 11:02:51 | 2021-11-22 11:02:51,477 ERROR [0-BAM::192.168.0.100::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Unknown exception occurred on '192.168.0.100'. Agent will attempt to recover its normal operation...
            INFO | jvm 1 | 2021/11/22 11:02:51 | com.thoughtworks.xstream.converters.ConversionException: Failed calling method
            INFO | jvm 1 | 2021/11/22 11:02:51 | ---- Debugging information ----
            INFO | jvm 1 | 2021/11/22 11:02:51 | message : Failed calling method
            INFO | jvm 1 | 2021/11/22 11:02:51 | cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
            INFO | jvm 1 | 2021/11/22 11:02:51 | cause-message : default
            INFO | jvm 1 | 2021/11/22 11:02:51 | method : org.tmatesoft.svn.core.internal.util.SVNDate.readObject()
            INFO | jvm 1 | 2021/11/22 11:02:51 | class : org.tmatesoft.svn.core.internal.util.SVNDate
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type : org.tmatesoft.svn.core.internal.util.SVNDate
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type : com.thoughtworks.xstream.converters.reflection.SerializableConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | path : /org.springframework.remoting.support.RemoteInvocationResult/value/context/parentBuildContext/buildChanges/buildRepositoryChangesMap/entry/com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl/changes/com.atlassian.bamboo.commit.CommitContextImpl/date/date/default
            INFO | jvm 1 | 2021/11/22 11:02:51 | line number : 335
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[1] : com.atlassian.bamboo.commit.CommitContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[1] : com.atlassian.bamboo.commit.CommitContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[2] : com.atlassian.bamboo.collections.message.FinalLinkedList
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[2] : com.atlassian.bamboo.collections.message.FinalLinkedList
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[2] : com.atlassian.bamboo.serialization.xstream.FinalCollectionConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[3] : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[3] : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[4] : com.atlassian.bamboo.collections.message.FinalHashMap
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[4] : com.atlassian.bamboo.collections.message.FinalHashMap
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[3] : com.atlassian.bamboo.serialization.xstream.FinalHashMapConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[5] : com.atlassian.bamboo.v2.build.BuildChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[5] : com.atlassian.bamboo.v2.build.BuildChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[6] : com.atlassian.bamboo.v2.build.BuildContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[6] : com.atlassian.bamboo.v2.build.BuildContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[4] : com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[7] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[7] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[8] : org.springframework.remoting.support.RemoteInvocationResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[8] : org.springframework.remoting.support.RemoteInvocationResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | version : not available
            INFO | jvm 1 | 2021/11/22 11:02:51 | -------------------------------
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:136)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doUnmarshal(SerializableConverter.java:443)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readCompleteItem(AbstractCollectionConverter.java:147)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryIntoMap(MapConverter.java:106)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:98)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:92)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:87)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1391)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1376)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1261)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1252)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromXML(SpringRemotingMessageConverter.java:56)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromMessage(SpringRemotingMessageConverter.java:52)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.extractInvocationResult(JmsInvokerClientInterceptor.java:376)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.executeRequest(JmsInvokerClientInterceptor.java:258)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:206)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.sun.proxy.$Proxy25.takeContext(Unknown Source)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.getContextFromQueue(BuildAgentControllerImpl.java:353)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:141)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.lang.Thread.run(Thread.java:748)
            INFO | jvm 1 | 2021/11/22 11:02:51 | Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: default
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.PluginsAwareMapper.realClass(PluginsAwareMapper.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.SerializableConverter$2.readFromStream(SerializableConverter.java:324)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.CustomObjectInputStream.readLong(CustomObjectInputStream.java:159)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.util.Date.readObject(Date.java:1332)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.lang.reflect.Method.invoke(Method.java:498)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | ... 95 more
            INFO | jvm 1 | 2021/11/22 11:02:51 | 2021-11-22 11:02:51,491 WARN [0-BAM::192.168.0.100::Agent:pool-3-thread-1] [DefaultBuildAgent] 1 attempts at building without a successful run. The agent will stop after reaching 10 exceptions.
            {noformat}

            h3. Workaround

            At the moment the only workaround known to us is to manually trigger the build. Manual builds work fine.
            Bruno Rosa made changes -
            Description Original: h3. Issue Summary

            Builds from plans that are linked to Subversion repositories stay queued forever when *triggered automatically* (e.g. repository polling) based on code changes whereas *manual* builds work just fine.

            Since builds triggered automatically stay queued they'll eventually get terminated by Bamboo so you should start seeing a lot of the following messages from the Bamboo UI and inside the <bamboo-home>/logs/atlassian-bamboo.log file:

            {noformat}
            2021-11-22 10:16:42,757 INFO [scheduler_Worker-1] [OrphanedBuildMonitorJob] PROJ-SUB-JOB1-2 marked as Queued but not present in queue since Mon Nov 22 10:03:42 UTC 2021
            2021-11-22 10:16:42,758 ERROR [scheduler_Worker-1] [OrphanedBuildMonitorJob] Build PROJ-SUB-JOB1-2 had to be cancelled: it was marked as queued but was not present in the queue for (at least) the past 720 seconds.
            {noformat}

            h3. Steps to Reproduce
            # Create a plan and link it to a Subversion repository.
            # Make sure there's at least one trigger inside the plan (e.g. repository polling, remote trigger and etc). I'd suggest using a repository polling since this doesn't any additional setup when compared to the remote trigger.
            # Make changes to your Subversion repository and wait for Bamboo to trigger the build.

            h3. Expected Results

            The agent starts building and checking out code from the Subversion repository.

            h3. Actual Results

            From the Bamboo logs we can see that the application finds code changes and dispatches the build to the agent:

            {noformat}
            2021-11-22 10:02:51,236 INFO [10-BAM::PlanExec:pool-16-thread-2] [ChangeDetectionListenerAction] : Change detection found 1 change for plan PROJ-SUB
            2021-11-22 10:02:51,385 INFO [10-BAM::PlanExec:pool-16-thread-2] [ChainExecutionManagerImpl] Build PROJ-SUB-JOB1-2 has been dispatched
            2021-11-22 10:02:51,389 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [BuildQueueManagerImpl] Attempting to queue Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2).
            2021-11-22 10:02:51,390 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [ExecutionPhaseServiceImpl] Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2) queued
            2021-11-22 10:02:51,424 INFO [20-BAM::Default Agent::Agent:pool-34-thread-1] [BuildAgentControllerImpl] Agent 393217 checking build queue for executables...
            2021-11-22 10:02:51,425 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [BuildQueueManagerImpl] Sent ExecutableQueueUpdate: addToQueue, agents known to be affected: []
            2021-11-22 10:02:51,448 INFO [ActiveMQ Session Task-4] [BuildQueueManagerImpl] Sending PROJ-SUB-JOB1-2 to agent 192.168.0.100 (id: 2457601, REMOTE, online, enabled)
            2021-11-22 10:02:51,449 INFO [ActiveMQ Session Task-4] [ExecutionPhaseServiceImpl] Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2) sent to agent 2457601
            2021-11-22 10:02:51,449 INFO [ActiveMQ Session Task-4] [CurrentlyBuildingContainer] startBuildingOnAgent called for [PROJ-SUB-JOB1-2], agent 2457601
            {noformat}

            However, the agent reports an error and does NOT start the build. The following exception can be seen inside the <agent-home>/atlassian-bamboo-agent.log file:

            {noformat}
            INFO | jvm 1 | 2021/11/22 11:02:51 | 2021-11-22 11:02:51,477 ERROR [0-BAM::192.168.0.100::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Unknown exception occurred on '192.168.0.100'. Agent will attempt to recover its normal operation...
            INFO | jvm 1 | 2021/11/22 11:02:51 | com.thoughtworks.xstream.converters.ConversionException: Failed calling method
            INFO | jvm 1 | 2021/11/22 11:02:51 | ---- Debugging information ----
            INFO | jvm 1 | 2021/11/22 11:02:51 | message : Failed calling method
            INFO | jvm 1 | 2021/11/22 11:02:51 | cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
            INFO | jvm 1 | 2021/11/22 11:02:51 | cause-message : default
            INFO | jvm 1 | 2021/11/22 11:02:51 | method : org.tmatesoft.svn.core.internal.util.SVNDate.readObject()
            INFO | jvm 1 | 2021/11/22 11:02:51 | class : org.tmatesoft.svn.core.internal.util.SVNDate
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type : org.tmatesoft.svn.core.internal.util.SVNDate
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type : com.thoughtworks.xstream.converters.reflection.SerializableConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | path : /org.springframework.remoting.support.RemoteInvocationResult/value/context/parentBuildContext/buildChanges/buildRepositoryChangesMap/entry/com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl/changes/com.atlassian.bamboo.commit.CommitContextImpl/date/date/default
            INFO | jvm 1 | 2021/11/22 11:02:51 | line number : 335
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[1] : com.atlassian.bamboo.commit.CommitContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[1] : com.atlassian.bamboo.commit.CommitContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[2] : com.atlassian.bamboo.collections.message.FinalLinkedList
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[2] : com.atlassian.bamboo.collections.message.FinalLinkedList
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[2] : com.atlassian.bamboo.serialization.xstream.FinalCollectionConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[3] : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[3] : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[4] : com.atlassian.bamboo.collections.message.FinalHashMap
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[4] : com.atlassian.bamboo.collections.message.FinalHashMap
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[3] : com.atlassian.bamboo.serialization.xstream.FinalHashMapConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[5] : com.atlassian.bamboo.v2.build.BuildChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[5] : com.atlassian.bamboo.v2.build.BuildChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[6] : com.atlassian.bamboo.v2.build.BuildContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[6] : com.atlassian.bamboo.v2.build.BuildContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[4] : com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[7] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[7] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[8] : org.springframework.remoting.support.RemoteInvocationResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[8] : org.springframework.remoting.support.RemoteInvocationResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | version : not available
            INFO | jvm 1 | 2021/11/22 11:02:51 | -------------------------------
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:136)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doUnmarshal(SerializableConverter.java:443)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readCompleteItem(AbstractCollectionConverter.java:147)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryIntoMap(MapConverter.java:106)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:98)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:92)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:87)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1391)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1376)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1261)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1252)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromXML(SpringRemotingMessageConverter.java:56)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromMessage(SpringRemotingMessageConverter.java:52)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.extractInvocationResult(JmsInvokerClientInterceptor.java:376)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.executeRequest(JmsInvokerClientInterceptor.java:258)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:206)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.sun.proxy.$Proxy25.takeContext(Unknown Source)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.getContextFromQueue(BuildAgentControllerImpl.java:353)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:141)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.lang.Thread.run(Thread.java:748)
            INFO | jvm 1 | 2021/11/22 11:02:51 | Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: default
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.PluginsAwareMapper.realClass(PluginsAwareMapper.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.SerializableConverter$2.readFromStream(SerializableConverter.java:324)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.CustomObjectInputStream.readLong(CustomObjectInputStream.java:159)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.util.Date.readObject(Date.java:1332)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.lang.reflect.Method.invoke(Method.java:498)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | ... 95 more
            INFO | jvm 1 | 2021/11/22 11:02:51 | 2021-11-22 11:02:51,491 WARN [0-BAM::192.168.0.100::Agent:pool-3-thread-1] [DefaultBuildAgent] 1 attempts at building without a successful run. The agent will stop after reaching 10 exceptions.
            {noformat}

            h3. Workaround

            There is no viable workaround at the moment, except to manually run the failed build
            New: h3. Issue Summary

            Builds from plans that are linked to Subversion repositories stay queued forever when *triggered automatically* (e.g. repository polling) based on code changes whereas *manual* builds work just fine.

            Since builds triggered automatically stay queued they'll eventually get terminated by Bamboo so you should start seeing a lot of the following messages from the Bamboo UI and inside the <bamboo-home>/logs/atlassian-bamboo.log file:

            {noformat}
            2021-11-22 10:16:42,757 INFO [scheduler_Worker-1] [OrphanedBuildMonitorJob] PROJ-SUB-JOB1-2 marked as Queued but not present in queue since Mon Nov 22 10:03:42 UTC 2021
            2021-11-22 10:16:42,758 ERROR [scheduler_Worker-1] [OrphanedBuildMonitorJob] Build PROJ-SUB-JOB1-2 had to be cancelled: it was marked as queued but was not present in the queue for (at least) the past 720 seconds.
            {noformat}

            h3. Steps to Reproduce
            # Create a plan and link it to a Subversion repository.
            # Make sure there's at least one trigger inside the plan (e.g. repository polling, remote trigger and etc). I'd suggest using repository polling since this doesn't require any additional setup compared to the remote trigger.
            # Make changes to your Subversion repository and wait for Bamboo to trigger the build.

            h3. Expected Results

            The agent starts building and checking out code from the Subversion repository.

            h3. Actual Results

            From the Bamboo logs we can see that the application finds code changes and dispatches the build to the agent:

            {noformat}
            2021-11-22 10:02:51,236 INFO [10-BAM::PlanExec:pool-16-thread-2] [ChangeDetectionListenerAction] : Change detection found 1 change for plan PROJ-SUB
            2021-11-22 10:02:51,385 INFO [10-BAM::PlanExec:pool-16-thread-2] [ChainExecutionManagerImpl] Build PROJ-SUB-JOB1-2 has been dispatched
            2021-11-22 10:02:51,389 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [BuildQueueManagerImpl] Attempting to queue Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2).
            2021-11-22 10:02:51,390 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [ExecutionPhaseServiceImpl] Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2) queued
            2021-11-22 10:02:51,424 INFO [20-BAM::Default Agent::Agent:pool-34-thread-1] [BuildAgentControllerImpl] Agent 393217 checking build queue for executables...
            2021-11-22 10:02:51,425 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-11] [BuildQueueManagerImpl] Sent ExecutableQueueUpdate: addToQueue, agents known to be affected: []
            2021-11-22 10:02:51,448 INFO [ActiveMQ Session Task-4] [BuildQueueManagerImpl] Sending PROJ-SUB-JOB1-2 to agent 192.168.0.100 (id: 2457601, REMOTE, online, enabled)
            2021-11-22 10:02:51,449 INFO [ActiveMQ Session Task-4] [ExecutionPhaseServiceImpl] Project - SVN - Default Job #2 (PROJ-SUB-JOB1-2) sent to agent 2457601
            2021-11-22 10:02:51,449 INFO [ActiveMQ Session Task-4] [CurrentlyBuildingContainer] startBuildingOnAgent called for [PROJ-SUB-JOB1-2], agent 2457601
            {noformat}

            However, the agent reports an error and does NOT start the build. The following exception can be seen inside the <agent-home>/atlassian-bamboo-agent.log file:

            {noformat}
            INFO | jvm 1 | 2021/11/22 11:02:51 | 2021-11-22 11:02:51,477 ERROR [0-BAM::192.168.0.100::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Unknown exception occurred on '192.168.0.100'. Agent will attempt to recover its normal operation...
            INFO | jvm 1 | 2021/11/22 11:02:51 | com.thoughtworks.xstream.converters.ConversionException: Failed calling method
            INFO | jvm 1 | 2021/11/22 11:02:51 | ---- Debugging information ----
            INFO | jvm 1 | 2021/11/22 11:02:51 | message : Failed calling method
            INFO | jvm 1 | 2021/11/22 11:02:51 | cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
            INFO | jvm 1 | 2021/11/22 11:02:51 | cause-message : default
            INFO | jvm 1 | 2021/11/22 11:02:51 | method : org.tmatesoft.svn.core.internal.util.SVNDate.readObject()
            INFO | jvm 1 | 2021/11/22 11:02:51 | class : org.tmatesoft.svn.core.internal.util.SVNDate
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type : org.tmatesoft.svn.core.internal.util.SVNDate
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type : com.thoughtworks.xstream.converters.reflection.SerializableConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | path : /org.springframework.remoting.support.RemoteInvocationResult/value/context/parentBuildContext/buildChanges/buildRepositoryChangesMap/entry/com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl/changes/com.atlassian.bamboo.commit.CommitContextImpl/date/date/default
            INFO | jvm 1 | 2021/11/22 11:02:51 | line number : 335
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[1] : com.atlassian.bamboo.commit.CommitContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[1] : com.atlassian.bamboo.commit.CommitContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[2] : com.atlassian.bamboo.collections.message.FinalLinkedList
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[2] : com.atlassian.bamboo.collections.message.FinalLinkedList
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[2] : com.atlassian.bamboo.serialization.xstream.FinalCollectionConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[3] : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[3] : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[4] : com.atlassian.bamboo.collections.message.FinalHashMap
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[4] : com.atlassian.bamboo.collections.message.FinalHashMap
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[3] : com.atlassian.bamboo.serialization.xstream.FinalHashMapConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[5] : com.atlassian.bamboo.v2.build.BuildChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[5] : com.atlassian.bamboo.v2.build.BuildChangesImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[6] : com.atlassian.bamboo.v2.build.BuildContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[6] : com.atlassian.bamboo.v2.build.BuildContextImpl
            INFO | jvm 1 | 2021/11/22 11:02:51 | converter-type[4] : com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[7] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[7] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | class[8] : org.springframework.remoting.support.RemoteInvocationResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | required-type[8] : org.springframework.remoting.support.RemoteInvocationResult
            INFO | jvm 1 | 2021/11/22 11:02:51 | version : not available
            INFO | jvm 1 | 2021/11/22 11:02:51 | -------------------------------
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:136)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doUnmarshal(SerializableConverter.java:443)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readCompleteItem(AbstractCollectionConverter.java:147)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryIntoMap(MapConverter.java:106)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:98)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:92)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:87)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1391)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1376)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1261)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1252)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromXML(SpringRemotingMessageConverter.java:56)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromMessage(SpringRemotingMessageConverter.java:52)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.extractInvocationResult(JmsInvokerClientInterceptor.java:376)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.executeRequest(JmsInvokerClientInterceptor.java:258)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:206)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.sun.proxy.$Proxy25.takeContext(Unknown Source)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.getContextFromQueue(BuildAgentControllerImpl.java:353)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:141)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.lang.Thread.run(Thread.java:748)
            INFO | jvm 1 | 2021/11/22 11:02:51 | Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: default
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.atlassian.bamboo.serialization.xstream.PluginsAwareMapper.realClass(PluginsAwareMapper.java:90)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.converters.reflection.SerializableConverter$2.readFromStream(SerializableConverter.java:324)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.CustomObjectInputStream.readLong(CustomObjectInputStream.java:159)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.util.Date.readObject(Date.java:1332)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at java.lang.reflect.Method.invoke(Method.java:498)
            INFO | jvm 1 | 2021/11/22 11:02:51 | at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:132)
            INFO | jvm 1 | 2021/11/22 11:02:51 | ... 95 more
            INFO | jvm 1 | 2021/11/22 11:02:51 | 2021-11-22 11:02:51,491 WARN [0-BAM::192.168.0.100::Agent:pool-3-thread-1] [DefaultBuildAgent] 1 attempts at building without a successful run. The agent will stop after reaching 10 exceptions.
            {noformat}

            h3. Workaround

            There is no viable workaround at the moment, except to manually run the failed build

              achystoprudov Alexey Chystoprudov
              voseghale VICTOR-OSEGHALE (Inactive)
              Affected customers:
              5 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: