Re: Migration to 2.3.20 - Issue with UnknownHandler and ConventionPlugin

2014-12-19 Thread Thim Anneessens
: - the issue was with default implementation of UnknownHandler which was throwing NPE by default (throw null) - that's why everything was fine before 2.3.20, DefaultActionInvocation always got an exception when was calling UnknownHandlers - because of NPE it wasn't possible to have

Re: Migration to 2.3.20 - Issue with UnknownHandler and ConventionPlugin

2014-12-19 Thread Lukasz Lenart
Thanks Tim! Great that you was able to find the same solution as described here [1] - to put some more details here: - the issue was with default implementation of UnknownHandler which was throwing NPE by default (throw null) - that's why everything was fine before 2.3.20, DefaultActionInvoc

Migration to 2.3.20 - Issue with UnknownHandler and ConventionPlugin

2014-12-18 Thread Thim Anneessens
After a little fiddling we succeeded to migrate from 2.3.16 to 2.3.20. Everything seemed fine until we had an exception in one action and noticed that something had changed. Exception thrown from an action got lost. It did not reach the interceptor in charge of exception handling because...

Re: UnknownHandler

2008-05-11 Thread Jeromy Evans
Hi Kal, The UnknownHandler needs to be defined in struts.xml or struts-plugin.xml as a bean. See the struts-plugin.xml file included in the CodeBehind plugin for an example. Declaring the bean in struts.xml registers the implementation with the Struts 2 Container (an XWork Container). It is

UnknownHandler

2008-05-08 Thread kal stevens
I have been trying to implement an UnknownHandler, and I can not seem to find any documentation on how to integrate it into the framework. I am using spring for DependencyInjection, so I thought that I could just add a bean named unknownHandler, but that did not work. I could not find an example