xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkat Reddy <vanukuri.ven...@googlemail.com>
Subject Re: ArrayIndexOutOfBoundsException
Date Fri, 05 Feb 2010 17:10:11 GMT
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.

ismail.khan@polaris.co.in 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 
>                                        fop-users@xmlgraphics.apache.org    
>              02/03/2010 02:28                                           cc 
>              PM                                                            
>                                                                    Subject 
>                                        Re: ArrayIndexOutOfBoundsException  
>              Please respond to                                             
>              fop-users@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, <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  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: fop-users-unsubscribe@xmlgraphics.apache.org
>   For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
>
>
>
> 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
>
>
>   


---------------------------------------------------------------------
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