出错页面是:https://www.baizhizhan.com/index.aspx?c=course&a=list&sp=id-375=,o-0a,p-66,provinceid-1异常信息:引发类型为“System.Web.HttpUnhandledException”的异常。Source:System.WebStackTrace: 在 System.Web.UI.Page.HandleError(Exception e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
在 System.Web.UI.Page.ProcessRequest()
在 System.Web.UI.Page.ProcessRequest(HttpContext context)
在 ASP.index_aspx.ProcessRequest(HttpContext context)
在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) InnerException:System.TypeInitializationException: “Kesion.Cache.JsonCache”的类型初始值设定项引发异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 System.Xml.DocumentXPathNavigator.IsValidChild(XmlNode parent, XmlNode child)
在 System.Xml.DocumentXPathNavigator.MoveToNext()
在 MS.Internal.Xml.XPath.XPathChildIterator.MoveNext()
在 MS.Internal.Xml.XPath.ChildrenQuery.Advance()
在 MS.Internal.Xml.XPath.XPathSelectionIterator.MoveNext()
在 System.Xml.XPathNodeList.ReadUntil(Int32 index)
在 System.Xml.XPathNodeList.Item(Int32 index)
在 Kesion.Cache.KSCache.RetrieveOriginObject(String xpath)
在 Kesion.Cache.KSCache.RetrieveObject[T](String xpath)
在 Kesion.Cache.MyCache.GetCacheTemplateInfo(Int32 templateId, String Col, Int32 templateType)
在 Kesion.Cache.MyCache.GetCacheConfig(Int32 n)
在 Kesion.Cache.MyCache.get_CacheDir()
在 Kesion.Cache.JsonCache..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 Kesion.Cache.JsonCache.GetCacheToFile(String fileKey, Int32 CacheTime, Boolean allowClean)
在 Kesion.WebAPI.RequireAuthorizeAttribute.get_UserID()
在 Kesion.WebAPI.Controllers.CourseController.GetPaper()
在 lambda_method(Closure , Object , Object[] )
在 System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters)
在 System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext() |