Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12306

JDBC stream source throws NPE when field in db is NULL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 7.2, 7.3
    • None
    • streaming expressions
    • None

    Description

      The JDBC stream source throws a NullPointerException when reading database values which equal null.
      This occurs because there is no null check when creating solr document from the query, resulting fields with a null value.

      Attachments

        Activity

          People

            Unassigned Unassigned
            moshebla mosh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: