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 D10BD980E for ; Fri, 17 Feb 2012 22:31:19 +0000 (UTC) Received: (qmail 44177 invoked by uid 500); 17 Feb 2012 22:31:18 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 44121 invoked by uid 500); 17 Feb 2012 22:31:18 -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 44113 invoked by uid 99); 17 Feb 2012 22:31:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2012 22:31:18 +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; Fri, 17 Feb 2012 22:31:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 770151BD217 for ; Fri, 17 Feb 2012 22:30:57 +0000 (UTC) Date: Fri, 17 Feb 2012 22:30:57 +0000 (UTC) From: "Simon Willnauer (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1721136376.52401.1329517857488.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1748464667.52375.1329517377243.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3797) 3xCodec should throw UOE if a DocValuesConsumer is pulled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210622#comment-13210622 ] Simon Willnauer commented on LUCENE-3797: ----------------------------------------- scratch that I the tests actually fail with this patch.. I looked at the wrong test run... stay tuned ;) > 3xCodec should throw UOE if a DocValuesConsumer is pulled > ---------------------------------------------------------- > > Key: LUCENE-3797 > URL: https://issues.apache.org/jira/browse/LUCENE-3797 > Project: Lucene - Java > Issue Type: Improvement > Components: core/codecs, core/index > Affects Versions: 4.0 > Reporter: Simon Willnauer > Assignee: Simon Willnauer > Fix For: 4.0 > > Attachments: LUCENE-3797.patch > > > currently we just return null if a DVConsumer is pulled from 3.x which is trappy since it causes an NPE in DocFieldProcessor. We should rather throw a UOE. -- 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