Thanks for reporting - I believe this should fix the issue https://github.com/apache/struts/pull/1209
On Mon, Feb 3, 2025 at 10:19 PM <michael.hinten...@silbergrau.com> wrote: > > Hello, > > it will happen, if you have an include tag before a closing tag - because the > release method of the PageContext will set the members like request to null. > > <s:form> > <jsp:include page="/tiles/default/confirmation.jsp" /> > </s:form> > > best regards > > -----michael.hinten...@silbergrau.com schrieb: ----- > An: lukaszlen...@apache.org > Von: michael.hinten...@silbergrau.com > Datum: 03.02.2025 11:31 > Kopie: "Struts Developers List" <dev@struts.apache.org> > Betreff: Antwort: [TEST] Apache Struts 6.7.1 test build is ready > > Hello Lukasz, > > the new lookup against attributeMap can lead to an NPE. > > > java.lang.NullPointerException: Cannot invoke > "javax.servlet.ServletRequest.getAttribute(String)" because "this.request" is > null > at > org.apache.jasper.runtime.PageContextImpl.findAttribute(PageContextImpl.java:341) > ~[jasper.jar:9.0.96] > at > org.apache.struts2.dispatcher.AttributeMap.get(AttributeMap.java:102) > ~[struts2-core-6.7.1.jar:6.7.1] > at org.apache.struts2.components.UIBean.getTheme(UIBean.java:646) > ~[struts2-core-6.7.1.jar:6.7.1] > at > org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:663) > ~[struts2-core-6.7.1.jar:6.7.1] > at org.apache.struts2.components.UIBean.end(UIBean.java:558) > ~[struts2-core-6.7.1.jar:6.7.1] > at > org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:38) > ~[struts2-core-6.7.1.jar:6.7.1] > > > https://github.com/apache/struts/pull/1193/files > > best regrads > > -----"Lukasz Lenart" <lukaszlen...@apache.org> schrieb: ----- > An: "Struts Developers List" <dev@struts.apache.org> > Von: "Lukasz Lenart" <lukaszlen...@apache.org> > Datum: 02.02.2025 10:33 > Betreff: [TEST] Apache Struts 6.7.1 test build is ready > > Hello, > > This is a patch release of Struts 6.x.x which contains only > non-breaking changes. > 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_7_1 > > Staging Maven repo > https://repository.apache.org/content/groups/staging/ > > Standalone artifacts > https://dist.apache.org/repos/dist/dev/struts/6.7.1/ > > Release notes > https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.7.1 > > > Kind regards > -- > Łukasz > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org