Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

Printing Font 39251 (Barcode font) causes java null pointer issue

$
0
0

Hi,

 

Its been a month or so since I have posted, so I must be getting better... :)...

 

I have a problem with printing a report or exporting a PDF when the report contains a font 39251 (barcode font). It is fine when exporting to word or other formats.

 

Version 12.2.200 of the Eclispse reporting tool.

 

As a point to note, if running the report directly in Eclipse it does succesfully export to PDF so I am hoping it is a missing JAR file or equivalent.

 

The exception is given below:

 

13:42:23,770 ERROR JRCCommunicationAdapter:720 -  detected an exception: java.lang.NullPointerException

     at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)

     at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.tables.ControlValueTable.if(SourceFile:58)

     at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.tables.ControlValueTable.<init>(SourceFile:53)

     at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.OpenTypeSubsetter.<init>(SourceFile:56)

     at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.FontEmbeddingSession.a(SourceFile:352)

     at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.FontEmbeddingSession.a(SourceFile:313)

     at com.crystaldecisions.reports.exporters.format.page.pdf.pdflib.r.a(SourceFile:1538)

     at com.crystaldecisions.reports.exporters.format.page.pdf.pdflib.PdfDocumentManager.if(SourceFile:350)

     at com.crystaldecisions.reports.exporters.format.page.pdf.dom.PdfAdvancedDocumentModeller.do(SourceFile:348)

     at com.crystaldecisions.reports.exporters.page.pdf.AdobePDFExporter.finalizeExportJob(SourceFile:235)

     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:652)

     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)

     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)

     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)

     at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)

     at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)

     at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)

     at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)

     at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)

     at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)

     at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)

     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)

     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)

     at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(SourceFile:286)

     at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(SourceFile:209)

     at com.businessobjects.report.web.event.bh.a(SourceFile:158)

     at com.businessobjects.report.web.event.o.a(SourceFile:146)

     at com.businessobjects.report.web.event.bw.broadcast(SourceFile:93)

     at com.businessobjects.report.web.event.am.a(SourceFile:53)

     at com.businessobjects.report.web.a.t.if(SourceFile:2104)

     at com.businessobjects.report.web.e.a(SourceFile:300)

     at com.businessobjects.report.web.e.a(SourceFile:202)

     at com.businessobjects.report.web.e.a(SourceFile:135)

     at com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)

     at com.crystaldecisions.report.web.ServerControl.processHttpRequest(SourceFile:342)

     at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.a(SourceFile:109)

     at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(SourceFile:69)

     at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

     at java.lang.Thread.run(Thread.java:595)

      

 

Kindest Regards

 

Matt


Viewing all articles
Browse latest Browse all 893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>