Title:
Call to non-existing component method returns Internal Server Error in IIS 7
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Jeff Carpenter / Jeff Carpenter (Jeff Carpenter)
Created: 05/18/2015
Components: Language, CF Component
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final / 2016
Priority/Frequency: Normal / All users will encounter
Locale/System: ALL / Win 2008 Server
Vote Count: 0
Problem Description: Calling a non-existent component method returns Internal Server error 500 in IIS, or within ColdFusion returns NullPointerException error instead of a 404 type error.
Steps to Reproduce: Call a non-existent method in Coldfusion cfc similar to https://myserver.com/lib.cfc?method=nonexistant
Actual Result: NullPointerException
Expected Result: 404 / "method not found in component" message
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3989771
External Customer Info:
External Company:
External Customer Name: Jeff
External Customer Email:
External Test Config: My Hardware and Environment details: ColdFusion 11, IIS 7
Calling a non-existent component method returns Internal Server error 500 instead of a 404 type error. This is a problem because security scanning software calls the 500 error as a medium security risk. Unchecking the "Enable HTTP Status codes" box in the server settings will return the CF specific error which triggers the NullPointerException error.
Attachments:
Comments: