4.0.1 and CC.NET
Moderator: SourceGear
4.0.1 and CC.NET
I upgraded the server to vault 4.0.1.
The automatic build stopped automatically building. Checking the cc.net server log, I found this:
System.NullReferenceException: Object reference not set to an instance of an object.
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultHistoryParser.EntryWithinRange(XmlNode node, DateTime from, DateTime to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultHistoryParser.Parse(TextReader history, DateTime from, DateTime to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.ParseModifications(TextReader reader, DateTime from, DateTime to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.ParseModifications(ProcessResult result, DateTime from, DateTime to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault317.GetModificationsFromItemHistory(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault317.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultVersionChecker.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)
at ThoughtWorks.CruiseControl.Core.Project.Integrate(IntegrationRequest request)
at ThoughtWorks.CruiseControl.Core.ProjectIntegrator.Integrate()
Any ideas on what I could do, or do I need to wait for a vault update?
Thanks,
Brian
The automatic build stopped automatically building. Checking the cc.net server log, I found this:
System.NullReferenceException: Object reference not set to an instance of an object.
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultHistoryParser.EntryWithinRange(XmlNode node, DateTime from, DateTime to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultHistoryParser.Parse(TextReader history, DateTime from, DateTime to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.ParseModifications(TextReader reader, DateTime from, DateTime to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.ParseModifications(ProcessResult result, DateTime from, DateTime to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault317.GetModificationsFromItemHistory(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault317.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultVersionChecker.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)
at ThoughtWorks.CruiseControl.Core.Project.Integrate(IntegrationRequest request)
at ThoughtWorks.CruiseControl.Core.ProjectIntegrator.Integrate()
Any ideas on what I could do, or do I need to wait for a vault update?
Thanks,
Brian
The get must be working - if I "Force" a build in CC.NET it does clean the folder and get the latest from vault.
However, if I leave CC.NET to autoamtically check for modifications, it gets endlessly stuck in the "CheckingForModifications" status, because it always gets that exception.
Did I answer your question?
However, if I leave CC.NET to autoamtically check for modifications, it gets endlessly stuck in the "CheckingForModifications" status, because it always gets that exception.
Did I answer your question?
I was able to reproduce this problem.
Beyond waiting for an update, you can point CC.NET at a version 4.0.0 version of vault.exe.
If all of this is running on your vault server, I'd recommend installing the 4.0.0 client on another machine and copying the client directory to the CC.NET server in an alternate location, then altering your ccnet.config to use that vault.exe.
Beyond waiting for an update, you can point CC.NET at a version 4.0.0 version of vault.exe.
If all of this is running on your vault server, I'd recommend installing the 4.0.0 client on another machine and copying the client directory to the CC.NET server in an alternate location, then altering your ccnet.config to use that vault.exe.
Ian Olsen
SourceGear
SourceGear