value cannot be null parameter name string

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

Moderator: SourceGear

Post Reply
chiefy123
Posts: 1
Joined: Mon Jan 11, 2010 3:46 pm

value cannot be null parameter name string

Post by chiefy123 » Mon Jan 11, 2010 4:06 pm

value cannot be null parameter name string
I get this error message when using the Vault Client.
The message occurs after I have selected a reposotory.
I can then check in or check out as normal.
FromVault Log VaultGUIClient.txt
12/01/2010 8:42:45 AM <generic>: [GUIClientWorkerThread:4284] [System.Web.Services.Protocols.SoapException: Value cannot be null.
Parameter name: String
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.GetRepositoryOptions(VaultRepositoryOptions& vOptions)
at VaultClientNetLib.VaultConnection.GetRepositoryOptions(Int32 nRepID, VaultRepositoryOptions& options)
at VaultClientOperationsLib.ClientInstance.RefreshRepositoryOptions()
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)]Value cannot be null.
Parameter name: String
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.GetRepositoryOptions(VaultRepositoryOptions& vOptions)
at VaultClientNetLib.VaultConnection.GetRepositoryOptions(Int32 nRepID, VaultRepositoryOptions& options)
at VaultClientOperationsLib.ClientInstance.RefreshRepositoryOptions()
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)

Stack Trace:
at VaultClientPresentationLib.GUIClientInstance.ShowCommandException(Exception e, IWin32Window dialogOwner)
at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult)
at VaultClientPresentationLib.GUIClientThread.Start()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()





When I use Visual Studio I get the same error message but it prevents me from connecting to Vault.

I am using Vault client 4.1.4(18402)

From Vault Log ,VaultVsipClient2008.txt
12/01/2010 8:15:05 AM <generic>: [System.Exception: Value cannot be null.
Parameter name: String]Value cannot be null.
Parameter name: String


Stack Trace:
at VaultClientPresentationLib.GUIClientInstance.ShowCommandException(Exception e, IWin32Window dialogOwner)
at SourceGearLLC.VaultVsipClient.Vault.GuiLoginForRepository(Repository repository, Boolean cancelMeansOffline, IntPtr mainWindowHandle)
at SourceGearLLC.VaultVsipClient.VaultCommandOnline.DoPerform()
at SourceGearLLC.VaultVsipClient.VaultCommand.Perform()
at SourceGearLLC.VaultVsipClient.VaultVsipClient.Exec_icmdOnline(Object sender, EventArgs e)
at System.ComponentModel.Design.MenuCommand.Invoke()
at System.ComponentModel.Design.MenuCommand.Invoke(Object arg)
at Microsoft.VisualStudio.Shell.OleMenuCommandService.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr pIn, IntPtr vOut)
at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr pIn, IntPtr vOut)

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

Re: value cannot be null parameter name string

Post by Beth » Tue Jan 12, 2010 8:41 am

Since the problem isn't specific to VS, let's focus first on the GUI client. Could you look inside your Vault Server Log to see if there are any errors at the same time as your client errors?

Does the repository name you are selecting have any special characters in it or is it entirely alpha-numeric?

Does anyone else receive an error when connecting with the GUI client?
Beth Kieler
SourceGear Technical Support

Post Reply