GitHub user NicoK opened a pull request: https://github.com/apache/flink/pull/3172
[FLINK-5559] let KvStateRequestSerializer#deserializeKeyAndNamespace() throw a proper IOException This adds the hint that a deserialisation failure probably results from a `"mismatch in the key/namespace serializers used by the KvState instance and this access"` to all thrown exceptions and throws proper `IOException` instances instead of `IllegalArgumentException`. The new unit tests require #3171 to be accepted first on which this PR is also based. You can merge this pull request into a Git repository by running: $ git pull https://github.com/NicoK/flink flink-5559 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3172.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 #3172 ---- ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---