Vault Standard 10.0.2 - Null reference accessing Vaultservice

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

Moderator: SourceGear

Post Reply
kadorken
Posts: 77
Joined: Mon Feb 16, 2004 8:38 am
Contact:

Vault Standard 10.0.2 - Null reference accessing Vaultservice

Post by kadorken » Tue May 19, 2020 8:02 am

Bizarre vault errors when SQL server is not running. For whatever reason, our MSSQLSERVER had stopped. Access to vault resulted in the following message: (after restart of SQL server, vault access restored)


Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:



[NullReferenceException: Object reference not set to an instance of an object.]
VaultService.Global.Application_Error(Object sender, EventArgs e) +478
System.Web.HttpApplication.RaiseOnError() +211

[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +520
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +176
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +267
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341

[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688

Tonya
Posts: 862
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Vault Standard 10.0.2 - Null reference accessing Vaultservice

Post by Tonya » Tue May 19, 2020 8:54 am

Now that your SQL Server is back up, Vault is still having issues? Have you tried restarting the Vault Server?

If the problem still exists, please email your Vault Server log to support@sourcegear.com and reference this forum post.

Thanks,

Tonya

kadorken
Posts: 77
Joined: Mon Feb 16, 2004 8:38 am
Contact:

Re: Vault Standard 10.0.2 - Null reference accessing Vaultservice

Post by kadorken » Tue May 19, 2020 11:43 am

i did restart vault with same issue. then i discovered the sql server not running.

everything returned to normal after that

Tonya
Posts: 862
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Vault Standard 10.0.2 - Null reference accessing Vaultservice

Post by Tonya » Tue May 19, 2020 2:23 pm

Glad to hear everything has returned to normal. SQL Server is a requirement for Vault but I agree, the error is a bit confusing. It's possible the Vault Server log had more pertinent information within it.

Tonya

Post Reply