You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2016/12/07 13:01:58 UTC

[jira] [Created] (FLINK-5276) ExecutionVertex archiving can throw NPE with many previous attempts

Ufuk Celebi created FLINK-5276:
----------------------------------

             Summary: ExecutionVertex archiving can throw NPE with many previous attempts
                 Key: FLINK-5276
                 URL: https://issues.apache.org/jira/browse/FLINK-5276
             Project: Flink
          Issue Type: Bug
          Components: JobManager
            Reporter: Ufuk Celebi
            Assignee: Stefan Richter
             Fix For: 1.2.0, 1.1.4


I saw a NPE while archiving a ExecutionVertex:
{code}
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)
...
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)