RE: BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-05 Thread George T. Joseph
: BUG java.lang.ArrayIndexOutOfBoundsException: 128 "George T. Joseph" wrote: > Jeez, you're making me sorry I even spoke up. I set the test > code to end at 128 because that is what YOU guys do in > DeferredDocumentImpl. I'm sorry if I gave you that impression. I'

Re: BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-04 Thread Andy Clark
"George T. Joseph" wrote: > Jeez, you're making me sorry I even spoke up. I set the test > code to end at 128 because that is what YOU guys do in > DeferredDocumentImpl. I'm sorry if I gave you that impression. I'm extremely busy at the moment and just quickly checked to make sure that the bi

RE: BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-04 Thread George T. Joseph
ust before "int value = values[middle];" (where the exception is thrown) and run it through DOMCount. -Original Message- From: Andy Clark [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2000 7:23 PM To: [EMAIL PROTECTED] Subject: Re: BUG java.lang.ArrayIndexOutOfBoundsE

Re: BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-04 Thread Andy Clark
"George T. Joseph" wrote: > int[] n = new int[128]; > for(int i=0;i int rc = DeferredDocumentImpl.binarySearch(n, 0, 128, > Integer.parseInt(argv[0])); > System.out.println("Index: "+rc); The start and end points passed into the binarySearch method are INCLUSIVE. Therefore, you are causin

RE: BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-03 Thread George T. Joseph
argv) { int[] n = new int[128]; for(int i=0;imailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2000 2:48 PM To: [EMAIL PROTECTED] Subject: Re: BUG java.lang.ArrayIndexOutOfBoundsException: 128 "George T. Joseph" wrote: > > Don't be so quick to blame HotSpot here!! This f

Re: BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-03 Thread Andy Clark
"George T. Joseph" wrote: > > Don't be so quick to blame HotSpot here!! This fails with Karen's files on > Sun > win32 1.2.2 both classic and HotSpot and also on IBM Win32 1.1.8. We've had a lot of problem with HotSpot causing people to report false bugs. HotSpot *does* have problems because mo

RE: BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-02 Thread George T. Joseph
where start=end=middle=128 and that's not a valid index in a array of 128 elements. Either call binarySearch with fIdCount-1 or change start<=end to startmailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2000 4:53 PM To: [EMAIL PROTECTED] Subject: Re: BUG java.lang.ArrayIndexOutOfBou

Re: BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-02 Thread Mike Pogue
You should dump Hotspot. It has problems running correct Java class files, that other VM's (Sun Classic JVM, IBM JVM, etc.) have no trouble running. At least, that is our experience with Hotspot. Mike Karen Schuchardt wrote: > > This is in reference to a previous mail under the same subject.

BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-02 Thread Karen Schuchardt
This is in reference to a previous mail under the same subject. Please refer to it for the full example. I am using the vanilla Java 1.2 version (not 1.2.x) and xerces 1.0.1 under Solaris 2.6. Should I be upgrading to a newer version of java? Thanks, karen Let me take a wild guess... Yo

BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-02 Thread Karen Schuchardt
Sorry if you got this twice. I did not see it show up on the archive so I'm assuming it didn't make it to the mailing list Karen > Hi, > > I have a fairly large xml file that makes use of a schema. I get the > following stack trace > > java.lang.ArrayIndexOutOfBoundsException: 128 >

Re: BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-02 Thread Andy Clark
Let me take a wild guess... You are using Java 1.2.2 with HotSpot. Am I right? A lot of people are reporting erroneous array index expections because HotSpot is buggy. If you are using HotSpot, please turn it off and try again. If your problem persists, we'll take a look at it. P.S. Always include

BUG java.lang.ArrayIndexOutOfBoundsException: 128

2000-02-01 Thread Karen Schuchardt
Content-Type: multipart/mixed; boundary="C5EA6DD914E762D91D7D63F3" This is a multi-part message in MIME format. --C5EA6DD914E762D91D7D63F3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I have a fairly large xml file that makes use of a sc