You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Tzu-Li (Gordon) Tai (Jira)" <ji...@apache.org> on 2021/03/03 07:05:00 UTC

[jira] [Created] (FLINK-21577) SimpleType.simpleTypeFrom(...) complains with "Collection is empty"

Tzu-Li (Gordon) Tai created FLINK-21577:
-------------------------------------------

             Summary: SimpleType.simpleTypeFrom(...) complains with "Collection is empty"
                 Key: FLINK-21577
                 URL: https://issues.apache.org/jira/browse/FLINK-21577
             Project: Flink
          Issue Type: Bug
          Components: Stateful Functions
            Reporter: Tzu-Li (Gordon) Tai
            Assignee: Tzu-Li (Gordon) Tai
             Fix For: statefun-3.0.0


This is caused by the {{EnumSet.copyOf}} method call at:
https://github.com/apache/flink-statefun/blob/master/statefun-sdk-java/src/main/java/org/apache/flink/statefun/sdk/java/types/SimpleType.java#L57

That expects the collection to be non-empty.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)