Lots of intermittent server errors after upgrading to 5.0.3
Moderator: SourceGear
-
- Posts: 60
- Joined: Wed Aug 18, 2004 11:15 am
Lots of intermittent server errors after upgrading to 5.0.3
Our Vault server used to run version 3.1.9. Last week, we upgraded to 5.0.3 and moved it to a faster server. Since then, we've been getting a lot of exceptions from the server. I haven't been able to figure out why these are happening, so hopefully you can help us. Here are some of the errors we've gotten recently:
----------From the Vault GUI Client, on login----------
Unable to cast object of type 'System.DateTime' to type 'System.String'.
----------From the Vault GUI Client, when trying to Diff a file in the History window, random----------
Exception of type "VaultClientOperationsLib.GetLatestVersionFailedException" was thrown.
----------From our CC.NET server (14382 was the checkin that triggered this build)----------
System.Exception: There is no version 14382 of $/JobTraQ/JobTraQ in SwiftProjects.
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.FortressClient.GetVersion(String repositoryFolderPath, String workingDir, Int64 folderVersion, Boolean useWorkingDir, Boolean deleteItemsThatAreNotInTheRepository)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.FortressVaultSourceControl.GetSource(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)
----------From the Vault NAnt Task, intermittent----------
System.OverflowException: Arithmetic operation resulted in an overflow.
at VaultClientIntegrationLib.GetOperations.ProcessCommandGetToLocationOutsideWorkingFolder(String[] objectPaths, GetOptions getOptions, String destPath)
at NAnt.Contrib.Tasks.SourceGearVault.vaultgettolocationoutsideworkingfolder.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Tasks.CallTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
----------From the Vault GUI Client, on login----------
Unable to cast object of type 'System.DateTime' to type 'System.String'.
----------From the Vault GUI Client, when trying to Diff a file in the History window, random----------
Exception of type "VaultClientOperationsLib.GetLatestVersionFailedException" was thrown.
----------From our CC.NET server (14382 was the checkin that triggered this build)----------
System.Exception: There is no version 14382 of $/JobTraQ/JobTraQ in SwiftProjects.
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.FortressClient.GetVersion(String repositoryFolderPath, String workingDir, Int64 folderVersion, Boolean useWorkingDir, Boolean deleteItemsThatAreNotInTheRepository)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.FortressVaultSourceControl.GetSource(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)
----------From the Vault NAnt Task, intermittent----------
System.OverflowException: Arithmetic operation resulted in an overflow.
at VaultClientIntegrationLib.GetOperations.ProcessCommandGetToLocationOutsideWorkingFolder(String[] objectPaths, GetOptions getOptions, String destPath)
at NAnt.Contrib.Tasks.SourceGearVault.vaultgettolocationoutsideworkingfolder.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Tasks.CallTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Re: Lots of intermittent server errors after upgrading to 5.0.3
Let's start by taking a look at the Vault server log. It's called sgvault.log and is in %windir%\temp\sgvault on the server machine. Send the log zipped up to support at sourcegear.com, Attn: Linda. Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Lots of intermittent server errors after upgrading to 5.0.3
A quick couple of questions, what was the version of CruiseControl.NET on your OLD machine vs. the version of CruiseControl.NET on the NEW machine? Are you using the SourceGear provided plugin for CruiseControl.NET?
The CruiseControl folks changed the API, and our older plugin will not work with CC.NET 1.5. You can contact SourceGear Tech Support for a new plugin which is in testing.
The CruiseControl folks changed the API, and our older plugin will not work with CC.NET 1.5. You can contact SourceGear Tech Support for a new plugin which is in testing.
Jeff Clausius
SourceGear
SourceGear
-
- Posts: 60
- Joined: Wed Aug 18, 2004 11:15 am
Re: Lots of intermittent server errors after upgrading to 5.0.3
Ok, I got the Cruise Control information from our tester. We're using Cruise Control.NET version 1.4.4.83. This is the same version that we were using before the Vault upgrade. We are using the SourceGear plugin.
Re: Lots of intermittent server errors after upgrading to 5.0.3
Then it is safe to rule that out. You're in capable hands with SourceGear Tech Support. Perhaps the log file will help.
Jeff Clausius
SourceGear
SourceGear
-
- Posts: 60
- Joined: Wed Aug 18, 2004 11:15 am
Re: Lots of intermittent server errors after upgrading to 5.0.3
Just to follow up, we were unable to determine the cause of these problems, but they stopped happening after a server reboot. It's been running stable for the past two months. Thanks, Linda and Jeff, for your help.
Re: Lots of intermittent server errors after upgrading to 5.0.3
Thanks for the update. That's good news. : )
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager