Lucee 7.0.4.34 Admin: "Extension - Applications" throws error

Hi,

when clicking on “Extension - Applications” in Lucee Admin, the following error is thrown:

variable [LISTINSTALLED] doesn't exist

lucee.runtime.exp.ExpressionException: variable [LISTINSTALLED] doesn't exist at lucee.runtime.type.scope.UndefinedImpl.get(UndefinedImpl.java:270) at lucee.runtime.type.scope.UndefinedImpl.get(UndefinedImpl.java:210) at lucee.runtime.PageContextImpl.us(PageContextImpl.java:1314) at ext_applications_list_cfm966$cf.call(/admin/ext.applications.list.cfm:144) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1124) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1018) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:999) at ext_applications_cfm184$cf.call(/admin/ext.applications.cfm:104) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1124) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1018) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:999) at web_cfm$cf.call_000013(/admin/web.cfm:528) at web_cfm$cf.call(/admin/web.cfm:522) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1124) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1018) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:999) at index_cfm$cf.call(/admin/index.cfm:3) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1124) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1018) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:239) at lucee.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:108) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2814) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2801) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2772) at lucee.runtime.engine.Request.exe(Request.java:45) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1233) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1190) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:99) at lucee.loader.servlet.jakarta.CFMLServlet.service(CFMLServlet.java:41) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:710) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:128) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:107) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:165) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:77) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:113) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:782) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:83) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:685) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:72) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:397) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1272) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1801) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:946) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:480) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:57) at java.base/java.lang.Thread.run(Unknown Source) 

How can this be repaired? Thank you for your advice!

Regards,
Rüdiger Graf

OS: Ubuntu 26.04 LTS
Java Version: OpenJDK 21.0.11+10
Tomcat Version: 11.0.22
Lucee Version: 7.0.4.34

Any ideas on this?

I tried to delete the ext_applications_list_cfm966$cf.class file to have it generated new, but this leads to an error. How can I delete/recreaze all .class files?

Possibly the problem comes from an corrupt .CFConfig.json - can this file be recreated from scratch as it was after a fresh install?

When you deleted that one, did you have Lucee stopped?

When you ask how to delete them all, they’d be in that folder where your deleted the one.

If deleting the one and restarting doesn’t help, try deleting them all.

BTW, I’m not saying either of these will solve the problem you raised. I’m just saying that if you found something to suggest it may, I’m explaining why just deleting the generated class file/s without restarting might not work as you’d hope.

Let us know what you try and what does or doesn’t work. Then maybe someone else may have a new suggestion for you.

How’d things go, @RG2021?

Thank you for asking, @carehart - with an older version of .CFConfig.json, the error disappeared.

Thanks for the update. If you may still have the bad and good one to compare, it might help others to hear what was amiss–and how it happened, if you may know.

But if you prefer to just move forward, I’d understand. Glad it’s sorted.