Copied to clipboard

Flag this post as spam?

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


  • Tracey Van Loggerenberg 3 posts 23 karma points
    Jul 18, 2013 @ 16:37
    Tracey Van Loggerenberg
    0

    Lucene.Net.Store.AlreadyClosedException: this IndexReader is closed

    This issue is cropping up intermittantly and so far I've not found anything relevant to Umbraco using Google searches. Wondering if anyone else has experienced this too, or can point me in the right direction?

    Using the following setup:

    Umbraco v 4.8.1 (Assembly version: 1.0.4868.23852); Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045; Windows Server 2012; iis v 7.5


    Stacktrace:

    [AlreadyClosedException: this IndexReader is closed]
       Lucene.Net.Index.IndexReader.Document(Int32 n) +112
       Examine.LuceneEngine.<Skip>d__1.MoveNext() +186
       System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +165
       System.Linq.Buffer`1..ctor(IEnumerable`1 source) +520
       System.Linq.<GetEnumerator>d__0.MoveNext() +252
       System.Linq.<TakeIterator>d__3a`1.MoveNext() +376
       System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +712
       System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +164
       System.Web.UI.Control.LoadRecursive() +71
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178


  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Jul 18, 2013 @ 16:45
    Ismail Mayat
    0

    Tracey,

    Are you doing any other lucene stuff outside of Umbraco examine?  Also are you doing any examine custom indexing i.e have you say built your own indexer that indexes a db table?

    Also do you get the error when performing a search or when you publish a page?

    Regards

    Ismail

  • Tracey Van Loggerenberg 3 posts 23 karma points
    Jul 18, 2013 @ 17:26
    Tracey Van Loggerenberg
    0

    Ismail,

    As far as I know I'm not using lucene outside of Umbraco examine. As for custom indexing, I've got the nForum project installed which has entries in the ExamineIndex.config & ExamineSettings.config files.

    This issue is happening on the actual public website and not from the umbraco backend. It has happened just browsing to the site, but seems to happen most often when logging in as a member. If you then refresh the page, the page displays and you are shown as logged in. The only other thing I can think of is that the members have a stack of custom fields that are defined in the web.config but aren't indexed?

Please Sign in or register to post replies

Write your reply to:

Draft