[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: [jira] Created: (XMLBEANS-64) ArrayIndexOutOfBoundsException during validation
From: xmlbeans-dev () xml ! apache ! org
Date: 2004-09-26 15:04:34
Message-ID: 825521712.1096211074426.JavaMail.apache () nagoya
[Download RAW message or body]
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XMLBEANS-64
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XMLBEANS-64
Summary: ArrayIndexOutOfBoundsException during validation
Type: Bug
Status: Unassigned
Priority: Major
Project: XMLBeans
Components:
Validator
Versions:
Version 2
Assignee:
Reporter: Eddie O'Neil
Created: Sun, 26 Sep 2004 8:04 AM
Updated: Sun, 26 Sep 2004 8:04 AM
Environment: Win XPsp1
JDK 1.5.0 b63
Description:
This is an exception occurring during validation of an XML document. The attached \
repro compiles an XSD, loads an XML document through the XMLBean's Factory, and then \
attempts to validate the document. The result is an ArrayIndexOutOfBoundsException. \
The XML document was created through the Document.save(...).
Apache Beehive has a 10 week old snapshot of xbean.jar, and on that version, the \
parse / validate is successful.
A repro will be attached.
The stack trace:
[java] java.lang.ArrayIndexOutOfBoundsException: 65
[java] at org.apache.xmlbeans.impl.newstore2.CharUtil$CharIterator.init(CharUtil.java:702)
[java] at org.apache.xmlbeans.impl.newstore2.CharUtil.isWhiteSpace(CharUtil.java:132)
[java] at org.apache.xmlbeans.impl.newstore2.Validate.textIsWhitespace(Validate.java:215)
[java] at org.apache.xmlbeans.impl.validator.Validator.handleText(Validator.java:831)
[java] at org.apache.xmlbeans.impl.validator.Validator.textEvent(Validator.java:802)
[java] at org.apache.xmlbeans.impl.validator.Validator.nextEvent(Validator.java:246)
[java] at org.apache.xmlbeans.impl.newstore2.Validate.emitEvent(Validate.java:168)
[java] at org.apache.xmlbeans.impl.newstore2.Validate.process(Validate.java:84)
[java] at org.apache.xmlbeans.impl.newstore2.Validate.<init>(Validate.java:39)
[java] at org.apache.xmlbeans.impl.newstore2.Xobj.validate(Xobj.java:1673)
[java] at org.apache.xmlbeans.impl.values.XmlObjectBase.validate(XmlObjectBase.java:343)
[java] at XBeanCharUtilRepro.main(Unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:193)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:130)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:705)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:177)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:83)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:673)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:188)
[java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
[java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic