Help needed in Struts 6.6.0 tagnames null issue in UIBean.java

Santu Dhua <[email protected]>
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <CAFhC532-Q0kv6cq_rkADmMKiciqfyhxLbesJhd+_S2T=z05bVg@mail.gmail.com>
Need expert opinion: I am using Struts 6.6.0.  While clicking a back button
in my application, I am getting below exception in UIBean.java. I have
added all dependencies needed for Struts 6.6.0, as mentioned in release
version notes. Can anyone help to understand what could cause this.? The
page works when first time load, then from next page if I come back, I am
getting below exception:

Caused by: java.lang.NullPointerException: Cannot invoke
"java.util.List.add(Object)" because "tags" is null
at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:804)
~[struts2-core-6.6.0.jar:6.6.0]

Please note that this exception is coming for all Struts version after
6.0.0. I am using jdk21, Tomcat9, Struts 6.6.0


*Thanks & Regards*
*Santu Dhua*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.