On 1 system I have Lucee 6.2.0.321 and that works fine.
It is running Rocky 9
Tomcat 9.0.102
Java 21.0.6
On another system I have loaded up
Lucee 6.2.1.122
It is running Rocky 9
Tomcat 9.0.102
Java 24.0.1
Both are deployed using the Lucee WAR files.
Other then a slightly newer Java, the systems are configured identically, with all the folders and read/write/executes set the same.
However, on Lucee 6.2.1.122 when I change the settings and press the restart lucee button, the page throws up a red 500, and the grey loading overlay comes up and just stays there with Please Wait…
When I refresh the page, Lucee does not load anymore. I have to restart Tomcat to bring Lucee back and it required the password.txt file.
The 1st time this occured there as a big error message, which I am trying to figure out how to get back up, and all I can remember is something was null (I know, big help).
But I found a single error log file in the logs folder that looks like the error that I saw:
"Severity","ThreadID","Date","Time","Application","Message"
"ERROR","ajp-nio-0:0:0:0:0:0:0:0-8009-exec-9","05/07/2025","13:14:28","","java.lang.NullPointerException: Cannot invoke ""org.osgi.framework.BundleContext.installBundle(String, java.io.InputStream)"" because ""context"" is null;java.lang.NullPointerException: Cannot invoke ""org.osgi.framework.BundleContext.installBundle(String, java.io.InputStream)"" because ""context"" is null;java.lang.NullPointerException: Cannot invoke ""org.osgi.framework.BundleContext.installBundle(String, java.io.InputStream)"" because ""context"" is null;Cannot invoke ""org.osgi.framework.BundleContext.installBundle(String, java.io.InputStream)"" because ""context"" is null;lucee.runtime.exp.NativeException: java.lang.NullPointerException: Cannot invoke ""org.osgi.framework.BundleContext.installBundle(String, java.io.InputStream)"" because ""context"" is null
at lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:687)
at lucee.loader.engine.CFMLEngineFactory._restart(CFMLEngineFactory.java:902)
at lucee.loader.engine.CFMLEngineFactory.restart(CFMLEngineFactory.java:881)
at lucee.runtime.config.ConfigAdmin.restart(ConfigAdmin.java:3947)
at lucee.runtime.tag.Admin.doRestart(Admin.java:935)
at lucee.runtime.tag.Admin._doStartTag(Admin.java:847)
at lucee.runtime.tag.Admin.doStartTag(Admin.java:359)
at restart_cfm$cf.call(/admin/restart.cfm:5)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1112)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1006)
at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:213)
at lucee.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:100)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2810)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2797)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2768)
at lucee.runtime.engine.Request.exe(Request.java:45)
at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1109)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1066)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:42)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:424)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:935)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1792)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1189)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:658)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:1447)
Caused by: javax.servlet.ServletException: java.lang.NullPointerException: Cannot invoke ""org.osgi.framework.BundleContext.installBundle(String, java.io.InputStream)"" because ""context"" is null
... 42 more
Caused by: java.lang.NullPointerException: Cannot invoke ""org.osgi.framework.BundleContext.installBundle(String, java.io.InputStream)"" because ""context"" is null
at lucee.loader.osgi.BundleUtil.installBundle(BundleUtil.java:76)
at lucee.loader.osgi.BundleUtil.addBundle(BundleUtil.java:68)
at lucee.loader.osgi.BundleUtil.addBundle(BundleUtil.java:47)
at lucee.loader.osgi.BundleLoader.loadBundles(BundleLoader.java:127)
at lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:671)
... 41 more
I am going to wait a little bit if anyone wants to get more information/troubleshoot before I go and test out Lucee 6.2.0.321 to see if I get the same error/issues.