I am looking into duplicate session postings (circular nulls in TokenSessionStoreInterceptor by refresh post) in my app, and noticed this now in the tomcat log

2024-07-20 09:39:59,406 WARN org.apache.struts2.interceptor.TokenSessionStoreInterceptor TokenSessionStoreInterceptor:handleInvalidToken - testHandleInvalidToken

2024-07-20 09:39:59,535 WARN com.opensymphony.xwork2.ognl.OgnlValueStack OgnlValueStack:logLookupFailure - Caught an exception while evaluating expression '#request.yyyy' against value stack

java.lang.IllegalStateException: The request object has been recycled and is no longer associated with this facade

at org.apache.catalina.connector.RequestFacade.checkFacade(RequestFacade.java:856) ~[catalina.jar:9.0.91]

at org.apache.catalina.connector.RequestFacade.getAttribute(RequestFacade.java:245) ~[catalina.jar:9.0.91]

at javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83) ~[servlet-api.jar:4.0.FR]

at javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83) ~[servlet-api.jar:4.0.FR]

at javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83) ~[servlet-api.jar:4.0.FR]

at javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83) ~[servlet-api.jar:4.0.FR]

at org.apache.struts2.dispatcher.StrutsRequestWrapper.getAttribute(StrutsRequestWrapper.java:81) ~[classes/:?]

at org.apache.struts2.dispatcher.RequestMap.get(RequestMap.java:102) ~[classes/:?]

at ognl.MapPropertyAccessor.getProperty(MapPropertyAccessor.java:76) ~[ognl-3.3.5.jar:?]

at com.opensymphony.xwork2.ognl.accessor.XWorkMapPropertyAccessor.getProperty(XWorkMapPropertyAccessor.java:79) ~[classes/:?]

at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:3354) ~[ognl-3.3.5.jar:?]

at ognl.ASTProperty.getValueBody(ASTProperty.java:121) ~[ognl-3.3.5.jar:?]

at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) ~[ognl-3.3.5.jar:?]

at ognl.SimpleNode.getValue(SimpleNode.java:258) ~[ognl-3.3.5.jar:?]

at ognl.ASTChain.getValueBody(ASTChain.java:141) ~[ognl-3.3.5.jar:?]

at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) ~[ognl-3.3.5.jar:?]

at ognl.SimpleNode.getValue(SimpleNode.java:258) ~[ognl-3.3.5.jar:?]

at ognl.Ognl.getValue(Ognl.java:586) ~[ognl-3.3.5.jar:?]

at com.opensymphony.xwork2.ognl.OgnlUtil.ognlGet(OgnlUtil.java:596) ~[classes/:?]

at com.opensymphony.xwork2.ognl.OgnlUtil.getValue(OgnlUtil.java:576) ~[classes/:?]

at com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValue(OgnlValueStack.java:412) ~[classes/:?]

at com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValue(OgnlValueStack.java:346) [classes/:?]

at com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValueWhenExpressionIsNotNull(OgnlValueStack.java:333) [classes/:?]

at com.opensymphony.xwork2.ognl.OgnlValueStack.findValue(OgnlValueStack.java:313) [classes/:?]

at org.apache.struts2.components.Component.findValue(Component.java:302) [classes/:?]

at org.apache.struts2.components.Param.end(Param.java:126) [classes/:?]

at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:38) [classes/:?]

at org.apache.jsp.WEB_002dINF.jsps.tiles.footer_jsp._jspx_meth_s_005fparam_005f0(footer_jsp.java:228) [work/:?]

at org.apache.jsp.WEB_002dINF.jsps.tiles.footer_jsp._jspx_meth_s_005ftext_005f0(footer_jsp.java:190) [work/:?]

at org.apache.jsp.WEB_002dINF.jsps.tiles.footer_jsp._jspService(footer_jsp.java:149) [work/:?]

The footer.jsp

<s:text name="footer.productNameHtml"><s:param value="#request.yyyy" /><s:param value="#request.version" /><s:param value="#request.revision" /></s:text>

Are there any changes made on this version that would cause this?

On 20/07/2024 07:52, Lukasz Lenart wrote:
Hello,

This is another minor version of Struts 6.x series. Please take the
time and test the bits - any help is appreciated. Please report any
problems you will spot.

Here are the changes from the previous version:
https://github.com/apache/struts/releases/tag/STRUTS_6_6_0

Staging Maven repo
https://repository.apache.org/content/groups/staging/

Standalone artifacts
https://dist.apache.org/repos/dist/dev/struts/6.6.0/

Release notes
https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.6.0


Kind regards
--
Ɓukasz

---------------------------------------------------------------------
To unsubscribe, e-mail:dev-unsubscr...@struts.apache.org
For additional commands, e-mail:dev-h...@struts.apache.org

Reply via email to