You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2017/06/14 14:53:00 UTC

[jira] [Created] (FLINK-6921) EnumValueSerializer cannot properly handle appended enum values

Till Rohrmann created FLINK-6921:
------------------------------------

             Summary: EnumValueSerializer cannot properly handle appended enum values
                 Key: FLINK-6921
                 URL: https://issues.apache.org/jira/browse/FLINK-6921
             Project: Flink
          Issue Type: Bug
          Components: Type Serialization System
    Affects Versions: 1.3.1, 1.4.0
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann


The {{EnumValueSerializer}} fails with an {{ArrayIndexOutOfBoundsException}} if we try to ensure compatibility with an {{Enumeration}} which has added a field. The problem is that we don't check the array bounds of the array containing the enum names in {{ScalaEnumSerializerConfigSnapshot}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)