Object reference not set to an instance of an object.

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

Moderator: SourceGear

Post Reply
tomr
Posts: 1
Joined: Wed Jun 27, 2007 8:01 am

Object reference not set to an instance of an object.

Post by tomr » Wed Jun 27, 2007 8:10 am

Vault Client 4.0.1 (15780) on Windows XP

I am trying to check in files using the Vault UI. I had an entire project checked out and tried to checkin the entire project.
If I check in parts of the project - a few files at a time I am successful.

I tried the same operation on a Win2003 and Vista works fine.

I have tried uninstalling and reinstalling Vault.

Vault worked fine before I upgraded the last time.

Thanks,
Tom Richards
Pharmitas Inc.
trichards@pharmitas.com

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Wed Jun 27, 2007 8:25 am

Tom,

Can you enable IDE logging and post the relevant log section when you're getting this error?
Ian Olsen
SourceGear

infinition
Posts: 26
Joined: Fri Apr 27, 2007 8:13 am

Post by infinition » Fri Aug 10, 2007 8:04 am

I too have this issue. When checking out or GetLatest.

AutoDesk Vault has even released an hotfix...

We use version 4.0.2 (15802)
Here is the log:
--------------------------------------------------------------------------
8/10/2007 10:15:04 AM <eventengine>: [GUIClientWorkerThread:3488] Event fired: Forced Synchronous VaultClientOperationsLib.CheckOutsChangedEvent
8/10/2007 10:15:04 AM <eventengine>: [GUIClientWorkerThread:3488] Waiting for Forced Synchronous VaultClientOperationsLib.CheckOutsChangedEvent to complete.
8/10/2007 10:15:04 AM <eventengine>: [Main:3932] Forced Synchronous VaultClientOperationsLib.CheckOutsChangedEvent completed.
8/10/2007 10:15:04 AM <eventengine>: [GUIClientWorkerThread:3488] Waiting for Forced Synchronous VaultClientOperationsLib.CheckOutsChangedEvent to complete.
8/10/2007 10:15:04 AM <eventengine>: [Main:3932] Forced Synchronous VaultClientOperationsLib.CheckOutsChangedEvent completed.
8/10/2007 10:15:04 AM <eventengine>: [GUIClientWorkerThread:3488] Waiting for Forced Synchronous VaultClientOperationsLib.CheckOutsChangedEvent to complete.
8/10/2007 10:15:04 AM <eventengine>: [Main:3932] Forced Synchronous VaultClientOperationsLib.CheckOutsChangedEvent completed.
8/10/2007 10:15:04 AM <mrd>: [GUIClientWorkerThread:3488] Updating checkoutlist for pend of Rename: $/Products/BR1001/BR1001UserManual to $/Products/BR1001/User Manual
8/10/2007 10:15:04 AM <mrd>: [GUIClientWorkerThread:3488] Corresponding namespace change for Rename: $/Products/BR1001/BR1001UserManual to $/Products/BR1001/User Manual is Rename: $/Products/BR1001/BR1001UserManual to $/Products/BR1001/User Manual
8/10/2007 10:15:04 AM <generic>: [GUIClientWorkerThread:3488] Exception applying changes to check out list:
8/10/2007 10:15:04 AM <generic>: [GUIClientWorkerThread:3488] [System.NullReferenceException: Object reference not set to an instance of an object.
at VaultClientOperationsLib.TreeCache.UpdateCheckOutListWithPendingChange(ChangeSetItem item, Boolean undo, VaultCheckOutItem[]& newItems, VaultCheckOutRelease[]& releaseItems)
at VaultClientOperationsLib.TreeCache.UpdateCheckOutListWithPendingChanges(ChangeSetItemColl items, Boolean undo, VaultCheckOutItem[]& newItems, VaultCheckOutRelease[]& releaseItems)
at VaultClientOperationsLib.TreeCache.UpdateCheckOutListWithInternalChangeSet(ChangeSetItemColl itemsToIgnore, VaultCheckOutItem[]& newItems, VaultCheckOutRelease[]& releaseItems)
at VaultClientOperationsLib.ClientInstance.RefreshCheckOutList(Boolean isRetry, ChangeSetItemColl committedItems)]Object reference not set to an instance of an object.
at VaultClientOperationsLib.TreeCache.UpdateCheckOutListWithPendingChange(ChangeSetItem item, Boolean undo, VaultCheckOutItem[]& newItems, VaultCheckOutRelease[]& releaseItems)
at VaultClientOperationsLib.TreeCache.UpdateCheckOutListWithPendingChanges(ChangeSetItemColl items, Boolean undo, VaultCheckOutItem[]& newItems, VaultCheckOutRelease[]& releaseItems)
at VaultClientOperationsLib.TreeCache.UpdateCheckOutListWithInternalChangeSet(ChangeSetItemColl itemsToIgnore, VaultCheckOutItem[]& newItems, VaultCheckOutRelease[]& releaseItems)
at VaultClientOperationsLib.ClientInstance.RefreshCheckOutList(Boolean isRetry, ChangeSetItemColl committedItems)
-----------------------------------------------------------------------

This is only a part of the log. I can't post more because of our own security policy.

Thanks.

infinition
Posts: 26
Joined: Fri Apr 27, 2007 8:13 am

Post by infinition » Fri Aug 10, 2007 8:42 am

I found the problem. I had multiple pending "Rename" actions. This behaviour is a little weird.

I did rename some directory some time ago and they are correctly renamed. But I still have a Pending action to resolve in my list, which does nothing when I try to resolve it. I must undo the action in the pending list (mouse right click) to remove it, but the rename is still effective.

I suggest changing the user message in the MessageBox to guide a little the user about how to resolve that type of problem.

Post Reply