[Lucee] Fixes in the latest releases

Thanks a lot Micha for the fixes in Release 4.5.4.007 and 4.5.4.008 – good job!

Version 4.5.4.008
#954http://issues.lucee.org/browse/LDEV-954 cfhttp blocks for long running calls

Version 4.5.4.007
#914http://issues.lucee.org/browse/LDEV-914 sessionInvalidate() causes java.lang.ClassCastException
#918http://issues.lucee.org/browse/LDEV-918 J2EE Session not maintained in cfhttp requests
#947http://issues.lucee.org/browse/LDEV-947 cfsavecontent & cfinclude - java.util.ConcurrentModificationException

-Harry

The error for sessionInvalidate() is back in the latest stable patch
(4.5.4.017). When logging out of my application it return an error when
using sessionInvalidate. This was not an issue in the previous stable patch
(4.5.3.020). Now I get:

lucee.runtime.type.scope.JSession cannot be cast to
lucee.runtime.type.scope.storage.StorageScope

StackTrace:

lucee.runtime.type.scope.JSession cannot be cast to
lucee.runtime.type.scope.storage.StorageScope at
lucee.runtime.type.scope.ScopeContext.getCFSessionScope(ScopeContext.java:563):563
at
lucee.runtime.type.scope.ScopeContext.removeSessionScope(ScopeContext.java:577):577
at
lucee.runtime.type.scope.ScopeContext.invalidateUserScope(ScopeContext.java:964):964
at
lucee.runtime.PageContextImpl.invalidateUserScopes(PageContextImpl.java:1318):1318
at
lucee.runtime.functions.system.SessionInvalidate.call(SessionInvalidate.java:31):31
at
sysman4._app.app_uitloggen_verwerken_cfm$cf.call(/sysman4/_app/app_uitloggen_verwerken.cfm:31):31
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:954):954 at
lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:858):858 at
sysman4.inloggen.fbx_switch_cfm$cf.call(/sysman4/inloggen/fbx_switch.cfm:7):7
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:954):954 at
lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:858):858 at
sysman4.index_cfm$cf.call(/sysman4/index.cfm:72):72 at
lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:954):954 at
lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:906):906 at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:225):225
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:37):37
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2268):2268 at
lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2231):2231 at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456):456
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:47):47 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:729):729 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291):291
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239):239
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217):217
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106):106
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502):502
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142):142
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79):79
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88):88
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518):518
at
org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844):844
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673):673
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500):1500
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456):1456
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142):1142
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617):617
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61
at java.lang.Thread.run(Thread.java:745):745Op vrijdag 5 augustus 2016 09:57:29 UTC+2 schreef Harry Klein:

Thanks a lot Micha for the fixes in Release 4.5.4.007 and 4.5.4.008 – good
job!

Version 4.5.4.008

#954 http://issues.lucee.org/browse/LDEV-954 cfhttp blocks for long
running calls

Version 4.5.4.007

#914 http://issues.lucee.org/browse/LDEV-914 sessionInvalidate() causes
java.lang.ClassCastException

#918 http://issues.lucee.org/browse/LDEV-918 J2EE Session not
maintained in cfhttp requests

#947 http://issues.lucee.org/browse/LDEV-947 cfsavecontent & cfinclude

  • java.util.ConcurrentModificationException

-Harry