xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ismail.k...@polaris.co.in
Subject Re: ArrayIndexOutOfBoundsException
Date Fri, 05 Feb 2010 15:48:40 GMT
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)
Mime
View raw message