[ https://issues.apache.org/jira/browse/FLINK-7808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16201002#comment-16201002 ]
ASF GitHub Bot commented on FLINK-7808: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/4800 > JobDetails constructor should check length of tasksPerState array > ----------------------------------------------------------------- > > Key: FLINK-7808 > URL: https://issues.apache.org/jira/browse/FLINK-7808 > Project: Flink > Issue Type: Bug > Components: REST > Affects Versions: 1.4.0 > Reporter: Chesnay Schepler > Assignee: Chesnay Schepler > Priority: Minor > Fix For: 1.4.0 > > > The JobDetails constructor accepts an {{int[] tasksPerState}} argument, which > represents the number of tasks in each {{ExecutionState}}. There is no check > in place to verify that the array has the correct size, which the json > serializer assumes to be the case. -- This message was sent by Atlassian JIRA (v6.4.14#64029)