>Root cause follows.
>java.lang.NullPointerException
>at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:56)

I had this problem intermittently, and finally figured out its source and
how to quash it for good.
It has to do with when struts2 "cleans up" after itself to prevent memory
leaks (after which the ValueStack is gone, thus NPE).  Check the order of
your filter stack.  If you add a struts-cleanup filter you can determine
where in the stack processing struts2 does this.

http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/dispatcher/ActionContextCleanUp.html

-Dale
-- 
View this message in context: 
http://www.nabble.com/Re%3A-NPE-in-TagUtils.getStack-after-upgrading-to-2.0.1-tf2708127.html#a7724423
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to