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



Reply via email to