Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-8072

Fix NPE in HTTP Post Requests

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.19.0
    • 1.20.0
    • Storage - Other
    • None

    Description

      There was a minor bug in the HTTP Storage Plugin with POST requests.  If the `postBody` configuration parameter is null, the plugin throws an NPE. 

      This PR adds a null check which prevents the NPE.

      Attachments

        Activity

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

          People

            cgivre Charles Givre
            cgivre Charles Givre
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment