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

ExecutionVertex archiving can throw NPE with many previous attempts

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

          Activity

            People

            • Assignee:
              uce Ufuk Celebi
              Reporter:
              uce Ufuk Celebi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment