Child pages
  • Login error: Object reference not set to an instance of an object.

Contents        

PROBLEM / ISSUE

When logging in to TFS4JIRA Self-Hosted 9.0, user receives the following error.

In Support Tools following entry is logged:

022-05-12 17:33:31,238 [11] ERROR SpartezSoftware.Synchronizer.Controllers.AccountController - Fatal error requesting POST http://localhost/tfs-jira-synchronizer/Account/LogOn?ReturnUrl=%2ftfs-jira-synchronizer
System.NullReferenceException: Object reference not set to an instance of an object.
   at SpartezSoftware.Synchronizer.Controllers.AccountController.LogOn(LogOnModel model, String returnUrl, CancellationToken cancellationToken)
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

CAUSE OF THE PROBLEM

TFS4JIRA is unable to set a session state for logging user.

SOLUTION

Check ‘tfs-jira-synchronizer’ session state settings in IIS manager (command: inetmgr) and change it to ‘In process’ when setup differently. This setting is inherited from Server and Web Site settings.

  • No labels

This page has no comments.