We have a Coldbox App which has been running fine for about 6 months on ACF 9 and 10 and Railo 4.1.2 without issue.
Recently deployed the app to Railo 4.2 and we are getting the following error on event.renderData()
return event.renderData(data=response,type='JSON');
Note that the issue is on all event.renderData() calls in the app… not just one instance.
The full error being returned is:
lication Execution ExceptionError Type: java.lang.NoClassDefFoundError : 0
Error Messages: com/lowagie/text/DocumentException
Tag Context:
ID: ??
LINE: 305
Template: /coldbox/system/core/util/Util.cfc
ID: ??
LINE: 578
Template: /coldbox/system/ioc/config/Mapping.cfc
ID: ??
LINE: 249
Template: /coldbox/system/ioc/Injector.cfc
ID: ??
LINE: 137
Template: /coldbox/system/web/services/PluginService.cfc
ID: ??
LINE: 153
Template: /coldbox/system/web/services/PluginService.cfc
ID: ??
LINE: 371
Template: /coldbox/system/web/Controller.cfc
ID: ??
LINE: 250
Template: /coldbox/system/Coldbox.cfc
ID: ??
LINE: 75
Template: /Application.cfc
Framework Snapshot
Current Event: admin:main.dologin
Current Layout: login.cfm (Module: )
Current View: N/A
Bug Date: 07/18/2014 11:21:26 AM
Coldfusion ID: CFID=162ca1d2-3eb6-4a67-b7fa-049627c8ca67 ; CFToken=0 ; JSessionID=6B360061A0160FD82E2FF869A2D158C4_162ca1d2-3eb6-4a67-b7fa-049627c8ca67_0
Template Path : /var/www/sites.membes.com.au/index.cfm
Path Info : /admin/main/dologin/
Host & Server: adia.membes.com.au membes
Query String:
Referrer: Rapid web development with Lucee!
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
Remote Address: 127.0.0.1
Form variables:
password: test
remember: false
email: test@test.com
Session Storage:
Cookies:
ckfinder_path: Files:/:1
cfid: 162ca1d2-3eb6-4a67-b7fa-049627c8ca67
jsessionid: 1680BA7724831206C388C2C35C61E22F
cftoken: 0
Stack Trace:
com/lowagie/text/DocumentException
at java.lang.Class.getDeclaredMethods0(Native Method):-2
at java.lang.Class.privateGetDeclaredMethods(Class.java:2570):2570
at java.lang.Class.getMethod0(Class.java:2813):2813
at java.lang.Class.getMethod(Class.java:1663):1663
at railo.transformer.library.tag.TagLibTag.hasBodyMethodExists(TagLibTag.java:603):603
at railo.transformer.bytecode.statement.tag.TagHelper.writeOut(TagHelper.java:190):190
at railo.transformer.bytecode.statement.tag.TagBase._writeOut(TagBase.java:119):119
at railo.transformer.bytecode.statement.tag.TagOther._writeOut(TagOther.java:25):25
at railo.transformer.bytecode.statement.StatementBase.writeOut(StatementBase.java:54):54
at railo.transformer.bytecode.util.ExpressionUtil.writeOut(ExpressionUtil.java:129):129
at railo.transformer.bytecode.BodyBase.writeOut(BodyBase.java:170):170
at railo.transformer.bytecode.statement.tag.TagIf.__writeOut(TagIf.java:68):68
at railo.transformer.bytecode.statement.tag.TagIf._writeOut(TagIf.java:59):59
at railo.transformer.bytecode.statement.StatementBase.writeOut(StatementBase.java:54):54
at railo.transformer.bytecode.util.ExpressionUtil.writeOut(ExpressionUtil.java:129):129
at railo.transformer.bytecode.BodyBase.writeOut(BodyBase.java:170):170
at railo.transformer.bytecode.BodyBase.writeOut(BodyBase.java:122):122
at railo.transformer.bytecode.statement.tag.TagSwitch.addCase(TagSwitch.java:108):108
at railo.transformer.bytecode.statement.tag.TagSwitch._writeOut(TagSwitch.java:65):65
at railo.transformer.bytecode.statement.StatementBase.writeOut(StatementBase.java:54):54
at railo.transformer.bytecode.util.ExpressionUtil.writeOut(ExpressionUtil.java:129):129
at railo.transformer.bytecode.BodyBase.writeOut(BodyBase.java:170):170
at railo.transformer.bytecode.BodyBase.writeOut(BodyBase.java:122):122
at railo.transformer.bytecode.BodyBase._writeOut(BodyBase.java:115):115
at railo.transformer.bytecode.statement.StatementBase.writeOut(StatementBase.java:54):54
at railo.transformer.bytecode.statement.NativeSwitch._writeOut(NativeSwitch.java:55):55
at railo.transformer.bytecode.Page.writeOutUdfCallInner(Page.java:781):781
at railo.transformer.bytecode.Page.execute(Page.java:590):590
at railo.runtime.compiler.CFMLCompilerImpl.compile(CFMLCompilerImpl.java:58):58
at railo.runtime.PageSourceImpl._compile(PageSourceImpl.java:309):309
at railo.runtime.PageSourceImpl.compile(PageSourceImpl.java:283):283
at railo.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:242):242
at railo.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:166):166
at railo.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:858):858
at railo.runtime.component.ComponentLoader.load(ComponentLoader.java:235):235
at railo.runtime.component.ComponentLoader.loadComponent(ComponentLoader.java:41):41
at railo.runtime.PageContextImpl.loadComponent(PageContextImpl.java:2893):2893
at railo.runtime.functions.other.CreateObject.doComponent(CreateObject.java:210):210
at railo.runtime.functions.other.GetComponentMetaData.call(GetComponentMetaData.java:33):33
at coldbox.system.core.util.util_cfc$cf.udfCall2(/coldbox/system/core/util/Util.cfc:305):305
at coldbox.system.core.util.util_cfc$cf.udfCall(/coldbox/system/core/util/Util.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92
at railo.runtime.type.UDFImpl._call(UDFImpl.java:306):306
at railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207
at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1554):1554
at coldbox.system.ioc.config.mapping_cfc$cf.udfCall6(/coldbox/system/ioc/config/Mapping.cfc:578):578
at coldbox.system.ioc.config.mapping_cfc$cf.udfCall(/coldbox/system/ioc/config/Mapping.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92
at railo.runtime.type.UDFImpl._call(UDFImpl.java:306):306
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:194):194
at railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1755):1755
at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:755):755
at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1564):1564
at coldbox.system.ioc.injector_cfc$cf.udfCall1(/coldbox/system/ioc/Injector.cfc:249):249
at coldbox.system.ioc.injector_cfc$cf.udfCall(/coldbox/system/ioc/Injector.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92
at railo.runtime.type.UDFImpl._call(UDFImpl.java:306):306
at railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207
at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1554):1554
at coldbox.system.web.services.pluginservice_cfc$cf.udfCall1(/coldbox/system/web/services/PluginService.cfc:137):137
at coldbox.system.web.services.pluginservice_cfc$cf.udfCall(/coldbox/system/web/services/PluginService.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92
at railo.runtime.type.UDFImpl._call(UDFImpl.java:306):306
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:194):194
at railo.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:757):757
at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:755):755
at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1564):1564
at coldbox.system.web.services.pluginservice_cfc$cf.udfCall1(/coldbox/system/web/services/PluginService.cfc:153):153
at coldbox.system.web.services.pluginservice_cfc$cf.udfCall(/coldbox/system/web/services/PluginService.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92
at railo.runtime.type.UDFImpl._call(UDFImpl.java:306):306
at railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207
at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1554):1554
at coldbox.system.web.controller_cfc$cf.udfCall5(/coldbox/system/web/Controller.cfc:371):371
at coldbox.system.web.controller_cfc$cf.udfCall(/coldbox/system/web/Controller.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92
at railo.runtime.type.UDFImpl._call(UDFImpl.java:306):306
at railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207
at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1554):1554
at coldbox.system.coldbox_cfc$cf.udfCall1(/coldbox/system/Coldbox.cfc:250):250
at coldbox.system.coldbox_cfc$cf.udfCall(/coldbox/system/Coldbox.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92
at railo.runtime.type.UDFImpl._call(UDFImpl.java:306):306
at railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207
at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1554):1554
at application_cfc$cf.udfCall(/Application.cfc:75):75
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92
at railo.runtime.type.UDFImpl._call(UDFImpl.java:306):306
at railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207
at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:388):388
at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:114):114
at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2218):2218
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2185):2185
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:332):332
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727):727
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303):303
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241):241
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220):220
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122):122
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501):501
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171):171
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102):102
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116):116
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408):408
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040):1040
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607):607
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314):314
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145):1145
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615):615
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61
at java.lang.Thread.run(Thread.java:745):745
Line 305 of …/core/util/Util.cfc is
I’ve been looking for possible answers for hours, but can’t find anything relating to this.
Has anyone else being able to succesfully run event.renderData() on Railo 4.2?
Many Thanks
Jason