flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-2868) Missing null check for operatorChain in StreamTask#invoke()
Date Mon, 19 Oct 2015 04:49:05 GMT
Ted Yu created FLINK-2868:
-----------------------------

             Summary: Missing null check for operatorChain in StreamTask#invoke()
                 Key: FLINK-2868
                 URL: https://issues.apache.org/jira/browse/FLINK-2868
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu


{code}
      // release the output resources. this method should never fail.
      if (operatorChain != null) {
        operatorChain.releaseOutputs();
      }
...
      if (!disposed) {
        disposeAllOperators();
      }
{code}
If operatorChain is null, disposeAllOperators() shouldn't be called where operatorChain.getAllOperators()
is called.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message