You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Cliff Resnick (JIRA)" <ji...@apache.org> on 2018/02/09 01:26:00 UTC

[jira] [Updated] (FLINK-8616) Missing null check in OperatorChain.copyingChainOutput#pushToOperator masks ClassCastException

     [ https://issues.apache.org/jira/browse/FLINK-8616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cliff Resnick updated FLINK-8616:
---------------------------------
    Summary: Missing null check in OperatorChain.copyingChainOutput#pushToOperator masks ClassCastException  (was: Missing null check in OperatorChain#pushToOperator masks ClassCastException)

> Missing null check in OperatorChain.copyingChainOutput#pushToOperator masks ClassCastException
> ----------------------------------------------------------------------------------------------
>
>                 Key: FLINK-8616
>                 URL: https://issues.apache.org/jira/browse/FLINK-8616
>             Project: Flink
>          Issue Type: Bug
>          Components: DataStream API
>    Affects Versions: 1.4.0
>            Reporter: Cliff Resnick
>            Priority: Major
>
> There is an attempt to enrich the exception with outputTag#getId, but outputTag is null, and a NullPointerException is thrown. Looking at the attempted message enrichment the code seems to assume a ClassCastException can only stem from SideOutput type mismatches. This may have been the norm before, but changes to classloader delegation in 1.4 have given rise to multiple ClassLoader conflicts (at least for us), and they all seem to end up here.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)