Sorry, I had better post the full stack trace. I believe that it may be some problem in ArrayToList, though more functions seem to be affected:
"ERROR","ajp-nio-8009-exec-1","07/28/2016","13:04:17","",";this method is no longer supported, use instead get(int,Object);lucee.runtime.exp.DeprecatedException: this method is no longer supported, use instead get(int,Object)
at lucee.runtime.type.QueryColumnImpl.get(QueryColumnImpl.java:279)
at lucee.runtime.type.QueryColumnImpl.getE(QueryColumnImpl.java:799)
at lucee.runtime.functions.list.ArrayToList.call(ArrayToList.java:55)
at lucee.runtime.functions.list.ArrayToList.call(ArrayToList.java:35)
at some.package.path.myclass_cfc$cf.udfCall8(/var/www/somepath/some/package/path/myclass.cfc:12345)
The problem here seems to me in ArrayToList, line 55:
if(len==1)return Caster.toString(array.getE(1));
This is calling getE(1) on the array that was passed. For an ordinary array, this would probably resolve to the getE(int key) on line 155 of ArrayImpl.java and we'd be fine, however in case of an array that was fetched as part of a query result, we end up in QueryColumnImpl.java instead, where getE(int row) is probably not what we want - this does a get(row) wich in turn throws the DeprecatedException in line 279, advising to use the method just below.
I don't actually know how to build Lucee, nor am I much of a Java developer and I'm a bit out of my depth when it comes to deciding how to resolve the issue here. The getE(int)-method of QueryColumnImpl.java seems to me completely broken, as we'd always end up in the deprecated get(int). So I assume that there was some work going on here, but it didn't get quite finished.
There are a couple more matches for this getE-call in the functions.arrays-folder, which may lead to the same result. In my tests, I have got the same error with ArrayFirst. On the other hand, ArrayLast, ArrayReverse and ArraySlice are not affected. As ArrayLast is extremely similar, I am really quite at a loss, but again, I am no Java developer.
Here's a very short test case to reproduce this:
<cfquery name="test" datasource="pgcbox">
SELECT ARRAY [1,234,2] AS foo
</cfquery>
<cfdump var="#ArrayToList(test.foo)#" />
I hope this helps to pinpoint the issue. Please tell me if I can be of assistance.
Kind regards
Markus