After updating Lucee from 6.0.1.83 to 6.1.0.175 I ...
# lucee
h
After updating Lucee from 6.0.1.83 to 6.1.0.175 I have issues with java.lang.NullPointerExceptions For example, if I run Zacs Performance Analyzer I get this error: https://github.com/zspitzer/lucee-performance-analyzer *Lucee 6.1.0.175-BETA Error (java.lang.NullPointerException)Message*java.lang.NullPointerException*Java Stacktrace*lucee.runtime.exp.NativeException: java.lang.NullPointerException at lucee.runtime.listener.ModernAppListener.info(ModernAppListener.java:436) at lucee.runtime.debug.DebuggerImpl.writeOut(DebuggerImpl.java:406) at lucee.runtime.listener.ModernAppListener.onDebug(ModernAppListener.java:403) at lucee.runtime.listener.MixedAppListener.onDebug(MixedAppListener.java:158) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2771) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2713) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2684) at lucee.runtime.engine.Request.exe(Request.java:45) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1151) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1108) 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 jdk.internal.reflect.GeneratedMethodAccessor61.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:134) at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doNext(FusionReactorRequestHandler.java:698) at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doHttpServletRequest(FusionReactorRequestHandler.java:256) at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doFusionRequest(FusionReactorRequestHandler.java:119) at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.handle(FusionReactorRequestHandler.java:736) at com.intergral.fusionreactor.j2ee.filter.FusionReactorCoreFilter.doFilter(FusionReactorCoreFilter.java:36) at jdk.internal.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:71) at jdk.internal.reflect.GeneratedMethodAccessor56.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.intergral.fusionreactor.agent.filter.FusionReactorStaticFilter.doFilter(FusionReactorStaticFilter.java:54) at com.intergral.fusionreactor.agent.pointcuts.NewFilterChainPointCut$1.invoke(NewFilterChainPointCut.java:50) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:526) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) 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:860) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NullPointerException ... 53 more *Timestamp*6/4/24 124231 PM CEST I am using Java11.0.4 (Oracle Corporation) 64bit Other issues: 04.06.2024 123204,151 ERROR [server.deploy] configuration->*Failed to install extension* [43AC6017-4EF7-4F14-89AB253C347E6A8F:1.0.1.28-BETA] And: 04.06.2024 123242,983 ERROR [server.application] controller->*Invalid struct shorthand syntax*. Shorthand notation requires single, unqualified variable names without any dots or property accessors. For example, [susi] is valid, but [susi.sorglos] or [url.susi] is not. For this code (which worked before):
<cfset xResult = {'#removeChars(arguments.missingMethodName, 1, 3)#': arguments.missingMethodArguments[1]}>
I had to revert to 6.0.1.83, not sure which changes between 6.0.1.83 and 6.1.0.175 are causing these issues!?
Next issue, if I save a security setting: lucee/admin/server.cfm?action=server.security I get this error page: Object Moved *Lucee 6.1.0.175-BETA Error (java.lang.NullPointerException)Message*java.lang.NullPointerException*Java Stacktrace*lucee.runtime.exp.NativeException: java.lang.NullPointerException at lucee.runtime.listener.ModernAppListener.info(ModernAppListener.java:436) at lucee.runtime.debug.DebuggerImpl.writeOut(DebuggerImpl.java:406) at lucee.runtime.listener.ModernAppListener.onDebug(ModernAppListener.java:403) ...
g
@harryk Can you try if lucee@6.0.2.34-SNAPSHOT fixes the issue?
or later releases like 6.0.2.41-RC
h
Sure, so you mean I should upgrade from 6.0.1.83 to 6.0.2.34 first? And not to the latest 6.1 snapshot?
g
Yes
h
@gunnar 6.0.2.34 works. Now I will try newer versions
👍 1
Starting with 6.1 the issues begin. Now I have this one:
Copy code
java.lang.UnsupportedClassVersionError: lucee/runtime/engine/CFMLEngineImpl has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 55.0
So is Lucee 6.1 not working with Java 11 anymore?
https://docs.lucee.org/guides/getting-started/system-requirements.html Lucee 6 will support Java 11 on release, with Java 8 unofficially supported as long as practical Full Java 17 support is planned for a later 6 point release, it currently mostly works, see https://luceeserver.atlassian.net/browse/LDEV-3807 So I guess it should work with Java 11, but it doesn't
Ok, for the moment I give up Lucee 6.1 versions. None of them works, with Java 11 or Java 16. Error with Java 16 and 6.1.0.175 *Lucee 6.1.0.175-BETA Error (java.lang.NullPointerException)Message*Cannot invoke "lucee.runtime.Page.getPageSource()" because "p" is null*Java Stacktrace*lucee.runtime.exp.NativeException: Cannot invoke "lucee.runtime.Page.getPageSource()" because "p" is null at lucee.runtime.listener.ModernAppListener.info(ModernAppListener.java:436) at lucee.runtime.debug.DebuggerImpl.writeOut(DebuggerImpl.java:406)
a
@micha FYI