Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Brendan Rice 322 posts 533 karma points
    Apr 09, 2013 @ 19:56
    Brendan Rice
    0

    Lucene.Net.Index.CorruptIndexException

    While trying to move a site from a dev environment to test I get the following error when I click on the developer section and it doesn't load the dashboard.

    Can anyone help please?

    Server Error in '/' Application.


    doc counts differ for segment _1y: fieldsReader shows 8 but segmentInfo shows 2

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: Lucene.Net.Index.CorruptIndexException: doc counts differ for segment _1y: fieldsReader shows 8 but segmentInfo shows 2

    Source Error:

    Line 396:                    </td>
    Line 397:                    <td id="<%# ((ProviderSettings)Container.DataItem).Name %>NumberOfDocuments" class="numberOfDocuments <%# ((ProviderSettings)Container.DataItem).Name %>">
    Line 398:                        <%# NumberOfDocuments(((ProviderSettings)Container.DataItem).Name)%>
    Line 399:                    </td>
    Line 400:                </tr>


    Source File: c:\Web\Gordon House\usercontrols\IndexStatus.ascx    Line: 398

    Stack Trace:

    [CorruptIndexException: doc counts differ for segment _1y: fieldsReader shows 8 but segmentInfo shows 2]
       Lucene.Net.Index.FindSegmentsFile.Run(IndexCommit commit) +2008
       Lucene.Net.Index.DirectoryReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, IndexCommit commit, Boolean readOnly, Int32 termInfosIndexDivisor) +57
       Lucene.Net.Index.IndexReader.Open(String path, Boolean readOnly) +109
       FergusonMoriyama.Umbraco.ExamineGui.Service.ExamineGuiService.NumberOfDocuments(String indexProvider) +117
       FergusonMoriyama.Umbraco.ExamineGui.UserControls.IndexStatus.NumberOfDocuments(String indexProvider) +13
       ASP.usercontrols_indexstatus_ascx.__DataBind__control19(Object sender, EventArgs e) in c:\Web\Gordon House\usercontrols\IndexStatus.ascx:398
       System.Web.UI.Control.OnDataBinding(EventArgs e) +92
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +85
       System.Web.UI.Control.DataBind() +15
       System.Web.UI.Control.DataBindChildren() +187
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
       System.Web.UI.Control.DataBind() +15
       System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +126
       System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +9546971
       System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +61
       System.Web.UI.WebControls.Repeater.DataBind() +105
       FergusonMoriyama.Umbraco.ExamineGui.UserControls.IndexStatus.Page_Load(Object sender, EventArgs e) +96
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
       System.Web.UI.Control.OnLoad(EventArgs e) +92
       System.Web.UI.Control.LoadRecursive() +54
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034

  • Jonny Flanagan 34 posts 163 karma points
    Jan 07, 2020 @ 10:46
    Jonny Flanagan
    0

    following!

  • Patrick van Kemenade 63 posts 257 karma points
    Jun 07, 2020 @ 21:23
    Patrick van Kemenade
    0

    It's 2020, still getting the same issue while during editting of a post. Deleted cache and TEMP directory but nothing seems to work, whole site down, HELP !!!

  • Thomsen 108 posts 316 karma points
    Aug 13, 2020 @ 08:13
    Thomsen
    0

    Please, anyone - having the same issue here in Umbraco 8 running multiple domains :-/

  • Thomsen 108 posts 316 karma points
    Aug 21, 2020 @ 12:52
    Thomsen
    0

    FYI: I have created a new thread with a project and a demo site showcase here to put some more focus on the subject - and hopefully someone helps with a solution:

    https://our.umbraco.com/forum/using-umbraco-and-getting-started//103281-unhandled-exception-in-appdomain-terminating-an-examine-index-and-lucene-errors-showcase

Please Sign in or register to post replies

Write your reply to:

Draft