ArgumentNullException on multi source GetModifications() (Bug #303)

Added by T S almost 5 years ago. Updated almost 5 years ago.

Status:Closed Start date:09/02/2013
Priority:High Due date:
Assignee:Ruben Willems % Done:


Category:Source Control Spent time: -
Target version:1.8.5
Affected version:1.8.4


In function ThoughtWorks.CruiseControl.Remote.XmlConversionUtil.CanConvertXmlToObject() only XmlException is caught.
If the string message the StringReader is created with is null (like in this case) - BANG:

Error Message:
System.ArgumentNullException: Value cannot be null.
Parameter name: s
at System.IO.StringReader..ctor(String s)
at ThoughtWorks.CruiseControl.Remote.XmlConversionUtil.CanConvertXmlToObject(Type messageType, String message)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.MultiSourceControl.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)

The affected project has the following configuration:
<dynamicValues />
<cb:trunkUrl />
<cb:workingDirectory />

The integration result xml looks like:
<SourceControl name="SVN:LastRevision:" value="11363" />
<SourceControl name="SVN:LastRevision:" />
<SourceControl name="SVN:LastRevision:" />


Updated by Sergey Enns almost 5 years ago

I have the same error. Subversion v. 1.6.15.

Updated by T S almost 5 years ago

Additional info:
-SVN 1.7.9
-Migrated from CC.NET 1.8.3

Updated by Daniel Rose almost 5 years ago

Currently, the MultiSourceControl does not work together with svn. Duplicate of #304, where I wrote a patch.

Updated by Ruben Willems almost 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Ruben Willems

Updated by Ruben Willems almost 5 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF