Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9942

Guard handlers against null fields in requests

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chesnay Chesnay Schepler
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment