Object reference not set to an instance of an object.

Server Error in '/' Application.

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.]
   Com.BinaryBracket.BowlsResults.Business.Retrieval.Actions.KnockoutTeamSummaryAction.Load(Int16 knockoutID, Int32 teamID) in C:\BinaryBracket\Repos\platform-v1\Platform\Source\OriginalBusiness\Retrieval\Actions\KnockoutTeamSummaryAction.cs:36
   Com.BinaryBracket.BowlsResults.Business.Retrieval.Actions.KnockoutTeamSummaryAction.Execute(Int16 knockoutID, Int32 teamID) in C:\BinaryBracket\Repos\platform-v1\Platform\Source\OriginalBusiness\Retrieval\Actions\KnockoutTeamSummaryAction.cs:23
   Com.BinaryBracket.BowlsResults.Web.RetrievalService.Statistics.PageServlets.StatisticsPageServlet.GetKnockoutTeamSummary(Int16 knockoutID, Int32 teamID) in C:\BinaryBracket\Repos\platform-v1\Web\Source\RetrievalService\Statistics\PageServlets\StatisticsPageServlet.cs:103

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   Com.BinaryBracket.Servlets.ServletHandler.InvokeServletMethod() in C:\BinaryBracket\Repos\core\Source\Servlets\ServletHandler.cs:344
   Com.BinaryBracket.Servlets.ServletHandler.GetServletMethodResponseXml() in C:\BinaryBracket\Repos\core\Source\Servlets\ServletHandler.cs:468
   Com.BinaryBracket.Servlets.ServletHandler.ExecuteMethod() in C:\BinaryBracket\Repos\core\Source\Servlets\ServletHandler.cs:392
   Com.BinaryBracket.Servlets.ServletHandler.ExecuteRequest() in C:\BinaryBracket\Repos\core\Source\Servlets\ServletHandler.cs:109
   Com.BinaryBracket.Servlets.ServletHandler.ProcessRequest() in C:\BinaryBracket\Repos\core\Source\Servlets\ServletHandler.cs:93
   Com.BinaryBracket.Servlets.PageServletHandler.ProcessPageRequest(ServletContext context, String pageUri) in C:\BinaryBracket\Repos\core\Source\Servlets\PageServletHandler.cs:70
   Com.BinaryBracket.Servlets.PageServletHandler.ProcessRequest(HttpContext context) in C:\BinaryBracket\Repos\core\Source\Servlets\PageServletHandler.cs:56
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4718.0