"Object reference not set to an instance of an object."

If you are having a problem using Vault, post a message here.
Post Reply
dpbouchard
Posts: 8
Joined: Tue Jul 28, 2009 12:40 pm

"Object reference not set to an instance of an object."

Post by dpbouchard » Sun Jun 14, 2015 6:01 pm

When trying to forcibly undo a check out, i navigate to the admin page, find my repository, expand on the options, click on the "Undo Checkout" option and get the error message "Object reference not set to an instance of an object." I've tried this in 3 different browsers on my dev laptop (IE, FF, Chrome) and also I went to my sql/web server console and tried the same thing with the same results.

Thoughts? Is there a repair/validate function available for the sg database?

Running 8.0.1 (30299) on both client and server and sql server 2012. Been running fine for years, no env change that I can point to that had any impact on this.

url of command causing problem is http://mylocalserver/VaultService/Admin ... x?repid=17

Looking in the sgvault\tblrepositories table i see the following: (I changed the repo name to <hidden> as it is my customer's name) also, among other records.

repid uniquerepid name rootname currenttxid foldercount filecount repositorysize deletedcount foldersecurity requirecheckincomment reqexclusivelock enablekeyword eolid status bugurl lastuserrepositorychange bugtrackingapp currentcolistid requirebugid currentrootobjverid bugappextradata defaultaccesslevel
17 1CDC0D93-0188-417C-B64A-B922C899B904 <hidden> $ 11924 195 2186 0 7225 1 0 0 1 2 0 2015-05-27 04:02:30.100 0 39865 0 131366 NULL N

Thanks,
Don B.

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

Re: "Object reference not set to an instance of an object."

Post by Beth » Mon Jun 15, 2015 3:58 pm

Could you send me your Vault server log found on the Vault server at %windir%\temp\sgvault\sgvault.log or post it here? (can remove it after troubleshooting) You can send an email to support at sourcegear.com (attn: Beth), but please include a link to this forum thread.
Beth Kieler
SourceGear Technical Support

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

Re: "Object reference not set to an instance of an object."

Post by Beth » Mon Jun 22, 2015 8:05 am

Email received. Will respond directly.

HS: 235304
Beth Kieler
SourceGear Technical Support

Post Reply