tracker issue : CF-4078539

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

Calling an unknown remote method throws a NPE

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)

Created: 10/23/2015

Components: Language, CF Component

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final / 11,0,12,302325, 2016.0.04.302324

Priority/Frequency: Major / Some users will encounter

Locale/System: ALL / Platforms All

Vote Count: 0

Build a CFC. Try to call method=X where X is *not* defined. In the past you got an error saying it wasn't a valid method. Now you get a NPE:

	at coldfusion.filter.ComponentFilter.normalizeParamTypeForAjax(
	at coldfusion.filter.ComponentFilter.invoke(
	at coldfusion.filter.ApplicationFilter.invoke(
	at coldfusion.filter.RequestMonitorFilter.invoke(

Conversely, if you call a public method, you get:

 The method 'nope1' in component /Users/raymondcamden/Dropbox/presentations/ColdFusion APIs/demos/demo1.cfc cannot be accessed remotely.

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

Watson Bug ID:	4078539

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



This is fixed in 2016. We need to see if/how this change can be back-ported to 11.0.
Comment by Vamseekrishna N.
5460 | August 03, 2016 03:19:15 AM GMT