“/”应用程序中的服务器错误。

当高亮某段文本时,所提供的关键字分词不能为空。
参数名: tokenizedKeywords

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ArgumentNullException: 当高亮某段文本时,所提供的关键字分词不能为空。
参数名: tokenizedKeywords

源错误:

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

堆栈跟踪:


[ArgumentNullException: 当高亮某段文本时,所提供的关键字分词不能为空。
参数名: tokenizedKeywords]
   Acshoes.Components.Lucene.ContentUtility.ContentHighlighter..ctor(String tokenizedKeywords) +224
   Acshoes.Components.Lucene.ContentUtility.CommonHighlighter..ctor(String tokenizedKeywords) +81
   Acshoes.Data.SqlDataProvider.GetVipProductsWithout_RelatedProducts(String kw, Int32 pageIndex, String classCode, String provinceAreaCode, String cityAreaCode, Int32 pageSize) +3342
   Acshoes.Components.BLL.DataProviderVisitors.DataProviderVisitor`7.ExecuteLambda() +237
   Acshoes.Components.BLL.DataProviderVisitors.DataProviderVisitorBase`1.GetData(CacheItemMetadata cim) +251
   Acshoes.Components.BLL.ProductManager.GetVipProductsWithout_RelatedProducts(String kw, Int32 pageIndex, String classCode, String provinceAreaCode, String cityAreaCode, Int32 pageSize) +783
   BaseControllers.BaseSearchController.Product(String kw, Int32 pageIndex, String classCode, String provinceAreaCode, String cityAreaCode, String fg) +268
   MvcMainEn.Controllers.SearchController.Product(String kw, Int32 pageIndex, String classCode, String provinceAreaCode, String cityAreaCode, String fg) +108
   lambda_method(Closure , ControllerBase , Object[] ) +404
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +280
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +80
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +466
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +659
   System.Web.Mvc.Controller.ExecuteCore() +146
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +91
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +60
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +25
   System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +36
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +431
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.3928.0