You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exceptions thrown from a controller due to an ActionRequest are not handled via the AnnotationMethodHandlerExceptionResolver.
This seems to be because the 'handler' argument is never passed to the resolveException method.
I changed org.springframework.web.portlet.DispatcherPortlet.doRenderService(RenderRequest, RenderResponse) to call getHandler()
before the processing of the ACTION_EXCEPTION_RENDER_PARAMETER and this seemed to fix the problem (though I'm not sure of any other ramifications of this change).