Uploaded image for project: 'Spring Data JDBC'
  1. Spring Data JDBC
  2. DATAJDBC-378

IllegalArgumentException: JdbcValue must be not null at this point

    XMLWordPrintable

    Details

    • Type: Defect
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1 M4 (Moore)
    • Component/s: None
    • Labels:
      None
    • Environment:
      Latest Adopt OpenJDK 11

      Description

      I had received attached exception with message "java.lang.IllegalArgumentException: JdbcValue must be not null at this point. Please report this as a bug."

       

      This exception is caused by using "CrudRepository.findAllById" method with empty Iterable.

      Passing empty collection is for sure bug in my code, but I decided to report this behavior because of exception message.

      I think this message may be improved in case empty collection is passed to findAllById().

        Attachments

          Activity

            People

            Assignee:
            schauder Jens Schauder
            Reporter:
            nE0sIghT Yuri Konotopov
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: