Serena Willis
06/23/2024, 5:02 PMSebastiaan
06/24/2024, 11:24 AMgunnar
06/25/2024, 7:27 AMgunnar
06/25/2024, 9:07 AMAndrew Dixon
06/25/2024, 9:29 AMSebastiaan
06/25/2024, 9:48 AMMessage: "Could not initialize class sun.nio.fs.WindowsSecurity"
Type: "java.lang.NoClassDefFoundError"
Serena Willis
06/26/2024, 12:04 AMresult_name.ExecutionTime
in ACF8, back in the day.Serena Willis
06/26/2024, 12:04 AM<cfdump>
the result of a query, it shows that info.Shawn Grigson
06/26/2024, 7:24 PMthis.sessioncluster = true
.
lucee.runtime.type.QueryImpl; incompatible types for field recordcount
The error is thrown on the first reference to anything in the session scope.
Anecdotally, this appears to happen when switching between Lucee 5.4 and Lucee 6 servers, after a time the session gets corrupted and won't write back to the server without throwing a sql error. (SQL Server 2019)
Additionally, Application.cfc appears to be cached and only after restarting Lucee entirely do changes to Application.cfc start getting picked up again (this may be a Lucee 6.0.3.1 issue).
On top of that, the reference to session throws an error that breaks out of try/catch. So you can't trap the error and rotate the session or anything like that. It throws a hard error that can't be captured with a try/catch.
The only solution? Clearing your cookies.Shawn Grigson
06/28/2024, 1:37 PMdswitzer
07/01/2024, 1:46 PMSebastiaan
07/02/2024, 10:43 AMMessage: "Could not initialize class sun.nio.fs.WindowsSecurity"
Type: "java.lang.NoClassDefFoundError"
micha
07/02/2024, 1:57 PMdavla
07/02/2024, 2:52 PMJohn
07/02/2024, 6:36 PMartknight
07/02/2024, 7:18 PMNo matching function [encodeForJavascript] found
gsr
07/04/2024, 12:28 AMdraw: 2
columns: id,name,email,texture
order[0][column]: 0 - problem area
order[0][dir]: asc
order[0][name]:
start: 0
length: 10
search[value]: trf - problem area
search[regex]: false
and i am running a check on server side to see if the arguments.search.value is not empty
<cfif structKeyExists(arguments, "search") AND structKeyExists(arguments.search, "value") AND len(trim(arguments.search.value))>
<cfset sql &= " AND (">
<cfloop array="#columnList#" index="col">
<cfif col GT 1>
<cfset sql &= " OR ">
</cfif>
<cfset sql &= "#col# LIKE '%#arguments.search.value#%'">
</cfloop>
<cfset sql &= ")">
</cfif>
what is wrong herequetwo
07/05/2024, 7:36 PMAngela Jones
07/05/2024, 7:57 PMDean
07/11/2024, 7:14 AMGareth
07/11/2024, 11:58 PMsebastianz
07/15/2024, 12:40 PMgsr
07/17/2024, 11:29 PMgsr
07/17/2024, 11:43 PMbdw429s
07/18/2024, 5:36 PMangel
07/19/2024, 2:54 AMrodyon
07/19/2024, 6:42 PMdanmurphy
07/22/2024, 10:16 PMSELECT /*+ hint here */
field_name
FROM table_name
I can see the SQL string in the query in Lucee, but the database never gets that hint. When it actually runs in the database, it looks like…
SELECT field_name
FROM table_name
It doesn’t matter where the comment/hint is at in the SQL, it strips it out. Any thoughts on how to get Lucee to pass the hint/comment?jamiejackson
07/23/2024, 4:54 PMbdw429s
07/24/2024, 12:03 AM