DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Lucene.Net Index out of range exception

Sort:
You are not authorized to post a reply.





New Around Here





    We have DNN 9.11 instance running and it crashing the app-pool and then eventually IIS.  At each crash, there is an entry in the event log that says Lucene.Net System.IndexOutOfRangeException.  I'm struggling to figure out what is causeing it.  Any insight will be much appreciated!!

    DNN Error Log:

    THREAD ID:10

    TYPE:DotNetNuke.Services.Search.SearchEngineScheduler, DOTNETNUKE

    EXCEPTION:Index was outside the bounds of the array.

    RESCHEDULED FOR:10/25/2019 11:12:53 AM

    SOURCE:STARTED_FROM_TIMER

    ACTIVE THREADS:0

    FREE THREADS:1

    READER TIMEOUTS:0

    WRITER TIMEOUTS:0

    IN PROGRESS:0

    IN QUEUE:9

    Server Name

     

     

    Windows Application Event Log:

    Application: w3wp.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.IndexOutOfRangeException
       at Lucene.Net.Index.IndexWriter.HandleMergeException(System.Exception, OneMerge)
       at Lucene.Net.Index.IndexWriter.Merge(OneMerge)
       at Lucene.Net.Index.ConcurrentMergeScheduler+MergeThread.Run()
     
    Exception Info: Lucene.Net.Index.MergePolicy+MergeException
       at Lucene.Net.Index.ConcurrentMergeScheduler.HandleMergeException(System.Exception)
       at Lucene.Net.Index.ConcurrentMergeScheduler+MergeThread.Run()
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Threading.ThreadHelper.ThreadStart()
     
    An unhandled exception occurred and the process was terminated.
    Application ID: /LM/W3SVC/3/ROOT
    Process ID: 5672
    Exception: Lucene.Net.Index.MergePolicy+MergeException
    Message: Exception of type 'Lucene.Net.Index.MergePolicy+MergeException' was thrown.
    StackTrace:    at Lucene.Net.Index.ConcurrentMergeScheduler.HandleMergeException(Exception exc)
       at Lucene.Net.Index.ConcurrentMergeScheduler.MergeThread.Run()
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    InnerException: System.IndexOutOfRangeException
    Message: Index was outside the bounds of the array.
     
    StackTrace:    at Lucene.Net.Index.IndexWriter.HandleMergeException(Exception t, OneMerge merge)
       at Lucene.Net.Index.IndexWriter.Merge(OneMerge merge)

     

     

     

    BTW: I've tried to upgrade this instance to 9.4, but that fails with many SQL errors.  

    You are not authorized to post a reply.

    These Forums are dedicated to the discussion of DNN Platform.

    For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

    1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
    2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
    3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
    4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
    5. No Flaming or Trolling.
    6. No Profanity, Racism, or Prejudice.
    7. Site Moderators have the final word on approving / removing a thread or post or comment.
    8. English language posting only, please.

    Would you like to help us?

    Awesome! Simply post in the forums using the link below and we'll get you started.

    Get Involved