Compile errors in

Since upgrading one of our servers to, every day or two we see a surge of Compile errors in our Application log. The error messages come thick and fast for a few minutes and then taper off over an hour or two. Most recently we were using the RC and didn’t see these errors.

The error messages are similar to:

Class [surfschool.admin.customer_cfm$cf$3cd] is invalid or doesn't exist;Class [surfschool.admin.customer_cfm$cf$3cd] is invalid or doesn't exist

The stack trace is similar to:

java.lang.ClassNotFoundException: Class [surfschool.admin.customer_cfm$cf$3cd] is invalid or doesn't exist
at lucee.commons.lang.PhysicalClassLoader.findClass(
at lucee.commons.lang.PhysicalClassLoader.loadClass(
at lucee.commons.lang.PhysicalClassLoader.loadClass(
at lucee.commons.lang.PhysicalClassLoader.loadClass(
at lucee.runtime.MappingImpl.getPhysicalClass(
at lucee.runtime.PageSourceImpl.loadPhysical(
at lucee.runtime.PageSourceImpl.loadPageThrowTemplateException(
at lucee.runtime.PageSourceImpl.loadPage(
at lucee.runtime.PageContextImpl._doInclude(
at lucee.runtime.PageContextImpl._doInclude(
at lucee.runtime.PageContextImpl.doInclude(
at surfschool.admin.application_cfc$cf$28i.udfCall(/surfschool/admin/Application.cfc:155)
at lucee.runtime.type.UDFImpl.implementation(
at lucee.runtime.type.UDFImpl._call(
at lucee.runtime.ComponentImpl._call(
at lucee.runtime.ComponentImpl._call(
at lucee.runtime.listener.ModernAppListener._onRequest(
at lucee.runtime.listener.MixedAppListener.onRequest(
at lucee.runtime.PageContextImpl.execute(
at lucee.runtime.PageContextImpl._execute(
at lucee.runtime.PageContextImpl.executeCFML(
at lucee.runtime.engine.Request.exe(
at lucee.runtime.engine.CFMLEngineImpl._service(
at lucee.runtime.engine.CFMLEngine...

Any ideas what that might be about? Anything I should try before going back to another version?

Thanks… Simon

OS: Windows Server 2019
Java Version: OpenJDK 11.0.7
Tomcat Version: 9.0.35
Lucee Version:

Hi Simon,

just what I can see from the Stack Trace, it looks to me like Lucee can’t see the file at the given physical location at the given moment. Is it possible that these .cfm files are located at some kind of mapped network drive or similar? If you see it happening randomly, I’d bet the drive you are having those files is “randomly” having access problems (network, latency or whatever).

I think it’s caused by LDEV-2904 - also count update for max size of a classloader · lucee/Lucee@d1ec939 · GitHub
and [LDEV-2904] Non-Heap Memory Increases Till Server Crashes - Lucee

can you file a new bug?

New bug filed: [LDEV-3622] Compile errors in - Lucee

@Simon_Goldschmidt could you post the complete stacktrace, i’m looking for a “caused by”

Hi @micstriit, unfortunately we were logging to a datasource and the stacktraces were trimmed before the “Caused by:” line. We haven’t run into this error on any of our servers apart from the one Production server we upgraded to