Hi ALL
We have a web application which uses Xalan 2.7.0, Xerces 2.7.1 and FOP 0.94 to do transformations to HTML, PDF and CSV. However, after recently upgrading to these libraries we have been getting the following exception. This is a rare bug probably in the Xerces jar that keeps on reappearing. We can't update to the lastest Xerces version due the the amount of testing involved and since FOP is recommended to work with these supporting jars. java.lang.ArrayIndexOutOfBoundsException: 2048 at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dis patch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:4 37) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.j ava:699) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.j ava:1284) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.j ava:1262) at btjob.wrap.acr2.compile.ClientReportCompiler.transform(ClientReportCompi ler.java:436) at btjob.wrap.acr2.compile.ClientPDFCompiler.transform(ClientPDFCompiler.ja va:139) at btjob.wrap.acr2.compile.ClientReportCompiler.compile(ClientReportCompile r.java:623) at btjob.wrap.acr2.CompileReportFiles.performRequest(CompileReportFiles.jav a:140) at btjob.wrap.acr2.WrapACRJob.performTask(WrapACRJob.java:246) at btjob.core.JobRunner.performTask(JobRunner.java:213) at btjob.core.MultiThreadedJobRunner$JobThread.run(MultiThreadedJobRunner.j ava:240) We have a fix for the problem with the same exception message (java.lang.ArrayIndexOutOfBoundsException: 2048) but having a different stack trace. We are able to replicate this using a standalone program which is included as an attachment. Can anyone provide us with a standalone program that is able to replicate the above problem with the exact same stack trace? It would be a great Help Thanks and regards Ankur Narain Bhardwaj Lead Engineer HCL Technologies Ltd. www.hcl.in <http://www.hcl.in/> DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. -----------------------------------------------------------------------------------------------------------------------
<<image001.jpg>>
TestXerces.java
Description: TestXerces.java
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]