Do you have a custom stack interceptor? If the fields are not
populated in the action, then the params interceptor is not getting
applied, it is hard to say without more details.

musachy

On Thu, May 14, 2009 at 1:30 PM, Jim Collings <jlistn...@gmail.com> wrote:
> I have an action with "execute" in the superclass (ActionSupport) being
> called by one activity and another method of the same Action called
> "doSomething" being called by ! notation in a form submit.
>
> I've noticed that when I annotate the "doSomething" method with:
>
> @Action(results = {...@result(name = "success", location = "somewhere-else",
> type = "chain")})
>
> What happens is that I start getting NPE's in the execute method because the
> properties of the Action have not been set.
>
> Is this a Bug?  Am I not annotating correctly? Anybody got ideas regarding
> this?
>
>
> Jim C.
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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

Reply via email to