System.NullReferenceException: Object reference not set

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

Moderator: SourceGear

Post Reply
nkroy
Posts: 9
Joined: Thu Oct 11, 2007 2:00 pm

System.NullReferenceException: Object reference not set

Post by nkroy » Thu Oct 11, 2007 6:13 pm

it picks up the Modifications in the repository but then again it get to another exception . But my C:\Project is empty shouldn't it have the latest repository

Here is how it look when i run ccnet.exe Is this a msbuild error now because that solution file just builds fine every time i build it manually. Is this vault exception

Sometime when i rerun it does not throw an exception and tells me success . does that mean the build is good?

2007-10-11 15:23:51,593 [project:DEBUG] Most recent folder version: 1694
2007-10-11 15:23:51,593 [project:DEBUG] Most recent TxID: 23310
2007-10-11 15:23:51,593 [project:DEBUG] The folder has changed.
2007-10-11 15:23:51,593 [project:INFO] Retrieving detailed change list for $ in Vault Repository "Pho" between 10/11/2007 3:06:58 PM and 10/11/2007 3:23:48 PM
2007-10-11 15:23:51,593 [project:DEBUG] Vault History command: FileName: [C:\Program Files\SourceGear\Vault Client\vault.exe] -- Arguments: [history $ -excludeactions label,obliterate -rowlimit 0 -begindate 2007-10-11T15:06:58 -enddate 2007-10-11T15:23:48 -host vault.project.biz -user -password password -repository Pho] -- WorkingDirectory: [C:\Projects\] -- StandardInputContent: [] -- Timeout: [120000]
2007-10-11 15:23:51,593 [project:DEBUG] Starting process [C:\Program Files\SourceGear\Vault Client\vault.exe] in working directory [C:\Projects\] with arguments [history $ -excludeactions label,obliterate -rowlimit 0 -begindate 2007-10-11T15:06:58 -enddate 2007-10-11T15:23:48 -host vault.project.biz -user na -password password -repository Pho]
2007-10-11 15:23:58,093 [project:DEBUG] <vault>
2007-10-11 15:23:58,093 [project:DEBUG] <history>
2007-10-11 15:23:58,093 [project:DEBUG] <item txid="23310" date="10/11/2007 3:18:45 PM" name="$/Main/Src/Web/Controls/Phoenix.Web.UserControls/controls/miniprofilecontrol.ascx.cs" type="60" typeName="CheckIn" version="25" objverid="273642" user="sean" actionString="Checked In" />
2007-10-11 15:23:58,093 [project:DEBUG] </history>
2007-10-11 15:23:58,093 [project:DEBUG] <bugsreferenced />
2007-10-11 15:23:58,093 [project:DEBUG] <result>
2007-10-11 15:23:58,093 [project:DEBUG] <success>True</success>
2007-10-11 15:23:58,093 [project:DEBUG] </result>
2007-10-11 15:23:58,187 [project:DEBUG] </vault>
2007-10-11 15:23:58,203 [project:INFO] 1 modification detected.
2007-10-11 15:23:58,218 [project:INFO] Building: IntervalTrigger triggered a build (IfModificationExists)
2007-10-11 15:23:58,218 [project:DEBUG] Cleaning out source folder: C:\Projects\
2007-10-11 15:23:58,218 [project:INFO] Getting source from Vault
2007-10-11 15:23:58,218 [project:DEBUG] Starting process [C:\Program Files\SourceGear\Vault Client\vault.exe] in working directory [C:\Projects\] with arguments [getversion 1694 $ C:\Projects\ -useworkingfolder -merge overwrite -makewritable -backup no -setfiletime checkin -host vault.project.biz -user naren -password password -repository Phoenix]
2007-10-11 15:24:00,859 [project:DEBUG] <vault>
2007-10-11 15:24:00,859 [project:DEBUG] <error>
2007-10-11 15:24:00,859 [project:DEBUG] <exception>System.NullReferenceException: Object reference not set to an instance of an object.
2007-10-11 15:24:00,859 [project:DEBUG] at VaultClientOperationsLib.VaultClientFolder..ctor(VaultFolderDelta fd, VaultClientFolder parent)
2007-10-11 15:24:00,859 [project:DEBUG] at VaultClientIntegrationLib.GetOperations.performGetVersion(String objectPath, Int32 version, String strDestFolder, GetOptions getOptions)
2007-10-11 15:24:00,859 [project:DEBUG] at VaultClientIntegrationLib.GetOperations.ProcessCommandGetVersion(String objectPath, Int32 version, GetOptions getOptions)
2007-10-11 15:24:00,859 [project:DEBUG] at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
2007-10-11 15:24:00,859 [project:DEBUG] at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)</exception>
2007-10-11 15:24:00,859 [project:DEBUG] </error>
2007-10-11 15:24:00,859 [project:DEBUG] <result>

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Oct 15, 2007 10:41 am

We're not able to help with MSBuild issues, as we posted in your other thread. One way to determine whether this is a Vault problem is to run the command line commands just with vault.exe, and not within a build script.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply