Vault API: UndoCheckout failing

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
ismangil
Posts: 197
Joined: Wed Jun 30, 2004 10:49 am
Location: Sheffield, UK
Contact:

Vault API: UndoCheckout failing

Post by ismangil » Wed Nov 22, 2006 10:54 am

Using Vault API 3.5.1, I am receiving:

Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: VaultClientOperationsLib
at VaultClientOperationsLib.ClientInstance.UndoCheckOut(VaultClientFile[] files, LocalCopyType localCopy)
at VaultClientOperationsLib.ClientInstance.UndoCheckOut(VaultClientFile file, LocalCopyType localCopy)

I have checked that the clientinstance and parameters passed to UndoCheckout are OK.

Any ideas?
Perry Ismangil

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Nov 22, 2006 11:35 am

I would take a look at stepping through the Command Line Client's undo checkout code. Compare the parameters there vs. the parameters you are using. See if you can spot where something in the command line client's code for ProcessCommandUndoCheckout() is different.
Jeff Clausius
SourceGear

Locked