xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Cumiskey <adrian.cumis...@gmail.com>
Subject Re: ArrayIndexOutOfBoundsException
Date Wed, 03 Feb 2010 08:58:09 GMT
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, <ismail.khan@polaris.co.in> 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
>      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)
>      convertToPDF(JPEODBatchReports.java:249)
> 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 IND_IN9_IN920091014000003.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 IND_IN9_IN920091014000003.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)
>      convertToPDF(JPEODBatchReports.java:249)
>
> | 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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>

Mime
View raw message