flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cliff Resnick (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-8616) Missing null check in OperatorChain#pushToOperator masks ClassCastException
Date Fri, 09 Feb 2018 01:17:14 GMT
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)

Mime
View raw message