Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Daniel Budde / Daniel Budde (Daniel Budde)
Created: 05/06/2015
Components: ORM Support
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2008 Server x64
Vote Count: 1
Problem Description: When serializing certain beans and entities for AJAX requests using either 'serializeJSON' or 'returnformat="json"' an error is thrown. The specific error is: 'java.lang.Integer cannot be cast to java.lang.String'.
Steps to Reproduce: Unzip the included example files and run the 'index.cfm' page which will attempt to load an array of beans and then serialize it. This will reproduce the error.
Actual Result: Error (java.lang.Integer cannot be cast to java.lang.String).
Expected Result: A serialized JSON string representation of the array of beans.
Any Workarounds: The current workaround I am using is to manually convert the beans and entities into structures and then serialize them.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3982649
External Customer Info:
External Company:
External Customer Name: Daniel
External Customer Email:
External Test Config: My Hardware and Environment details:
Server 2008 R2 64bit
CF 11.0.05 64bit (Problem also confirmed in 11.0.03)
Java 1.8.0_25
Apache 2.4.12 64bit
Attachments:
- May 06, 2015 00:00:00: 1_example.zip
Comments: