Can't branch a folder

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

Moderator: SourceGear

Post Reply
jamesvhyde
Posts: 2
Joined: Tue Nov 13, 2007 2:57 pm
Location: Atlanta, GA

Can't branch a folder

Post by jamesvhyde » Tue Nov 13, 2007 3:22 pm

When we try to branch a particular folder, the following error appears:
[11/13/2007 2:53:13 PM] Ending the transaction
[11/13/2007 2:53:32 PM] An error occurred while trying to end a transaction.
[11/13/2007 2:53:32 PM] An exception was encountered during the transaction. Exception: 1 : Failure at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VaultClientNetLib.ClientService.VaultService.EndTx(String strTxID, Int32 nTxAction, DateTime& dtTxBegin, Int64& nNewRevision, VaultResponseItem[]& responses)
at VaultClientNetLib.VaultConnection.EndTx(String strTxID, Int64& nNewRevision, VaultResponseItem[]& responses, Int32 nAction, DateTime& txBeginDate)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
[11/13/2007 2:53:32 PM] Transaction failed
[11/13/2007 2:53:32 PM] Transaction failed
The error in the server log looks like this:
----11/13/2007 2:53:13 PM jamesv--192.168.1.48(192.168.1.48)--SSL Enabled Ending transaction
----11/13/2007 2:53:13 PM jamesv--192.168.1.48(192.168.1.48)--SSL Enabled Beginning SQL transaction 19360
----11/13/2007 2:53:13 PM jamesv--192.168.1.48(192.168.1.48)--SSL Enabled Attempting to acquire repository lock.
----11/13/2007 2:53:13 PM jamesv--192.168.1.48(192.168.1.48)--SSL Enabled Acquired repository lock.
----11/13/2007 2:53:13 PM jamesv--192.168.1.48(192.168.1.48)--SSL Enabled TreeManager Signal - Tx Begin - CacheLockId:19361
----11/13/2007 2:53:13 PM jamesv--192.168.1.48(192.168.1.48)--SSL Enabled TreeManager: A transaction is pending, but it belongs to the current user. Returning cached tree, revID 29025
----11/13/2007 2:53:31 PM jamesv--192.168.1.48(192.168.1.48)--SSL Enabled TreeManager Signal - Tx End - TxID:29027 CacheLockId:19361 RepID:2
----11/13/2007 2:53:31 PM jamesv--192.168.1.48(192.168.1.48)--SSL Enabled SQL transaction 19360 successfully rolled back.
----11/13/2007 2:53:31 PM jamesv--192.168.1.48(192.168.1.48)--SSL Enabled Critical Error! Object reference not set to an instance of an object.
at VaultServiceSQL.VaultSqlSCC.BranchObject(VaultSqlConn conn, Int32 nRepID, Int64 nRootObjVerID, DateTime dtModDate, Int64 nTxID, Int32 nTxItem, String strItemPath, Byte nTxType, String strComment, String strMiscInfo, String strXml, String strDestParentPath, HybridDictionary htTxModifiedItems, VaultFSObject& fsoOut)
at VaultServiceAPILib.VaultTransaction.a(VaultTransactionContainer A_0, String A_1, String A_2, String A_3, VaultFindFolderEntry A_4, VaultFindFolderEntry A_5, Int64 A_6, Int64 A_7, VaultRequestBranch A_8, Boolean A_9, HybridDictionary A_10, String A_11, String A_12, String A_13)
at VaultServiceAPILib.VaultTransaction.PreCheckProcessBranchOrSnapshot(Int32 nCurrStatCode, VaultRequestBranch vrb, Boolean bCommitWork, VaultTransactionContainer txContainer)
at VaultServiceAPILib.VaultServiceAPI.EndTx(HttpApplicationState theApp, VaultLoginInfo vliLoggedInUser, Int32 nTxUserID, String strTxID, Int32 nTxAction, VaultIntTx vit, DateTime& dtTxBegin, Int64& nNewRevision, VaultResponseItem[]& responses, VaultRepository& repNew)
at VaultService.VaultService.EndTx(String strTxID, Int32 nTxAction, DateTime& dtTxBegin, Int64& nNewRevision, VaultResponseItem[]& responses)
----11/13/2007 2:53:31 PM jamesv--192.168.1.48(192.168.1.48)--SSL Enabled ***Tree cache would have been flushed here***
----11/13/2007 2:53:31 PM jamesv--192.168.1.48(192.168.1.48)--SSL Enabled (1421fff0-e771-468e-9fef-1d470652f3d1) EndTx (Revision - 0) returned: Failure
We are using Vault client and server version 3.1.8.3771.

We are able to branch each file individually from this folder, but not the folder itself. I have seen this issue elsewhere in the forums, but with no follow-up from the original poster with more information.

Can anyone help?

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

Post by Beth » Wed Nov 14, 2007 8:59 am

First try an iisreset on your server (Start - Run - iisreset). Try using a different client to branch after that.

Which threads are you referring to that didn't post a resolution?

jamesvhyde
Posts: 2
Joined: Tue Nov 13, 2007 2:57 pm
Location: Atlanta, GA

Post by jamesvhyde » Wed Nov 14, 2007 9:30 am

Thanks for your prompt response. I forgot to mention that we had already tried a restart. We also tried to branch from a different client and a different user, as well as a client on the server machine using localhost.

I just ran iisreset and tried to branch from a client on the server machine. The same error occurs.

These are the threads I was referring to:
7827
7390
The second one describes exactly our problem. We originally hit the error when trying to branch the entire trunk, but we were able to narrow it down to one particular folder. Every file and folder in that folder can be branched individually, but the folder itself generates this error.

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

Post by Beth » Wed Nov 14, 2007 9:38 am

Ok, then can you send me an email at support at sourcegear.com (attn: Beth) with a link to this thread? We'll take this offline a bit.

Post Reply