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

ASF subversion and git services commented on NIFI-7702:
-------------------------------------------------------

Commit 24d4ad348a251da88ffeffb2cc21640cd9c868cc in nifi's branch 
refs/heads/main from shreeju
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=24d4ad3 ]

NIFI-7702 This closes #4447. validate requestentity not null

Signed-off-by: Joe Witt <[email protected]>


> 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: 40m
>  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