mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 14:40:00 +00:00
Fix NPE in custom @InitBinder resolver initialization
Issue: SPR-14869
This commit is contained in:
+1
-1
@@ -273,7 +273,7 @@ public class RequestMappingHandlerAdapter implements HandlerAdapter, BeanFactory
|
||||
resolvers.add(new ServerWebExchangeArgumentResolver());
|
||||
|
||||
// Custom resolvers
|
||||
if (getCustomArgumentResolvers() != null) {
|
||||
if (getCustomInitBinderArgumentResolvers() != null) {
|
||||
resolvers.addAll(getCustomInitBinderArgumentResolvers());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user