RE: <vaultgetfile/> fails

"Eric Sink" <[email protected]> Mon, 13 Sep 2004 19:58:32 -0500
Newsgroups gmane.comp.version-control.sourcegear-vault.user
Message-ID <[email protected]>
 
I doubt you'll get any responses from folks
here at SourceGear.  We've had no involvement
in the Nant/Vault integration.

However, I can make one meta-suggestion:  You
may want to also post this question on the
support forum site:

http://support.sourcegear.com/

The forums have a lot more readers than this
mailing list.

--
Eric Sink
Software Craftsman
http://software.ericsink.com/

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Michael Gerfen
Sent: Monday, September 13, 2004 5:33 PM
To: [email protected]
Subject: [vault-list] <vaultgetfile/> fails

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 =
ClientInstance.TreeCache.Repository.Root.FindFolderRecursive(normalizedPath)
;

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


_______________________________________________
vault-list mailing list
[email protected]
http://lists.sourcegear.com/cgi-bin/mailman/listinfo/vault-list