tracker issue : CF-3842183

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

cfPrint throws NoSuchMethodError after applying Update 3 PreRelease build

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

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

Created: 10/22/2014

Components: CFPRINT

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: 291742 /

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Win XP All

Vote Count: 0

Problem: cfprint throws  NoSuchMethodError for : coldfusion.document.JPedalFontRegistry.init(Lorg/jpedal/PdfDecoder;)V

Test code to repro :

test.cfm :

<cfset aset=StructNew()> 
<cfset aset["paper"] = "letter"> 
<cfset aset["copies"] = "1"> 
<cfset aset["printer"] = "\\blrps01\SinglePage-BNGL-3E-HP4345MFP "> 
  
<cfprint type="pdf" source=".\test.pdf" attributeStruct="#aset#">


Stack trace for error thrown :

Oct 22, 2014 15:07:10 PM Error [ajp-bio-8014-exec-1] - coldfusion.document.JPeda
lFontRegistry.init(Lorg/jpedal/PdfDecoder;)V The specific sequence of files incl
uded or processed is: C:\inetpub\wwwroot\printBug\test.cfm, line: 6
Oct 22, 2014 3:07:10 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [CfmServlet] in context with path [/] thre
w exception [Servlet execution threw an exception] with root cause
java.lang.NoSuchMethodError: coldfusion.document.JPedalFontRegistry.init(Lorg/jp
edal/PdfDecoder;)V
        at coldfusion.print.PrintPDF._print(PrintPDF.java:114)
        at coldfusion.print.PrintPDF.print(PrintPDF.java:75)
        at coldfusion.tagext.lang.PrintTag.doEndTag(PrintTag.java:564)
        at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2987)
        at cftest2ecfm1659442809.runPage(C:\inetpub\wwwroot\printBug\test.cfm:6)

        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246)
        at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:73
6)
        at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572)
        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.ja
va:42)
        at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
        at coldfusion.filter.PathFilter.invoke(PathFilter.java:142)
        at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
        at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePers
istenceFilter.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:8
9)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:208)
        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringS
ervletFilter.java:42)
        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46
)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:208)
        at coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(Mo
bileDeviceDomInspectionFilter.java:121)
        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46
)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:422)
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:199)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:314)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskTh
read.java:61)
        at java.lang.Thread.run(Unknown Source)



Method:

Result:

Expected:

Workaround:

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

Watson Bug ID:	3842183

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

Attachments:

Comments:

Without hotfix, on CF11 build the cfprint tag works as expected. But with HF3, it throws the above mentioned error.
Comment by Akhila K.
10564 | October 22, 2014 05:04:11 AM GMT