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 319F295C1 for ; Wed, 16 May 2012 21:17:33 +0000 (UTC) Received: (qmail 66326 invoked by uid 500); 16 May 2012 21:17:29 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 66280 invoked by uid 500); 16 May 2012 21:17:29 -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 66266 invoked by uid 99); 16 May 2012 21:17:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 21:17:29 +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, 16 May 2012 21:17:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7979F8575 for ; Wed, 16 May 2012 21:17:08 +0000 (UTC) Date: Wed, 16 May 2012 21:17:08 +0000 (UTC) From: "Martijn van Groningen (JIRA)" To: dev@lucene.apache.org Message-ID: <1351431186.5923.1337203028499.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <873428563.518.1337010234457.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3454) ArrayIndexOutOfBoundsException while grouping via Solrj 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/SOLR-3454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277144#comment-13277144 ] Martijn van Groningen commented on SOLR-3454: --------------------------------------------- Hi Ludovic. I've tried running the attached patch on both trunk and 3.6 branch without the fix in Grouping.java, but the test doesn't fail. Is something missing in the test? Can you maybe attach a stacktrace? > ArrayIndexOutOfBoundsException while grouping via Solrj > ------------------------------------------------------- > > Key: SOLR-3454 > URL: https://issues.apache.org/jira/browse/SOLR-3454 > Project: Solr > Issue Type: Bug > Components: search > Affects Versions: 3.5, 3.6 > Environment: Windows 7, Java 6 > Reporter: ludovic Boutros > Attachments: SOLR-3454.diff > > > When we try to use the grouping function at the end of a result via solrj with the parameter group.main=true, > an ArrayIndexOutOfBoundsException is raised. > For instance, on a result containing 3 groups, if the start & rows parameters are equal to 2 & 5 respectively. > I will attach a patch. -- 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