NullReferenceException from =>WMKC_Site_Self_Mobile
thrown in MRead / PageOther
错误详情:
Object reference not set to an instance of an object.
堆栈跟踪:
at WMKC_Site_Self_Mobile.Infrastructure.PageStr.IsMobile()
at WMKC_Site_Self_Mobile.Services.SelfSite.GetContentCommonTag(S_Lang m_SiteLang, S_Lang_Attach m_SiteLangAttach, String funChars, String tagParameter, String tagHtml, String tagHtmlRemark, String replaceParam, Boolean isMobile, S_Templet m_Templet, Int32 singleType, String fileNameOf5, Boolean isMip)
at WMKC_Site_Self_Mobile.Services.SelfSite.GetTagStrByDetail_News(S_News m_News, S_Lang m_SiteLang, S_Lang_Attach m_SiteLangAttach, S_TempTag m_TempTag, Boolean isMobile, Boolean isMip)
at WMKC_Site_Self_Mobile.Services.SelfSite.HandleNewsDetail(Int32 newsId, S_Lang m_SiteLang, S_Lang_Attach m_SiteLangAttach, Boolean isMobile, Boolean isMip)
at WMKC_Site_Self_Mobile.Controllers.MReadController.HandleSecondPart_News(String secondPart, S_Lang m_SiteLang, S_Lang_Attach m_SiteLangAttach, Boolean isMobile, TemplateTypeEnum& templateType, Boolean isMip)
at WMKC_Site_Self_Mobile.Controllers.MReadController.GetContentByPart_New(String secondPart, S_Lang m_SiteLang, S_Lang_Attach m_SiteLangAttach, String pPageUrl, Boolean isMobile, TemplateTypeEnum& templateType, Boolean isMip)
at WMKC_Site_Self_Mobile.Controllers.MReadController.ReplaceOtherTemp(String secondPart, S_Lang m_SiteLang, S_Lang_Attach m_SiteLangAttach, String siteDomain, String pPageUrl, Boolean isMobile, TemplateTypeEnum& templateType, Boolean isMip)
at WMKC_Site_Self_Mobile.Controllers.MReadController.PageOther(String pOne)
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.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.