"Couldn't find folder to delete: $/Foo/Bar"

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

Moderator: SourceGear

Post Reply
Jon Sagara
Posts: 2
Joined: Sun Jul 15, 2007 5:14 pm
Contact:

"Couldn't find folder to delete: $/Foo/Bar"

Post by Jon Sagara » Sun Jul 15, 2007 5:20 pm

Hello,

I just upgraded from 3.5.x to 4.0.2. I can open the client on my dev machine without problems, but when I try to open the client on my server, I get the following error message:

Couldn't find folder to delete: $/Foo/Bar

After I dismiss the dialog, all three panes are blank. If I right-click in the left-hand tree nav pane, I get an "Object reference not set to an instance of an object" error message.

Any idea of what the initial error message ("Couldn't find folder to delete") means, and how to fix whatever the problem is?


Thank you,

Jon Sagara
Client Information
Vault Client Version: 4.0.2.15802
.Net Framework Version: 2.0.50727.832
Operating System: Microsoft(R) Windows(R) Server 2003, Standard Edition
Service Pack: 2.0
OS Version: 5.2.3790
Total Physical Memory: 510.98 MB
Time Zone: (GMT-08:00) Pacific Time (US & Canada)

Server Information
Vault Server Version: 4.0.2.15802
.Net Framework Version: 2.0.50727.832
Operating System: Microsoft(R) Windows(R) Server 2003, Standard Edition
Service Pack: 2.0
OS Version: 5.2.3790
Timezone: (GMT-08:00) Pacific Time (US & Canada)
SQL Version: Microsoft SQL Server 2000 - 8.00.2039 (Intel X86)
May 3 2005 23:18:38
Copyright (c) 1988-2003 Microsoft Corporation
Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
7/15/2007 4:44:29 PM <generic>: [<No Name>:2168] VaultGUIClient, Version=4.0.2.15802, Culture=neutral, PublicKeyToken=null at VaultLib.SimpleLogger.set_LogFilePath(String value)
at VaultLib.SimpleLogger.ConfigureFromAppSettings(String programName)
at VaultGUIClient.VaultGUIClientMain.Main()
7/15/2007 4:44:39 PM <generic>: [GUIClientWorkerThread:2796] [System.ApplicationException: Couldn't find folder to delete: $/Foo/Bar
at VaultClientOperationsLib.ChangeSetItem_DeleteFolder.GetDelta(VaultClientRepository pendingChangeRepository, VaultClientRepository serverSynchedRepository, Boolean undo)
at VaultClientOperationsLib.TreeCache.UpdateRepositoryWithPendingChange(ChangeSetItemPerformPending csiPP, Boolean updateWorkingFolder, Boolean undo, Boolean isRefresh, ChangeSetItemColl csisToRemove)
at VaultClientOperationsLib.TreeCache.UpdateRepositoryWithPendingChanges(ChangeSetItemColl items, Boolean updateWorkingFolder, Boolean undo, Boolean isRefresh)
at VaultClientOperationsLib.TreeCache.UpdateRepositoryWithInternalChangeSet(ChangeSetItemColl itemsToIgnore, Boolean isRefresh)
at VaultClientOperationsLib.TreeCache.Load()
at VaultClientOperationsLib.TreeCache..ctor(Int32 repID, String username, String uniqueRepositoryID, String localStoreBasePath, ClientInstance ci)
at VaultClientOperationsLib.ClientInstance.SetActiveRepositoryID(Int32 id, String username, String uniqueRepositoryID, Boolean doRefresh, Boolean updateKnownChangesAll)
at VaultClientPresentationLib.GUIClientInstance.ChooseRepository(Boolean forceDialogShow, String inProfile)
at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult)]Couldn't find folder to delete: $/SagaraSoftware/BitmapManip
at VaultClientOperationsLib.ChangeSetItem_DeleteFolder.GetDelta(VaultClientRepository pendingChangeRepository, VaultClientRepository serverSynchedRepository, Boolean undo)
at VaultClientOperationsLib.TreeCache.UpdateRepositoryWithPendingChange(ChangeSetItemPerformPending csiPP, Boolean updateWorkingFolder, Boolean undo, Boolean isRefresh, ChangeSetItemColl csisToRemove)
at VaultClientOperationsLib.TreeCache.UpdateRepositoryWithPendingChanges(ChangeSetItemColl items, Boolean updateWorkingFolder, Boolean undo, Boolean isRefresh)
at VaultClientOperationsLib.TreeCache.UpdateRepositoryWithInternalChangeSet(ChangeSetItemColl itemsToIgnore, Boolean isRefresh)
at VaultClientOperationsLib.TreeCache.Load()
at VaultClientOperationsLib.TreeCache..ctor(Int32 repID, String username, String uniqueRepositoryID, String localStoreBasePath, ClientInstance ci)
at VaultClientOperationsLib.ClientInstance.SetActiveRepositoryID(Int32 id, String username, String uniqueRepositoryID, Boolean doRefresh, Boolean updateKnownChangesAll)
at VaultClientPresentationLib.GUIClientInstance.ChooseRepository(Boolean forceDialogShow, String inProfile)
at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult)
at VaultLib.SimpleLogger.WriteLine_Urgent(Exception ex)
at VaultClientPresentationLib.GUIClientInstance.ShowCommandException(Exception e, IWin32Window dialogOwner)
at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult)
at VaultClientPresentationLib.GUIClientThread.Start()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
7/15/2007 4:44:43 PM <generic>: [<No Name>:2712] SimpleLogger finalized at VaultLib.SimpleLogger.Finalize()
Jon Sagara

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

Post by ian_sg » Mon Jul 16, 2007 8:21 am

Jon,

Thanks for the report. Would you be willing to send me a log from startup? There were some upgrade scenarios that produced this error, but I thought we had eliminated them all. Your log will help determine what we missed. You can email it to ian at sourcegear dot com.

More importantly, to get you up and running again, you need to reset your pending changes list. Make sure any clients are closed. In your client cache directory delete the CacheMember_ChangeSetItems file. Restart the client. It should open normally. Note that any pending moves/renames/deletes you had will be gone, and you'll have to re-pend them.

Sorry for the inconvenience.
Ian Olsen
SourceGear

Jon Sagara
Posts: 2
Joined: Sun Jul 15, 2007 5:14 pm
Contact:

Post by Jon Sagara » Wed Jul 18, 2007 7:07 am

Done, and thank you for the quick reply!
Jon Sagara

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

Post by ian_sg » Wed Jul 18, 2007 7:52 am

Thanks for the log, Jon.
Ian Olsen
SourceGear

Post Reply