The requested version (x) of $ can not be found in the c

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Saturn
Posts: 17
Joined: Wed Jul 05, 2006 9:56 pm

The requested version (x) of $ can not be found in the c

Post by Saturn » Tue Apr 14, 2009 2:26 pm

I'm trying to get the entire tree at a specific version but I keep getting this error:
---------------------------
SourceGear Vault
---------------------------
The requested version (13705) of $ can not be found in the current repository. If this object has been deleted, you will need to undelete it and then try again.
---------------------------
OK
---------------------------
Vault is version 3.5.3. Happened with 3.5.0 too, so I tried the upgrade to see if it would fix it. Happens on every repository, old, new, etc and every version. I can retrieve a tree from a subfolder, but not the root. The command line vault GETVERSION reports:
System.NullReferenceException: Object reference not set to an instance of an object.
at VaultClientOperationsLib.VaultClientFolder..ctor(VaultFolderDelta fd, VaultClientFolder parent)
at VaultCmdLineClient.VaultCmdLineClient.performGetVersion(VaultClientTreeObject treeObjectToRetrieve, Int32 version,
Boolean useWorkingFolder, MergeType mt, String strDestFolder)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommandGetVersion(Int32 version, String strReposItem, String strDestF
older)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)
Client API shows that the call to GetBranchStructure() is suceeding (not throwing an exception) but the ref parameter vfDelta is coming back Null.


Not duplicatable on a test-install of Vault 3.5, so something's messed up with our database apparently.

I'm going to try to turn on some additional logging

Saturn
Posts: 17
Joined: Wed Jul 05, 2006 9:56 pm

Re: The requested version (x) of $ can not be found in the c

Post by Saturn » Tue Apr 14, 2009 2:42 pm

Huh. Appears to be a permissions issue of some sort. The user I was using had full rights to the repository via a group, but the default rights were cleared. Changing the default rights to R C A fixed it.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: The requested version (x) of $ can not be found in the c

Post by Beth » Tue Apr 14, 2009 3:41 pm

Thanks for the update.
Beth Kieler
SourceGear Technical Support

Post Reply