FlatFileItemReaderBuilder
reports error "Only one LineTokenizer option may be configured" when none are.
#3688
Labels
has: backports
Legacy label from JIRA. Superseded by "for: backport-to-x.x.x"
in: infrastructure
status: first-timers-only
Issues that we would like first-timers only to work on
type: bug
Milestone
At line 472 of the
FlatFileItemReaderBuilder
it validates that not multipleLineTokenizers
implementations have been configured. However, if the user has not configured one (validatorValue == 0
on that line), they get the same message implying that multiple have been configured. This error message should not be thrown ifvalidatorValue == 0
. The case of noLineTokenizer
being configured is already handled at line 487 of that class anyways.The text was updated successfully, but these errors were encountered: