[
https://issues.apache.org/jira/browse/FLINK-5276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15728763#comment-15728763
]
ASF GitHub Bot commented on FLINK-5276:
---------------------------------------
Github user StefanRRichter commented on the issue:
https://github.com/apache/flink/pull/2957
LGTM +1
> 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: Ufuk Celebi
> Fix For: 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 affects the backport to release-1.1 only.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)