tracker issue : CF-3223299

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

large cfdump throws null error on 2nd cfcproxy execution

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Michael Nimer / Michael Nimer (Michael Nimer)

Created: 06/25/2012

Components: Language, Java Integration

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Problem Description:
When using CFCPROXY to invoke a CFC from a java servlet I get the following NULL error after the 1st time.  The first time I run the page, it works fine, but all requests after throw an error.


Steps to Reproduce:
- Configure the servlet
- edit the path to the cfc
- download the Chinook_Sqlite.sqlite example database (google), and edit the path
- run the cfc, more then once.

Actual Result:

java.lang.NullPointerException
	at coldfusion.runtime.NeoPageContext.popBody(NeoPageContext.java:1941)
	at coldfusion.runtime.CfJspPage._popBody(CfJspPage.java:1950)
	at cfqofqExample2ecfc966131460$funcFINDARTIST.runFunction(/Users/mnimer/Dropbox/CF10Demos/cfcProxyDemos/target/cfcProxyDemos-maven/demos-inf/components/qofqExample.cfc:13)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:601)
	at coldfusion.cfc.CFCProxyFilter.invoke(CFCProxyFilter.java:56)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:443)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.cfc.CFCProxy.doInvoke(CFCProxy.java:325)
	at coldfusion.cfc.CFCProxy.invoke(CFCProxy.java:241)
	at demos.servlet.QofQServlet.doGet(QofQServlet.java:36)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)

Expected Result:

Any Workarounds:

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

Watson Bug ID:	3223299

External Customer Info:
External Company:  
External Customer Name: mnimer
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

  1. June 26, 2012 00:00:00: 1_qofqExample.cfc
  2. June 26, 2012 00:00:00: 2_QofQServlet.java

Comments: