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:17:14 UTC

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

Cliff Resnick created FLINK-8616:
------------------------------------

             Summary: Missing null check in OperatorChain#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


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)