tracker issue : CF-3230193

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

null error creating pdf through CFCProxy

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

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

Created: 07/04/2012

Components: Language, Java Integration

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Few users will encounter

Locale/System: English / Platforms All

Vote Count: 0

When I try to convert a url to pdf from a servlet I get the following NULL error.  To recreate the error run the servlet and hit the url. 

--mike

===================
java.lang.NullPointerException
	coldfusion.runtime.NeoPageContext.popBody(NeoPageContext.java:1941)
	coldfusion.runtime.CfJspPage._popBody(CfJspPage.java:1950)
	cfPdfExample2ecfc2121907004$funcURLTOPDF.runFunction(/Users/mnimer/Development/github/palladium/samples/cf10demos/cfcProxyDemos/target/cfcProxyDemos-maven/demos-inf/components/PdfExample.cfc:28)
	coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:601)
	coldfusion.cfc.CFCProxyFilter.invoke(CFCProxyFilter.java:56)
	coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:436)
	coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
	coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	coldfusion.cfc.CFCProxy.doInvoke(CFCProxy.java:325)
	coldfusion.cfc.CFCProxy.invoke(CFCProxy.java:241)
	demos.servlet.PdfUrlExampleServlet.doPost(PdfUrlExampleServlet.java:37)
	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:	3230193

Deployment Phase:	Release Candidate

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

Attachments:

  1. July 05, 2012 00:00:00: 1_PdfExample.cfc
  2. July 05, 2012 00:00:00: 2_PdfUrlExampleServlet.java

Comments:

Able to reproduce this issue in Coldfusion 10 but unable to reproduce it in cfmain. The fix made for another bug fixed the issue.
Comment by S V.
18806 | December 05, 2013 05:32:02 AM GMT
This bug is fixed and will be available in next release.
Comment by HariKrishna K.
18807 | January 03, 2014 12:09:43 AM GMT