tracker issue : CF-3282992

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

direct invoke argument throws null error

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/UserError

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

Created: 07/10/2012

Components: Language, Java Integration

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final /

Priority/Frequency: Critical / Most users will encounter

Locale/System: English / Platforms All

Vote Count: 0

by only changing the direct invoke argument to true I get NULL error

works:
new CFCProxy(cfcPath, false);
breaks:
new CFCProxy(cfcPath, true);

=======================================================

java.lang.NullPointerException
	coldfusion.cfc.CFCProxy.doInvoke(CFCProxy.java:306)
	coldfusion.cfc.CFCProxy.invoke(CFCProxy.java:237)
	demos.servlet.PdfHtmlExampleServlet.doPost(PdfHtmlExampleServlet.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

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

Watson Bug ID:	3282992

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

Attachments:

  1. July 10, 2012 00:00:00: 1_PdfHtmlExampleServlet.java
  2. July 10, 2012 00:00:00: 2_PdfHtmlExample.cfc

Comments:

directInvoke basically tells the server that the CFCProxy is already being invoked in the context of a CFML request and therefore it should not setup the context again. So, this usage is actually not valid because the code here sets directInvoke to true but then calls it from outside the CF request context.
Comment by Rupesh K.
18742 | December 03, 2013 06:41:50 AM GMT