When an parameter with empty value is provided, DefaultJobParametersConverter
fails with not user-friendly message.
#4622
Labels
status: duplicate
Issues that are duplicates of other issues
Please do a quick search on Github issues first, there might be already a duplicate issue for the one you are about to create.
If the bug is trivial, just go ahead and create the issue. Otherwise, please take a few moments and fill in the following sections:
Bug description
If the job parameter given like
org.springframework.batch.core.converter.DefaultJobParametersConverter#parseValue
fails with ArrayIndexOutOfBoundsException.Environment
Spring Batch 5.1.0
Steps to reproduce
pass args to the runner like
Expected behavior
If the intention is not to allow empty values, the error message should be more user-friendly.
If not, the system should create and bind a JobParameter even for empty values.
Minimal Complete Reproducible example
replacing with attachment of stacktrace
The text was updated successfully, but these errors were encountered: