Closed
Description
Impacted Version: spring-webmvc-6.0.4
Previously
DefaultHandlerExceptionResolver::doResolveException(HttpServletRequest request, HttpServletResponse response, @Nullable Object handler, Exception ex)
would return the ModelAndView when it was resolved from one of the specific methods (like handleHttpRequestMethodNotSupported)
Starting with 6, this method now sets a local variable of the ModelAndView and then does NOT return it. It ALWAYS returns null. in these cases.