[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

Chesnay Schepler created FLINK-9942:

             Summary: 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

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