Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Gary Stanton / Gary Stanton (Gary Stanton)
Created: 11/20/2014
Components: Language, Serialization
Versions: 10.0
Failure Type: Crash
Found In Build/Fixed In Build: Final / CF11 Update5,CF10 Update16
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 0
Problem Description:
When performing SerializeJSON on a Java object or interface, the entire ColdFusion service immediately crashes and restarts.
Admittedly, I can't see a reason you'd want to do this; but I was serialising my session scope for logging and it just happens to have a Java interface instantiated in it.
Regardless of the usefulness of serialising a Java object, the result should never be a complete crash and restart of ColdFusion!
Steps to Reproduce:
<cfscript>
SquangDiddleh = createObject("java", "java.io.File");
writeDump(SerializeJSON(SquangDiddleh));
</cfscript>
Actual Result:
ColdFusion service restarts.
Expected Result:
A dump, containing presumably the names of all the methods of the object and any variables it may have exposed.
Any Workarounds:
None.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3854891
Keywords:
FixTested
External Customer Info:
External Company:
External Customer Name: Simiane
External Customer Email:
External Test Config: My Hardware and Environment details:
Tested on Windows 7 Professional.
CF10.0.14 Developer edition.
Tomcat as bundled with CF10 installer.
IIS 7.5
Attachments:
Comments: