Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@apache.org Received: (qmail 10983 invoked from network); 19 Sep 2002 02:00:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Sep 2002 02:00:47 -0000 Received: (qmail 29487 invoked by uid 97); 19 Sep 2002 02:01:32 -0000 Delivered-To: qmlist-jakarta-archive-lucene-dev@jakarta.apache.org Received: (qmail 29456 invoked by uid 97); 19 Sep 2002 02:01:31 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 29443 invoked by uid 98); 19 Sep 2002 02:01:30 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20020919020051.80253.qmail@web12708.mail.yahoo.com> Date: Wed, 18 Sep 2002 19:00:51 -0700 (PDT) From: Otis Gospodnetic Subject: Re: has this exception been seen before To: lucene-dev@jakarta.apache.org Cc: "Robert A. Decker" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Replying to lucene-dev, seems more appropriate. Hm, that can't be.... 137 final int size() { 138 return byNumber.size(); 139 } byNumber is an instance of Vector that is instantiated when an instance of FieldInfos class is created. Vector's size() can't throw that method, as far as I know, and I just checked the JDK API Javadocs. Plus, it looks like the exception is from: 133 final FieldInfo fieldInfo(int fieldNumber) { 134 return (FieldInfo)byNumber.elementAt(fieldNumber); 135 } If you (and the other person who reported having this problem....who may not be on the lucene-dev, hm) can modify the source maybe you can add some debugging there (print byNumber.size() and fieldNumber, maybe that will reveal something), recompiling, and trying to get the same error. Otis --- "Robert A. Decker" wrote: > I'm wondering if the following looks familiar to anyone. This comes > up at > times when calling optimize on an index. > > com.medicalhost.marvinfoundation.EOIndexManager.editingContextSavedChanges > processUpdated e:java.lang.ArrayIndexOutOfBoundsException > : 99 >= 12 > java.lang.ArrayIndexOutOfBoundsException: 99 >= 12 > at java.util.Vector.elementAt(Vector.java) > at > org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:138) > at > org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:102) > at > org.apache.lucene.index.SegmentReader.document(SegmentReader.java:190) > at > org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:119) > at > org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:90) > at > org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:316) > at > org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:225) > at > com.medicalhost.marvinfoundation.EOIndexManager.indexContents(EOIndexManager.java:199) > > > > > thanks, > rob > > http://www.robdecker.com/ > http://www.planetside.com/ > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: