Compile errors in 5.3.8.189

Since upgrading one of our servers to 5.3.8.189, 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 5.3.8.167 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(PhysicalClassLoader.java:161)
at lucee.commons.lang.PhysicalClassLoader.loadClass(PhysicalClassLoader.java:142)
at lucee.commons.lang.PhysicalClassLoader.loadClass(PhysicalClassLoader.java:125)
at lucee.commons.lang.PhysicalClassLoader.loadClass(PhysicalClassLoader.java:119)
at lucee.runtime.MappingImpl.getPhysicalClass(MappingImpl.java:259)
at lucee.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:354)
at lucee.runtime.PageSourceImpl.loadPageThrowTemplateException(PageSourceImpl.java:237)
at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:1014)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1026)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:923)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:904)
at surfschool.admin.application_cfc$cf$28i.udfCall(/surfschool/admin/Application.cfc:155)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:684)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1911)
at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:437)
at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:216)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2457)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2447)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2418)
at lucee.runtime.engine.Request.exe(Request.java:44)
at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1179)
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: 5.3.8.189

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 5.3.8.189 - 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 5.3.8.189.
Simon