Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8616

Missing null check in OperatorChain.CopyingChainingOutput#pushToOperator masks ClassCastException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.4.0
    • None
    • API / DataStream
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cresny@gmail.com Cliff Resnick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: