Trying to upgrade

Going to http://localhost:8888/lucee/admin/server.cfm gives me this, any ideas for a fix?

Lucee 5.3.7.48 Error (expression)
Message Array index [2] out of range, array size is [1]
Stacktrace The Error Occurred in
/admin/overview.cfm: line 777
called from /admin/overview.cfm: line 296
called from /admin/web.cfm: line 492
called from /admin/server.cfm: line 2
Java Stacktrace lucee.runtime.exp.ExpressionException: Array index [2] out of range, array size is [1]
at lucee.runtime.type.wrap.ListAsArray.getE(ListAsArray.java:123)
at lucee.runtime.type.wrap.ListAsArray.get(ListAsArray.java:302)
at lucee.runtime.type.wrap.ListAsArray.get(ListAsArray.java:312)
at lucee.runtime.util.VariableUtilImpl.get(VariableUtilImpl.java:278)
at lucee.runtime.PageContextImpl.get(PageContextImpl.java:1502)
at overview_cfm$cf.udfCall(/admin/overview.cfm:777)
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.type.scope.UndefinedImpl.call(UndefinedImpl.java:779)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1710)
at overview_cfm$cf.call(/admin/overview.cfm:296)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:945)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
at web_cfm$cf.call(/admin/web.cfm:492)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:945)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
at server_cfm$cf.call(/admin/server.cfm:2)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:945)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:216)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:42)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2416)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2406)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2381)
at lucee.runtime.engine.Request.exe(Request.java:43)
at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1170)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1116)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:831)

Timestamp 6/26/21 4:34:33 PM BST

OS: Linux 5.11.0-22-generic #23-Ubuntu SMP Thu Jun 17 00:34:23 UTC 2021 x86_64 GNU/Linux
Java Version: OpenJDK Runtime Environment (build 17-ea+19-Ubuntu-1ubuntu1)
Tomcat Version: 17-ea (Private Build) 64bit
Lucee Version: 5.3.7.48

How are you trying to upgrade, and from which version to which version are you trying to upgrade?

Usually you just need to stop lucee service, download the newest Lucee.jar and replace the existing/old Lucee.jar in Tomcats lib or lib/extension folder with that downloaded file and then restart the service. But as always: backup everything first.

If the issue persists, could be that the Lucee server context didn’t get fully redeployed. I’d try deleting the lucee-server and restart the service, so it gets freshly deployed. The problem is that you need to have your Lucee configurations of that server-context backed up, because they will get lost if you delete the lucee-server.

My current version is 5.3.7.48 as shown above, I was trying to upgrade with the handy-dandy admin page but got the fault. Am well aware I can plop lucee.jar in place ty :smiley:

What Java version?

It’s above, at the end, jdk17

Oh, Sorry. Yea. The latest 5.3.8 has a bug fix in recognizing the newer JDK version number to display on the overview page. Go down to JDK 11 or something and then it should work.

1 Like

That did it @kabutotx - tvm

1 Like