You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/07/27 10:39:00 UTC

[jira] [Closed] (FLINK-9942) Guard handlers against null fields in requests

     [ https://issues.apache.org/jira/browse/FLINK-9942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-9942.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0
                   1.5.3

master: 22b9a8d785b753fd6ae7ee705ed7f5ac25f57a24
1.6: 8200b61711c0c2887b18e67f2d13f07c34092d4e
1.5: ee483b0a0d1807fc06ceb5bbfd9fd2fa8b2d1480

> Guard handlers against null fields in requests
> ----------------------------------------------
>
>                 Key: FLINK-9942
>                 URL: https://issues.apache.org/jira/browse/FLINK-9942
>             Project: Flink
>          Issue Type: Improvement
>          Components: REST
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.3, 1.6.0
>
>
> In FLINK-8233 the {{ObjectMapper}} used for the REST API was modified to not fail on missing creator properties. This means that any field for any request may be null.
> Since fields not being null was an assumption that handlers were previously built on, we now have to scan every implementation to ensure they can't fail with an NPE.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)