You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/12/07 16:24:00 UTC

[jira] [Commented] (DRILL-8072) Fix NPE in HTTP Post Requests

    [ https://issues.apache.org/jira/browse/DRILL-8072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454735#comment-17454735 ] 

ASF GitHub Bot commented on DRILL-8072:
---------------------------------------

cgivre opened a new pull request #2397:
URL: https://github.com/apache/drill/pull/2397


   # [DRILL-8072](https://issues.apache.org/jira/browse/DRILL-8072): Fix NPE in HTTP Post Requests
   
   ## Description
   In the REST plugin, if the `postBody` parameter is `null`, the reader will throw a NPE.  This PR adds a null check to prevent this.  
   
   ## Documentation
   No user facing changes
   
   ## Testing
   Manually tested.  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Fix NPE in HTTP Post Requests
> -----------------------------
>
>                 Key: DRILL-8072
>                 URL: https://issues.apache.org/jira/browse/DRILL-8072
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - Other
>    Affects Versions: 1.19.0
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Major
>             Fix For: 1.20.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)