You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/03/20 14:17:31 UTC
[Bug 1041] New - Reading large (>4k) files with StreamingCharReader throws ArrayIndexOutOfBoundsException
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1041
*** shadow/1041 Tue Mar 20 05:17:31 2001
--- shadow/1041.tmp.10117 Tue Mar 20 05:17:31 2001
***************
*** 0 ****
--- 1,40 ----
+ +============================================================================+
+ | Reading large (>4k) files with StreamingCharReader throws ArrayIndexOutOfB |
+ +----------------------------------------------------------------------------+
+ | Bug #: 1041 Product: Xerces-J |
+ | Status: NEW Version: 1.3.0 |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: Windows NT/2K |
+ | Priority: Component: Core |
+ +----------------------------------------------------------------------------+
+ | Assigned To: xerces-j-dev@xml.apache.org |
+ | Reported By: Mark.Donszelmann@cern.ch |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ I implemented serialized reading as suggested on the FAQ page under:
+
+ How do I read data from a stream as it arrives?
+
+
+ Reading large (>4852 bytes) files with StreamingCharReader throws
+ an ArrayIndexOutOfBoundsException:
+
+ java.lang.ArrayIndexOutOfBoundsException
+ at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:965)
+ at
+ hep.graphics.heprep.xml.XMLHepRepReader.readHepRep(XMLHepRepReader.java:91)
+ at
+ hep.graphics.heprep.xml.XMLHepRepReader.readHepRep(XMLHepRepReader.java:72)
+ at hep.graphics.heprep.util.HepRepIO.readHepRep(HepRepIO.java:56)
+ at hep.graphics.heprep.util.HepRepIO.readHepRep(HepRepIO.java:30)
+ at hep.graphics.heprep.test.Count.run(Count.java:33)
+
+ I also used version 1.3.1 as well, same problem.
+
+
+ please contact me if you want some test files.
+
+ cheers
+ DUNS
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org