tracker issue : CF-3858866

select a category, or use search below
(searches all categories and all time range)
Title:

Rendering report using cfreport throws MalformedReportException on Mac platform

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Akhila K Srinivas)

Created: 11/27/2014

Components: Reporting, CFReport

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: 292433 / CF11 Update5

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Mac 10.9

Vote Count: 0

Listed in the version 11.0.05.293506 Issues Fixed doc
Problem: On Mac platform,when <cfreport> tag is used to render  the report(.cfr) file generated using report builder an exception, MalformedReportException is thrown.

Test code to repro :
<CFREPORT format="PDF" template="trial.cfr"> 

Please find attached, the cfr file.

Exception message:   

The ColdFusion Report Builder /Applications/ColdFusion11/cfusion/wwwroot/reportBuilder/trial.cfr report template appears to be malformed or contains errors.
The error is: Unable to execute report decoding function: java.lang.UnsatisfiedLinkError: coldfusion.util.ReportDecoder.getReport([B)[B 

Stack trace:

coldfusion.runtime.report.Report$MalformedReportException: The ColdFusion Report Builder /Applications/ColdFusion11/cfusion/wwwroot/reportBuilder/trial.cfr report template appears to be malformed or contains errors.
	at coldfusion.runtime.report.Report.<init>(Report.java:140)
	at coldfusion.runtime.report.Report.<init>(Report.java:146)
	at coldfusion.tagext.lang.ReportTag.doEndTag(ReportTag.java:596)
	at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2987)
	at cftrial2ecfm1250643219.runPage(/Applications/ColdFusion11/cfusion/wwwroot/reportBuilder/trial.cfm:1)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246)
	at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:734)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:570)
	at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
	at coldfusion.filter.IpFilter.invoke(IpFilter.java:45)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:487)
	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:42)
	at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:141)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
	at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
	at coldfusion.CfmServlet.service(CfmServlet.java:219)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422)
	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:198)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)


Method:

Result:

Expected:

Workaround:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3858866

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

Null pointer exception is thrown along with java.lang.UnsatisfiedLinkError, details of this from log file: "Error","Thread-15","11/27/14","04:43:37",,"Platform, Locale, and Platform Name must not be null" java.lang.NullPointerException: Platform, Locale, and Platform Name must not be null at com.adobe.fontengine.fontmanagement.fxg.FXGFontDescription.<init>(FXGFontDescription.java:55) at com.adobe.fontengine.font.opentype.OpenTypeFont.getFXGFontDescription(OpenTypeFont.java:2595) at com.adobe.fontengine.font.FontImpl.getFontDescription(FontImpl.java:509) at com.adobe.fontengine.font.FontImpl.getFXGFontDescription(FontImpl.java:409) at com.adobe.fontengine.font.FontImpl.getFXGFontDescription(FontImpl.java:402) at com.adobe.internal.pdftoolkit.core.fontset.impl.FontNameResolver.doNameMangling(FontNameResolver.java:112) at com.adobe.internal.pdftoolkit.core.fontset.impl.PDFFontSetImpl.addFont(PDFFontSetImpl.java:184) at com.adobe.internal.pdftoolkit.core.fontset.impl.PDFFontSetImpl.addFont(PDFFontSetImpl.java:388) at com.adobe.internal.pdfm.util.FontSetBuilder.loadFontsPath(FontSetBuilder.java:406) at com.adobe.internal.pdfm.util.FontSetBuilder.loadFontsPath(FontSetBuilder.java:464) at com.adobe.internal.pdfm.util.FontSetBuilder.initFonts(FontSetBuilder.java:166) at com.adobe.internal.ddxm.Executive.initFonts(Executive.java:560) at coldfusion.document.DocumentServiceImpl.callAssemblerInitFonts(DocumentServiceImpl.java:1827) at coldfusion.document.DocumentServiceImpl.initializeDocumentService(DocumentServiceImpl.java:307) at coldfusion.document.DocumentServiceImpl.access$000(DocumentServiceImpl.java:85) at coldfusion.document.DocumentServiceImpl$1.run(DocumentServiceImpl.java:250) "Warning","http-bio-8501-exec-4","11/27/14","04:44:29",,"Unable to load library: nvr_osx: java.lang.UnsatisfiedLinkError: no nvr_osx in java.library.path" java.lang.UnsatisfiedLinkError: no nvr_osx in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at coldfusion.util.ReportDecoder.<clinit>(ReportDecoder.java:52) at coldfusion.compiler.TemplateReader.getReport(TemplateReader.java:306) at coldfusion.compiler.TemplateReader.<init>(TemplateReader.java:104) at coldfusion.compiler.TemplateReader.<init>(TemplateReader.java:72) at coldfusion.compiler.NeoTranslationContext.getPageReader(NeoTranslationContext.java:813) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:364) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:160) at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:461) at coldfusion.util.LruCache.get(LruCache.java:180) at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:387) at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58) at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133) at coldfusion.util.SoftCache.get(SoftCache.java:81) at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:642) at coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:591) at coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:574) at coldfusion.runtime.TemplateProxyFactory.getCFCInstance(TemplateProxyFactory.java:281) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:174) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:159) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:149) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:133) at coldfusion.runtime.TemplateProxyFactory.resolveFile(TemplateProxyFactory.java:110) at coldfusion.runtime.report.Report.<init>(Report.java:135) at coldfusion.runtime.report.Report.<init>(Report.java:146) at coldfusion.tagext.lang.ReportTag.doEndTag(ReportTag.java:596) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2987) at cftrial2ecfm1250643219.runPage(/Applications/ColdFusion11/cfusion/wwwroot/reportBuilder/trial.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246) at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:734) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:570) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.IpFilter.invoke(IpFilter.java:45) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:487) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:42) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:141) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)
Comment by Akhila K.
9934 | November 27, 2014 08:09:47 AM GMT
Fixed. Verified with build #292694. (Comment added from ex-user id:amkum)
Comment by Adobe D.
9935 | December 22, 2014 02:55:01 AM GMT
The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
9936 | February 20, 2015 09:28:49 AM GMT