Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75410957A for ; Wed, 22 Feb 2012 13:14:16 +0000 (UTC) Received: (qmail 31992 invoked by uid 500); 22 Feb 2012 13:14:15 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 31946 invoked by uid 500); 22 Feb 2012 13:14:15 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 31939 invoked by uid 99); 22 Feb 2012 13:14:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 13:14:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 13:14:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 991D3334554 for ; Wed, 22 Feb 2012 13:13:48 +0000 (UTC) Date: Wed, 22 Feb 2012 13:13:48 +0000 (UTC) From: "Uwe Schindler (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <281371743.4098.1329916428628.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <338420024.1893.1329868728903.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3816) FilteredDocIdSet does not handle a case where the inner set iterator is null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213592#comment-13213592 ] Uwe Schindler commented on LUCENE-3816: --------------------------------------- Tha nks for reporting this, I will check and commit trunk and 3.x branch! > FilteredDocIdSet does not handle a case where the inner set iterator is null > ---------------------------------------------------------------------------- > > Key: LUCENE-3816 > URL: https://issues.apache.org/jira/browse/LUCENE-3816 > Project: Lucene - Java > Issue Type: Bug > Components: core/search > Affects Versions: 3.5 > Reporter: Shay Banon > Assignee: Uwe Schindler > Attachments: LUCENE-3816.patch > > > DocIdSet#iterator is allowed to return null, when used in FilteredDocIdSet, if null is returned from the inner set, the FilteredDocIdSetIterator fails since it does not allow for nulls to be passed to it. > The fix is simple, return null in FilteredDocIdSet in the iterator method is the iterator is null. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org