/Find/IndexOverview/Explore - Object reference not set to an instance of an object.

Vote:
 

When I browse to site/secret/Find/IndexOverview/Explore I get the following Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.] EPiServer.Find.Cms.UI.ContentDocumentInterpreter.ExtendDocumentInformation(IndexDocument indexDocument) +800 EPiServer.Find.Framework.UI.Controllers.IndexOverviewController.GetDocumentsResult(Int32 pageIndex, SearchResults`1 result) +412 EPiServer.Find.Framework.UI.Controllers.IndexOverviewController.Explore(String query, String types, Nullable`1 page) +1122 lambda_method(Closure , ControllerBase , Object[] ) +230 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +260 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +38 System.Web.Mvc.<>c__DisplayClass13.<InvokeActionMethodWithFilters>b__10() +123 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +853538 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +309 System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +853472 System.Web.Mvc.Controller.ExecuteCore() +159 System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +334 EPiServer.Shell.Web.Mvc.ModuleMvcHandler.ProcessController(IController controller) +50 EPiServer.Shell.Web.Mvc.ModuleMvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +28 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +12551795 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288

    

#65681
Feb 05, 2013 15:20
Vote:
 

Hi,

Try reindexing your site. This error is most likely due to the fact that a contentype has been deleted/removed from the code but an instance is still in the index and when trying to resolve it you get tis error. After you have reindexed your site there should not be any unknown items in the index and you should not get this error.

 

/Henrik

#65682
Feb 05, 2013 16:20
Vote:
 

I had to clear the index on the service page at find.episerver.com, just to start the scheduled job manually to reindex it didn't help.

#65684
Feb 05, 2013 16:40
Vote:
 

Anyway the error message for that could get updated to show what id in the index that is causing the issue?

 

Will be running a index with 5 miljon douments soon and would be nice to just be able to delete the specific item instead of clearing the hole index.

#65689
Feb 06, 2013 10:36
Vote:
 

I have added a bug so that it will provide a better error message for this.

#65702
Feb 06, 2013 14:00
Vote:
 

Woho!

Go team Find!

#65704
Feb 06, 2013 14:48
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.