Hi Ismail,

This is definitely a problem with your parser.

If you are still facing the problem, Can you please do the following test once again?

1. Prepare a simple XSL:FO file, which can lead to this problem
2. Download fresh FOP 0.95 binary version (do not replace any jars into this folder)
3. Run your sample against the freshly downloaded FOP 0.95 version.

If you can still get the same error, please attach the sample file you have used to generate the problem in your nex reply.

Cheers,
Venkat.



[email protected] wrote:
Hi,

This does not resolve the issue. Any help on this will be really helpful.
Can there be any issue with font configuration?

| Thanks & Regards
| Ismail Khan



Venkat Reddy <vanukuri.venkat@ googlemail.com> To [email protected] 02/05/2010 10:39 cc PM Subject Re: ArrayIndexOutOfBoundsException Please respond to fop-us...@xmlgrap hics.apache.org



Hi Ismail,

I am using 'xalan-2.7.0.jar' in my project. I am not getting anything
like this.
Please try to use the above jar, may you are using older version of that
jar.

Thanks,
Venkat.

[email protected] wrote:
Hi All,

I had started POC for migration to 0.95. This will take some time.

Currently we are facing this issue frequently. Any help will be very
useful.

report:java.lang.ArrayIndexOutOfBoundsException: 6233
javax.xml.transform.TransformerException:
java.lang.ArrayIndexOutOfBoundsException: 6233
      at

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:670)

      at

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:300)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPEODBatchReports.convertToPDF(JPEODBatchReports.java:249)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPEODBatchReports.generateReport(JPEODBatchReports.java:114)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPCustCommEOD.handleReportGeneration(JPCustCommEOD.java:279)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPCustCommEOD.handleCustomerCommunications(JPCustCommEOD.java:772)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPCustCommEOD.executeReports(JPCustCommEOD.java:594)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPCustCommEOD.process(JPCustCommEOD.java:150)

      at

com.polaris.cash.lms.batchprocessing.hostsystemeodbod.ExecuteJob.executeJavaEOD(ExecuteJob.java:225)

      at

com.polaris.cash.lms.batchprocessing.hostsystemeodbod.ExecuteJob.run(ExecuteJob.java:87)

Caused by: java.lang.ArrayIndexOutOfBoundsException: 6233
      at
org.apache.fop.fonts.TTFSubSetFile.scanGlyphs(TTFSubSetFile.java:592)
      at
org.apache.fop.fonts.TTFSubSetFile.readFont(TTFSubSetFile.java:660)
      at

org.apache.fop.render.pdf.fonts.MultiByteFont.getFontFile(MultiByteFont.java:241)

      at
org.apache.fop.render.pdf.fonts.LazyFont.getFontFile(LazyFont.java:218)
      at
org.apache.fop.pdf.PDFDocument.makeFontDescriptor(PDFDocument.java:974)
      at org.apache.fop.pdf.PDFDocument.makeFont(PDFDocument.java:875)
      at
org.apache.fop.render.pdf.FontSetup.addToResources(FontSetup.java:250)
      at
org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:249)
      at
org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:204)
      at
org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:246)
      at

com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:182)

      at SGP_SG1_SG120091231000117.transform()
      at

com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:594)

      at

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:663)

      ... 9 more
---------
java.lang.ArrayIndexOutOfBoundsException: 6233
      at
org.apache.fop.fonts.TTFSubSetFile.scanGlyphs(TTFSubSetFile.java:592)
      at
org.apache.fop.fonts.TTFSubSetFile.readFont(TTFSubSetFile.java:660)
      at

org.apache.fop.render.pdf.fonts.MultiByteFont.getFontFile(MultiByteFont.java:241)

      at
org.apache.fop.render.pdf.fonts.LazyFont.getFontFile(LazyFont.java:218)
      at
org.apache.fop.pdf.PDFDocument.makeFontDescriptor(PDFDocument.java:974)
      at org.apache.fop.pdf.PDFDocument.makeFont(PDFDocument.java:875)
      at
org.apache.fop.render.pdf.FontSetup.addToResources(FontSetup.java:250)
      at
org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:249)
      at
org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:204)
      at
org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:246)
      at

com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:182)

      at SGP_SG1_SG120091231000117.transform()
      at

com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:594)

      at

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:663)

      at

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:300)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPEODBatchReports.convertToPDF(JPEODBatchReports.java:249)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPEODBatchReports.generateReport(JPEODBatchReports.java:114)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPCustCommEOD.handleReportGeneration(JPCustCommEOD.java:279)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPCustCommEOD.handleCustomerCommunications(JPCustCommEOD.java:772)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPCustCommEOD.executeReports(JPCustCommEOD.java:594)

      at

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPCustCommEOD.process(JPCustCommEOD.java:150)

      at

