@RequestParam
throws java.lang.NullPointerException: The mapper returned a null value.
[SPR-17050]
#21588
Milestone
Kamil Bar opened SPR-17050 and commented
The reactive controller method with request parameter fails with
and returns HTTP 500 instead of the HTTP 400 with some conversion error message when called with empty parameter value, i.e.
or
I've pushed sample project using spring-boot
2.0.3.RELEASE
with failing JUnit 5 tests for integer and boolean types of parameter and one successful test with string type parameter.I've posted this bug also on spring-boot issue tracker spring-projects/spring-boot#13786 but was redirected here.
Affects: 5.0.7
Reference URL: https://github.com/NeveHanter/spring_boot_request_param_bug
3 votes, 3 watchers
The text was updated successfully, but these errors were encountered: