[
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)