I tried the last snapshot for the query performance and the pdf extension is throwing an error:
“ERROR”,“http-nio-80-exec-9”,“07/10/2025”,“12:49:37”,“94218EDE359E41E1C2DB41D04DCFA1A2”,"class org.lucee.extension.pdf.tag.DocumentSection cannot be cast to class org.lucee.extension.pdf.tag.Document (org.lucee.extension.pdf.tag.DocumentSection and org.lucee.extension.pdf.tag.Document are in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @46ad02ad):
(stacktrace is my code)
with 6.2.2.66-RC it still works. I checked the changelog, there is no pdf or documentsection mentioned.
OS: debian on docker Java Version: jdk21 Tomcat Version: 11 Lucee Version: 6.2.2.73 throws the error, 6.2.2.66-RC works pdf extension: 1.0.0.66
I recreated the docker containers, send the request, restart the containers, send the request - yes, the error is still there. Is there something more I can share for debugging?
looking at the changes, the only thing I suspect is possibly this change, which falls back on reflection for dynamically modified code when an agent is used and there’s no class files on disk to introspect.
Lucee 6.2.2.67-SNAPSHOT Error (java.lang.ClassCastException)
Message class org.lucee.extension.pdf.tag.DocumentSection cannot be cast to class org.lucee.extension.pdf.tag.Document (org.lucee.extension.pdf.tag.DocumentSection and org.lucee.extension.pdf.tag.Document are in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @495dd229)
Yes, still the same error. (With old and latest pdf extension and lucee restart)