You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Tzu-Li (Gordon) Tai (JIRA)" <ji...@apache.org> on 2017/06/20 12:47:00 UTC

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

     [ https://issues.apache.org/jira/browse/FLINK-6921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tzu-Li (Gordon) Tai resolved FLINK-6921.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.1

Fixed for master via e520023ac768ac739537f7aa563f13aa208949ff.
Fixed for 1.3.1 via 5d544b99b4aa18c0ff6fdcffdeb42a12ece533bb.

> 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
>            Priority: Critical
>             Fix For: 1.3.1
>
>
> 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)