com.polaris.cash.lms.batchprocessing.hostsystemeodbod.ExecuteJob.executeJavaEOD(ExecuteJob.java:225)

      at

com.polaris.cash.lms.batchprocessing.hostsystemeodbod.ExecuteJob.run(ExecuteJob.java:87)

| Thanks & Regards
| Ismail Khan
| Polaris Software Lab Limited
| 91-22-67801617




             Adrian Cumiskey

             <adrian.cumiskey@

             gmail.com>
To
                                       [email protected]

             02/03/2010 02:28
cc
             PM

Subject
                                       Re: ArrayIndexOutOfBoundsException

             Please respond to

             fop-us...@xmlgrap

              hics.apache.org



Hi Ismail,

FOP 0.20 is really out of date (many years!) and not supported anymore.
I'd recommend you update to the latest release (0.95) or trunk if its
possible for you project.

Adrian.

On 3 February 2010 06:37, <[email protected]> wrote:

  Hi All,

  We are using FOP 0.20 for PDF generation form XML and XSL in threads.

  We are facing the below issue frequently. The same XML and XSL is
getting
  processed successfully separately.

  Please help.

  2010-02-02 11:19:17,243 | FATAL | [Thread-30] |

com.polaris.cash.lms.batchprocessing.JPBatchReports.JPEODBatchReports:convertToPDF(262)
 Exception while converting xml file to pdf
  report:java.lang.ArrayIndexOutOfBoundsException: 6233
  javax.xml.transform.TransformerException:
  java.lang.ArrayIndexOutOfBoundsException: 6233
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:670)

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:300)

  Caused by: java.lang.ArrayIndexOutOfBoundsException: 6233
org.apache.fop.fonts.TTFSubSetFile.scanGlyphs(TTFSubSetFile.java:592)
  org.apache.fop.fonts.TTFSubSetFile.readFont(TTFSubSetFile.java:660)

org.apache.fop.render.pdf.fonts.MultiByteFont.getFontFile(MultiByteFont.java:241)

  org.apache.fop.render.pdf.fonts.LazyFont.getFontFile(LazyFont.java:218)
  org.apache.fop.pdf.PDFDocument.makeFontDescriptor(PDFDocument.java:974)
org.apache.fop.pdf.PDFDocument.makeFont(PDFDocument.java:875)
org.apache.fop.render.pdf.FontSetup.addToResources(FontSetup.java:250)
org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:249) org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:204)
  org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:246)

com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:182)
 IND_IN9_IN920091014000003.transform()
com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:594)

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:663)
 9 more
  ---------
  java.lang.ArrayIndexOutOfBoundsException: 6233
org.apache.fop.fonts.TTFSubSetFile.scanGlyphs(TTFSubSetFile.java:592)
  org.apache.fop.fonts.TTFSubSetFile.readFont(TTFSubSetFile.java:660)

org.apache.fop.render.pdf.fonts.MultiByteFont.getFontFile(MultiByteFont.java:241)

  org.apache.fop.render.pdf.fonts.LazyFont.getFontFile(LazyFont.java:218)
  org.apache.fop.pdf.PDFDocument.makeFontDescriptor(PDFDocument.java:974)
org.apache.fop.pdf.PDFDocument.makeFont(PDFDocument.java:875)
org.apache.fop.render.pdf.FontSetup.addToResources(FontSetup.java:250)
org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:249) org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer.java:204)
  org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:246)

com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:182)
 IND_IN9_IN920091014000003.transform()
com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:594)

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:663)

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:300)

  | Thanks & Regards
  | Ismail Khan




  This e-Mail may contain proprietary and confidential information and is
  sent for the intended recipient(s) only.  If by an addressing or
  transmission error this mail has been misdirected to you, you are
  requested to delete this mail immediately. You are also hereby notified
  that any use, any form of reproduction, dissemination, copying,
  disclosure, modification, distribution and/or publication of this
e-mail
  message, contents or its attachment other than by its intended
  recipient/s is strictly prohibited.

  Visit us at http://www.polaris.co.in


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [email protected]
  For additional commands, e-mail: [email protected]






This e-Mail may contain proprietary and confidential information and is
sent for the intended recipient(s) only.  If by an addressing or
transmission error this mail has been misdirected to you, you are requested
to delete this mail immediately. You are also hereby notified that any use,
any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its
attachment other than by its intended recipient/s is strictly prohibited.
Visit us at http://www.polaris.co.in


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]






This e-Mail may contain proprietary and confidential information and is sent 
for the intended recipient(s) only.  If by an addressing or transmission error 
this mail has been misdirected to you, you are requested to delete this mail 
immediately. You are also hereby notified that any use, any form of 
reproduction, dissemination, copying, disclosure, modification, distribution 
and/or publication of this e-mail message, contents or its attachment other 
than by its intended recipient/s is strictly prohibited.

Visit us at http://www.polaris.co.in


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to