[ https://issues.apache.org/jira/browse/FLINK-6182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15940172#comment-15940172 ]
ASF GitHub Bot commented on FLINK-6182: --------------------------------------- GitHub user uce opened a pull request: https://github.com/apache/flink/pull/3606 [FLINK-6182] Fix possible NPE in SourceStreamTask A user ran into this and reported confusing NPEs in the logs. This could only happen if a source task is cancelled before it was invoked. You can merge this pull request into a Git repository by running: $ git pull https://github.com/uce/flink 6182-npe_source Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3606.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3606 ---- commit b61ee091e843571e546146095842a0bf049a8910 Author: Ufuk Celebi <u...@apache.org> Date: 2017-03-24T11:24:19Z [FLINK-6182] Fix possible NPE in SourceStreamTask ---- > Fix possible NPE in SourceStreamTask > ------------------------------------ > > Key: FLINK-6182 > URL: https://issues.apache.org/jira/browse/FLINK-6182 > Project: Flink > Issue Type: Bug > Components: Local Runtime > Reporter: Ufuk Celebi > Priority: Minor > > If SourceStreamTask is cancelled before being invoked, `headOperator` is not > set yet, which leads to an NPE. This is not critical but leads to noisy logs. -- This message was sent by Atlassian JIRA (v6.3.15#6346)