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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)