<vaultgetfile/> fails
"Michael Gerfen" <[email protected]> Mon, 13 Sep 2004 15:32:50 -0700
| Newsgroups | gmane.comp.version-control.sourcegear-vault.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, When I attempt to use the <vaultgetfile/> task I get the this error[1]. = I've debugged the code in VaultBase.IsVaultFolder. The task fails on = this line: vaultClientFolder =3D = ClientInstance.TreeCache.Repository.Root.FindFolderRecursive(normalizedPa= th); because ClientInstance.TreeCache is a null reference. I've done quite a = bit of research in the list archives but have not come across a cause = and solution for this problem. I have tried to have all of the = CacheMember_ files recreated by deleting them from the ..\ Application = Data\SourceGear\Vault_1\Client\... directory but this has had no effect. Anyone have any ideas on how to solve this problem? Thanks, Michael [1] Error out from NAnt: INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance = of an object. at NAnt.Contrib.Tasks.SourceGearVault.VaultBase.IsVaultFolder(String = folderName) in c:\nant\vault\vaultbase.cs:line 1 41 at NAnt.Contrib.Tasks.SourceGearVault.VaultGetFile.GetFile(String = fileName) in C:\Nant\vault\VaultGetFile.cs:line 129 at NAnt.Contrib.Tasks.SourceGearVault.VaultGetFile.ExecuteTask() in = C:\Nant\vault\VaultGetFile.cs:line 111 at NAnt.Core.Task.Execute() in C:\Documents and = Settings\drieseng\Local Settings\Temp\tmp1CE1.tmp\src\NAnt.Core\Task. cs:line 177 at NAnt.Core.Target.Execute() in C:\Documents and = Settings\drieseng\Local Settings\Temp\tmp1CE1.tmp\src\NAnt.Core\Tar get.cs:line 249 at NAnt.Core.Project.Execute(String targetName, Boolean = forceDependencies) in C:\Documents and Settings\drieseng\Loca l Settings\Temp\tmp1CE1.tmp\src\NAnt.Core\Project.cs:line 876 at NAnt.Core.Project.Execute() in C:\Documents and = Settings\drieseng\Local Settings\Temp\tmp1CE1.tmp\src\NAnt.Core\Pr oject.cs:line 833 at NAnt.Core.Project.Run() in C:\Documents and = Settings\drieseng\Local Settings\Temp\tmp1CE1.tmp\src\NAnt.Core\Projec t.cs:line 902