V
Vikas
Hi all
I am using a SAX parser and parsing a message using:
parse(new InputSource(new StringReader(SomeString)), new
DocumentHandler(Param2))
Now, I have put the above statement in a try-catch block and am
catching only SAXException and IOException.
During the parse of some message
java.lang.ArrayIndexOutOfBoundsException is being thrown.
************************************************************************
java.lang.ArrayIndexOutOfBoundsException
at org.apache.xerces.impl.XMLEntityManager$EntityScanner.scanData(Unknow
n Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanCDATASectio
n(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at com.unisys.hig.MessageProcessor.run(MessageProcessor.java:452)
******************************************************************************
Any ideas why this might be happening ??
Did some read up and there were some suggestions that the problem
might be with the version of Xerces. Is this possible ?
Any input is welcome.
Thanks and Regards
Vikas
I am using a SAX parser and parsing a message using:
parse(new InputSource(new StringReader(SomeString)), new
DocumentHandler(Param2))
Now, I have put the above statement in a try-catch block and am
catching only SAXException and IOException.
During the parse of some message
java.lang.ArrayIndexOutOfBoundsException is being thrown.
************************************************************************
java.lang.ArrayIndexOutOfBoundsException
at org.apache.xerces.impl.XMLEntityManager$EntityScanner.scanData(Unknow
n Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanCDATASectio
n(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at com.unisys.hig.MessageProcessor.run(MessageProcessor.java:452)
******************************************************************************
Any ideas why this might be happening ??
Did some read up and there were some suggestions that the problem
might be with the version of Xerces. Is this possible ?
Any input is welcome.
Thanks and Regards
Vikas