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 303 posts 466 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 33 posts 162 karma points
    Jan 07, 2020 @ 10:46
    Jonny Flanagan
    0

    following!

Please Sign in or register to post replies

Write your reply to:

Draft