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

Joe Witt commented on NIFI-7702:
--------------------------------

This looks fine.  +1 will merge after the builds do their thing or I verify 
locally.

> Nifi web api crashes due to empty payload causing NullPointerException
> ----------------------------------------------------------------------
>
>                 Key: NIFI-7702
>                 URL: https://issues.apache.org/jira/browse/NIFI-7702
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Flow Versioning
>    Affects Versions: 1.11.4
>            Reporter: Karthikeyan Singaravelan
>            Priority: Major
>             Fix For: 1.12.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This is similar to below tickets where empty payload causes the server to 
> crash. The fix would be to ensure the request object is validated to be null. 
> I am assigning it to Jeyassri Balchandran who would like to make a first 
> contribution to Nifi.
>  
> https://issues.apache.org/jira/browse/NIFI-7691
> https://issues.apache.org/jira/browse/NIFI-7682
>  
> {code:java}
> curl -X PUT http://localhost:8080/nifi-api/controller-services/123/references
> ControllerServiceResource.java:467
> curl -X PUT http://localhost:8080/nifi-api/versions/active-requests/123
> VersionsResource.java:287
> curl -X PUT http://localhost:8000/nifi-api/versions/process-groups/123
> VersionsResource.java:790 {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to