Title:
Columns added w/ QueryAddColumn w/o a datatype specified that have at least one value in the column fail during a for-in loop
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): James Harris / James Harris (James Harris)
Created: 01/22/2015
Components: Core Runtime
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final / 313169
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 2
Problem Description: Columns added via QueryAddColumn without a datatype specified that have at least one value in the column fail during a for...in loop
Steps to Reproduce: Run the code in the attached file to see the error.
Actual Result: java.lang.ArrayIndexOutOfBoundsException
Expected Result: No exception
Any Workarounds:
1) Specify a data type for the new column in the QueryAddColumn call
2) Change your looping method to while(query.next()) {}
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3925839
External Customer Info:
External Company:
External Customer Name: James
External Customer Email:
External Test Config: My Hardware and Environment details: Windows Server 2008R2 x64, CF11 Update 3
Attachments:
- January 23, 2015 00:00:00: 1_breakQueryForIn.cfm
Comments: