[jira] [Created] (FLINK-2868) Missing null check for operatorChain in StreamTask#invoke()

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

[jira] [Created] (FLINK-2868) Missing null check for operatorChain in StreamTask#invoke()

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