SI: Search Errors for Certain Results.

Description

The customers site is using Social 1.2.0, but the search index was from Social 1.1.2.

They receive this error when viewing the search results:

DotNetNuke.Services.Exceptions.Exceptions - System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.Services.Search.Controllers.TabResultController.HasViewPermission(SearchResult searchResult) in c:\Projects\DnnSoftware\Dnn.Platform\DNN Platform\Library\Services\Search\Controllers\TabResultController.cs:line 51
at DotNetNuke.Services.Search.Controllers.SearchControllerImpl.HasPermissionToViewDoc(Document document) in c:\Projects\DnnSoftware\Dnn.Platform\DNN Platform\Library\Services\Search\Controllers\SearchControllerImpl.cs:line 450
at DotNetNuke.Services.Search.Internals.SearchSecurityTrimmer.PrepareScoreDocs() in c:\Projects\DnnSoftware\Dnn.Platform\DNN Platform\Library\Services\Search\Internals\SearchSecurityTrimmer.cs:line 171
at DotNetNuke.Services.Search.Internals.SearchSecurityTrimmer.get_TotalHits() in c:\Projects\DnnSoftware\Dnn.Platform\DNN Platform\Library\Services\Search\Internals\SearchSecurityTrimmer.cs:line 78
at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.Search(LuceneQuery luceneQuery, Int32& totalHits, SecurityCheckerDelegate securityChecker) in c:\Projects\DnnSoftware\Dnn.Platform\DNN Platform\Library\Services\Search\Internals\LuceneControllerImpl.cs:line 265
at DotNetNuke.Services.Search.Controllers.SearchControllerImpl.GetSecurityTrimmedResults(SearchQuery searchQuery, LuceneQuery luceneQuery) in c:\Projects\DnnSoftware\Dnn.Platform\DNN Platform\Library\Services\Search\Controllers\SearchControllerImpl.cs:line 426
at DotNetNuke.Services.Search.Controllers.SearchControllerImpl.GetResults(SearchQuery searchQuery) in c:\Projects\DnnSoftware\Dnn.Platform\DNN Platform\Library\Services\Search\Controllers\SearchControllerImpl.cs:line 168
at DotNetNuke.Services.Search.Controllers.SearchControllerImpl.SiteSearch(SearchQuery searchQuery) in c:\Projects\DnnSoftware\Dnn.Platform\DNN Platform\Library\Services\Search\Controllers\SearchControllerImpl.cs:line 67
at DotNetNuke.Web.InternalServices.SearchServiceController.GetGroupedDetailViews(SearchQuery searchQuery, Int32& totalHits, Boolean& more) in c:\Projects\DnnSoftware\Dnn.Platform\DNN Platform\DotNetNuke.Web\InternalServices\SearchServiceController.cs:line 231
at DotNetNuke.Web.InternalServices.SearchServiceController.Search(String search, String culture, Int32 pageIndex, Int32 pageSize, Int32 sortOption) in c:\Projects\DnnSoftware\Dnn.Platform\DNN Platform\DotNetNuke.Web\InternalServices\SearchServiceController.cs:line 507

QA Test Plan

None

Status

Assignee

Unassigned

Reporter

Ben Nelson

Story Size

None

Severity

Major

Triage

New

Reported in Build #

None

Fixed in Build

None

Dev Owner

None

Includes Code Fix

No

Documentation Required

None

Trouble Ticket

1B4-1A260C2F-0302

Requires More Info

None

Journal URL

None

QA Story Points

None

QA Owner

None

Injected

Injected

Automation Required

None

Code Review Owner

None

Components

Sprint

None

Fix versions

Affects versions

7.2.0

Priority

Medium