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)

Reply via email to