Error when Add File/Folder
Moderator: SourceGear
Error when Add File/Folder
Hi, I've install and configure a server vault. I've no problem unless I try to upload a folder from the GUI, then I get a message as: "Object reference not set to an instance of an object".
When I try it in other server works fine, so I suppose that the problem is in server side. Any idea?
Thanks,
This is the last occurence in client side log:
31/10/2008 13:10 <generic>: [GUIClientWorkerThread:1912] [System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
en VaultClientOperationsLib.TreeCache.IsFilenameMergeable(String filename)
en VaultClientOperationsLib.ChangeSetItem_AddFile.CreateRequest(ClientInstance ci)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl changeSetItems)
en VaultClientPresentationLib.GUIClientInstance.AddFilesFolders(RepositoryExplorerSelection selection, Boolean WorkingFolderMode, String[] defaultItems)
en VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult)]Referencia a objeto no establecida como instancia de un objeto.
en VaultClientOperationsLib.TreeCache.IsFilenameMergeable(String filename)
en VaultClientOperationsLib.ChangeSetItem_AddFile.CreateRequest(ClientInstance ci)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl changeSetItems)
en VaultClientPresentationLib.GUIClientInstance.AddFilesFolders(RepositoryExplorerSelection selection, Boolean WorkingFolderMode, String[] defaultItems)
en VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult)
Stack Trace:
en VaultClientPresentationLib.GUIClientInstance.ShowCommandException(Exception e, IWin32Window dialogOwner)
en VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult)
en VaultClientPresentationLib.GUIClientThread.Start()
en System.Threading.ThreadHelper.ThreadStart_Context(Object state)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
en System.Threading.ThreadHelper.ThreadStart()
When I try it in other server works fine, so I suppose that the problem is in server side. Any idea?
Thanks,
This is the last occurence in client side log:
31/10/2008 13:10 <generic>: [GUIClientWorkerThread:1912] [System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
en VaultClientOperationsLib.TreeCache.IsFilenameMergeable(String filename)
en VaultClientOperationsLib.ChangeSetItem_AddFile.CreateRequest(ClientInstance ci)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl changeSetItems)
en VaultClientPresentationLib.GUIClientInstance.AddFilesFolders(RepositoryExplorerSelection selection, Boolean WorkingFolderMode, String[] defaultItems)
en VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult)]Referencia a objeto no establecida como instancia de un objeto.
en VaultClientOperationsLib.TreeCache.IsFilenameMergeable(String filename)
en VaultClientOperationsLib.ChangeSetItem_AddFile.CreateRequest(ClientInstance ci)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy)
en VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl changeSetItems)
en VaultClientPresentationLib.GUIClientInstance.AddFilesFolders(RepositoryExplorerSelection selection, Boolean WorkingFolderMode, String[] defaultItems)
en VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult)
Stack Trace:
en VaultClientPresentationLib.GUIClientInstance.ShowCommandException(Exception e, IWin32Window dialogOwner)
en VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult)
en VaultClientPresentationLib.GUIClientThread.Start()
en System.Threading.ThreadHelper.ThreadStart_Context(Object state)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
en System.Threading.ThreadHelper.ThreadStart()
Re: Error when Add File/Folder
Could you look for a corresponding error in the Vault Server Log and post it?
What might help is if I could see both logs entirely. You can either post them here and remove them later, or you can send an email to support at sourcegear.com (attn: Beth) with those files attached and a link to this forum thread.
What might help is if I could see both logs entirely. You can either post them here and remove them later, or you can send an email to support at sourcegear.com (attn: Beth) with those files attached and a link to this forum thread.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Error when Add File/Folder
I'm working with Antonio offline already.
hs: 214055
hs: 214055
Subscribe to the Fortress/Vault blog
Re: Error when Add File/Folder
This is the today occurences. I try login with user "amp" and login failed, so I try with "admin" and goes on.
----03/11/2008 08:38 sgvaultsystem--()--
System Started
Version 4.1.3.18336
Cache Level = 1
DataBase Buffer Size (KB) = 256
LogFile Path = C:\WINNT\Temp\sgvault
Log Level = Quiet
Archive Log = Weekly
ReverseDNS Lookup = True
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 4320
SGVault Working Directory = C:\WINNT\Temp
SGVault Server URL =
Identity = BALEARES\ASPNET
----03/11/2008 08:38 amp--AMERINO(1.0.0.35)--SSL Disabled Rolling Back a transaction en VaultServiceSQL.VaultSqlConn.RollbackTransaction()
en VaultServiceAPILib.VaultServiceAPI.Login(VaultSqlConn conn, Boolean allowwebonly, String strLogin, String strDecryptedPassword, String strHostname, String strSessionID, String strDomain, String& strToken, VaultUser& vu, Int32& nValidUserAttempts)
en VaultServiceAPILib.VaultServiceAPISystem.DoLogin(Boolean allowwebonlyusers, Boolean bAdminLogin, HttpSessionState hss, String strHostname, String strLogin, String strPassword, String strRMKey, String& strAuthToken, String strDomain)
en VaultServiceAPILib.VaultServiceAPISystem.DoLogin(Boolean allowwebonlyusers, Boolean bAdminLogin, HttpSessionState hss, String strHostname, String strLogin, String strPassword, String strRMKey, String& strAuthToken)
en VaultService.VaultService.Login(String strHostname, Boolean bUseFullFiles, String username, String strEncryptedPassword, String strRMKey, String& strAuthToken)
en System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
en System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
en System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
en System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
en System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
en System.Web.Services.Protocols.WebServiceHandler.Invoke()
en System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
en System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
en System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
en System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
en System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
en System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
en System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
----03/11/2008 08:38 amp--AMERINO(1.0.0.35)--SSL Disabled Login failed: FailInvalidPassword
----03/11/2008 08:38 admin--AMERINO(1.0.0.35)--SSL Disabled Login
----03/11/2008 08:38 sgvaultsystem--()--
System Started
Version 4.1.3.18336
Cache Level = 1
DataBase Buffer Size (KB) = 256
LogFile Path = C:\WINNT\Temp\sgvault
Log Level = Quiet
Archive Log = Weekly
ReverseDNS Lookup = True
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 4320
SGVault Working Directory = C:\WINNT\Temp
SGVault Server URL =
Identity = BALEARES\ASPNET
----03/11/2008 08:38 amp--AMERINO(1.0.0.35)--SSL Disabled Rolling Back a transaction en VaultServiceSQL.VaultSqlConn.RollbackTransaction()
en VaultServiceAPILib.VaultServiceAPI.Login(VaultSqlConn conn, Boolean allowwebonly, String strLogin, String strDecryptedPassword, String strHostname, String strSessionID, String strDomain, String& strToken, VaultUser& vu, Int32& nValidUserAttempts)
en VaultServiceAPILib.VaultServiceAPISystem.DoLogin(Boolean allowwebonlyusers, Boolean bAdminLogin, HttpSessionState hss, String strHostname, String strLogin, String strPassword, String strRMKey, String& strAuthToken, String strDomain)
en VaultServiceAPILib.VaultServiceAPISystem.DoLogin(Boolean allowwebonlyusers, Boolean bAdminLogin, HttpSessionState hss, String strHostname, String strLogin, String strPassword, String strRMKey, String& strAuthToken)
en VaultService.VaultService.Login(String strHostname, Boolean bUseFullFiles, String username, String strEncryptedPassword, String strRMKey, String& strAuthToken)
en System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
en System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
en System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
en System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
en System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
en System.Web.Services.Protocols.WebServiceHandler.Invoke()
en System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
en System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
en System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
en System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
en System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
en System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
en System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
----03/11/2008 08:38 amp--AMERINO(1.0.0.35)--SSL Disabled Login failed: FailInvalidPassword
----03/11/2008 08:38 admin--AMERINO(1.0.0.35)--SSL Disabled Login
Re: Error when Add File/Folder
This Rolling Back a Transaction message for a failed login attempt is not an error. I put extra logging when rolling back a transaction, since we do that sometimes when there is a real error. This is just a normal error (invalid password) that writes out a scarier sounding "Rolling Back a Transaction" message in the log file.
Subscribe to the Fortress/Vault blog
Re: Error when Add File/Folder
I know it. I posted it because a user request it, so that everybody could see both logs.
Re: Error when Add File/Folder
Thanks for the update. Sorry for the misunderstanding.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Error when Add File/Folder
The problem has been solved. I did set the Mergeable file list empty and this is not correct.
Thanks,
Thanks,