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

JDBC stream source throws NPE when field in db is NULL

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            moshebla mosh

            Dates

              Created:
              Updated:

              Slack

                Issue deployment