Skip to Content
0
Former Member
Nov 20, 2012 at 10:31 PM

Java 7 runtime errors

37 Views

I have the Crystal Reports for Java engine running on the server side within JBoss 7 and Java 7. It worked fine in JBoss 6 and Java 6. After upgrading, I am receiving a stack trace during report generation which is impossible to troubleshoot due to lack of information.

It appears that the JRC makes calls directly into classes within the unsupported and undocumented sun.* package, so it is rife with possibility for compatibility problems. I have included the stack trace below.

I was able to run the report by removing a logo from the page.

Does SAP officially support Java 7, and if not, is there a target date for testing the Crystal Reports java runtime engine (JRC) with Java 7?

16:13:25,909 ERROR [com.businessobjects.reports.sdk.JRCCommunicationAdapter] (http-localhost-127.0.0.1-8080-2) detected an exception: sun/awt/image/ToolkitImage

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.e.a(SourceFile:366)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.e.if(SourceFile:332)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.e.a(SourceFile:304)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.e.drawImage(SourceFile:275)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.e.drawImage(SourceFile:267)

at com.crystaldecisions.MetafileRenderer.DeviceContext.a(Unknown Source)

at com.crystaldecisions.MetafileRenderer.c8.a(Unknown Source)

at com.crystaldecisions.MetafileRenderer.Metafile.a(Unknown Source)

at com.crystaldecisions.MetafileRenderer.Metafile.renderAnisotropically(Unknown Source)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.h.a(SourceFile:35)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.d.a(SourceFile:1977)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.d.do(SourceFile:1854)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.d.byte(SourceFile:323)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.d.a(SourceFile:302)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.d.a(SourceFile:282)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.d.a(SourceFile:282)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.b.a(SourceFile:217)

at com.crystaldecisions.reports.exporters.format.page.pdf.dom.PdfAdvancedDocumentModeller.a(SourceFile:177)

at com.crystaldecisions.reports.exporters.page.pdf.AdobePDFExporter.a(SourceFile:252)

at com.crystaldecisions.reports.exporters.page.pdf.AdobePDFExporter.processFormattedContent(SourceFile:200)

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

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

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

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:1943)

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

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

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

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

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

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

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

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

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.viewer.ReportExportControl.a(SourceFile:124)

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

at org.apache.jsp.documentPrinter_jsp._jspService(documentPrinter_jsp.java:146)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

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

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)

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

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

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

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

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

at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

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

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

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

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

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

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)

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