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

ExecutionVertex archiving can throw NPE with many previous attempts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.4
    • Runtime / Coordination
    • None

    Description

      I saw a NPE while archiving a ExecutionVertex:

      execution graph org.apache.flink.runtime.executiongraph.ExecutionGraph@c4e0722 for archiving.
      java.lang.NullPointerException: null
      	at org.apache.flink.runtime.executiongraph.ExecutionVertex.prepareForArchiving(ExecutionVertex.java:583)
      	at org.apache.flink.runtime.executiongraph.ExecutionJobVertex.prepareForArchiving(ExecutionJobVertex.java:439)
      	at org.apache.flink.runtime.executiongraph.ExecutionGraph.prepareForArchiving(ExecutionGraph.java:1042)
      ...
      

      I think this is due to the newly introduced EvictingBoundedList which returns a default element (null)) for evicted elements when iterating over it.

      This affects the backport to release-1.1 only.

      Attachments

        Issue Links

          Activity

            People

              uce Ufuk Celebi
              uce Ufuk Celebi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: