GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/6307
[FLINK-9805][rest] Catch JsonProcessingException in RestClient
## What is the purpose of the change
With this PR `RestClient#readRawResponse` catches all JSON-related
exceptions. The exact circumstances where a `non-JsonParseException` is thrown
isn't clearly defined, but one case when it can occur is when the input is
empty.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 9805
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/6307.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6307
----
----
---