Duplicate
Details
Assignee
Michael OffnerMichael OffnerReporter
Pothys - MitrahSoftPothys - MitrahSoftPriority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Pothys - MitrahSoft
Pothys - MitrahSoftPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 8 October 2021 at 15:17
Updated 21 February 2022 at 19:22
Resolved 21 February 2022 at 19:22
array append/prepend(), using the same array as an object was throws StackOverflowError. Seems ACF works fine. merge to true returns result as expected.
<cfscript> arr = [1,2,3]; arrayAppend(arr, arr); writeDump(arr); </cfscript>
Stacktrace
lucee.runtime.exp.NativeException: java.lang.StackOverflowError at java.util.AbstractList.hashCode(Unknown Source) at java.util.AbstractList.hashCode(Unknown Source) at java.util.AbstractList.hashCode(Unknown Source) at java.util.AbstractList.hashCode(Unknown Source) at java.util.AbstractList.hashCode(Unknown Source)