Return-Path: X-Original-To: apmail-lucene-lucene-net-user-archive@www.apache.org Delivered-To: apmail-lucene-lucene-net-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 98A7DD6D6 for ; Tue, 26 Jun 2012 10:37:43 +0000 (UTC) Received: (qmail 25799 invoked by uid 500); 26 Jun 2012 10:37:43 -0000 Delivered-To: apmail-lucene-lucene-net-user-archive@lucene.apache.org Received: (qmail 25286 invoked by uid 500); 26 Jun 2012 10:37:38 -0000 Mailing-List: contact lucene-net-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-user@lucene.apache.org Delivered-To: mailing list lucene-net-user@lucene.apache.org Received: (qmail 25257 invoked by uid 99); 26 Jun 2012 10:37:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 10:37:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.176] (HELO mail-gh0-f176.google.com) (209.85.160.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 10:37:29 +0000 Received: by ghbz10 with SMTP id z10so4140654ghb.35 for ; Tue, 26 Jun 2012 03:37:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=MJRxjCjqmOl0SFBVwcZwvrCKwV1eLINAbCFRni8EHA0=; b=Z+C/6pmBe1dDHvnmbYn8i8nfBsiHEW1aaDOKPr4L2RHMZ7+r8snJPkKuq9Cq64bhCw mznGSCxGsfVVfkCL0pjh3ZFJADrFyh4pSQ/wGdG5dPJmIBBo94BlC/idUpE6/39Ts9dU UMigMsOk1yTuen3E1Iwv0uFx9xLuevvtFZBFfoiPn05iYqUGkVW98MEGFbyOqaBelcCO NdPEPhl6MeTRCrLwWlJ2iNIJLhwj64GsAW0nKlmMbvZv4pj8GFEPhxMU+zHwebkauAPV Uq3aFEW5UwopMf0a0kKzehZbtn/FsS1gykuL97UOZVF2BKfTBq0oGwIpZIBKtECfcaBr Z4jw== MIME-Version: 1.0 Received: by 10.50.197.194 with SMTP id iw2mr10579785igc.31.1340707028174; Tue, 26 Jun 2012 03:37:08 -0700 (PDT) Received: by 10.231.47.200 with HTTP; Tue, 26 Jun 2012 03:37:08 -0700 (PDT) Date: Tue, 26 Jun 2012 12:37:08 +0200 Message-ID: Subject: Application is terminated when NullReferenceException is thrown From: Patric Forsgard To: lucene-net-user@lucene.apache.org Content-Type: multipart/alternative; boundary=14dae93404cd29887d04c35dae3a X-Gm-Message-State: ALoCoQlsjYoMsR4EtHhdYQh+5ZAX5S5nouQr79qB4j74xf2/g7g6yGPCMqxYVi4h+QvY/klu/qIu --14dae93404cd29887d04c35dae3a Content-Type: text/plain; charset=ISO-8859-1 Hi. Today I saw a new (for me) error and i'm not sure why it happened :( We are using Lucen.Net 2.9.2.2 and the search index is on remote shared folder. I think the remote shared folder is the reason for the problem in combination with many writes to the search index, but not sure. I can agree about that the searcher will crash with some exception, but the exception is not catch-able and will terminate the IIS application instead of only throwing the exception. I have found a simular bug,LUCENENET-442, do you think that fix also will fix the case below? Exception in event log ----------------------------------------- An unhandled exception occurred and the process was terminated. Application ID: /LM/W3SVC/10/ROOT Process ID: 1580 Exception: System.NullReferenceException Message: Object reference not set to an instance of an object. StackTrace: at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.IndexSearcher.Rewrite(Query original) at Lucene.Net.Search.Query.Weight(Searcher searcher) at Lucene.Net.Search.QueryWrapperFilter.GetDocIdSet(IndexReader reader) at Lucene.Net.Search.CachingWrapperFilter.GetDocIdSet(IndexReader reader) at Lucene.Net.Search.IndexSearcher.SearchWithFilter(IndexReader reader, Weight weight, Filter filter, Collector collector) at Lucene.Net.Search.IndexSearcher.Search(Weight weight, Filter filter, Collector collector) at Lucene.Net.Search.IndexSearcher.Search(Weight weight, Filter filter, Int32 nDocs) at Lucene.Net.Search.MultiSearcherThread.Run() at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() // Patric --14dae93404cd29887d04c35dae3a--