导航菜单
首页 >  中国寿险核保师考试报名  > 未将对象引用设置到对象的实例。

未将对象引用设置到对象的实例。

“/”应用程序中的服务器错误。 未将对象引用设置到对象的实例。 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 堆栈跟踪:

[NullReferenceException: 未将对象引用设置到对象的实例。]WebTraining.Controllers.PortalController.ViewDetail(String p_Id) +5875lambda_method(Closure , ControllerBase , Object[] ) +104System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +157System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27System.Web.Mvc.Async.AsyncControllerActionInvoker.b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +22System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +29System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32System.Web.Mvc.Async.AsyncInvocationWithFilters.b__3d() +50System.Web.Mvc.Async.c__DisplayClass46.b__3f() +228System.Web.Mvc.Async.c__DisplayClass33.b__32(IAsyncResult asyncResult) +10System.Web.Mvc.Async.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) +10System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34System.Web.Mvc.Async.c__DisplayClass2b.b__1c() +26System.Web.Mvc.Async.c__DisplayClass21.b__1e(IAsyncResult asyncResult) +100System.Web.Mvc.Async.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) +10System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27System.Web.Mvc.Controller.b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +13System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +29System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +36System.Web.Mvc.Controller.b__15(IAsyncResult asyncResult, Controller controller) +12System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +22System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +26System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10System.Web.Mvc.MvcHandler.b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +21System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +29System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +28System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9850009System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163 版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4330.0

相关推荐: