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

ExecutionVertex archiving can throw NPE with many previous attempts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.4
    • Component/s: JobManager
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: