You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nicholas Jiang (Jira)" <ji...@apache.org> on 2020/06/22 11:24:00 UTC

[jira] [Commented] (FLINK-18407) NPE in SlotPoolImpl.maybeRemapOrphanedAllocation if no pending request is registered

    [ https://issues.apache.org/jira/browse/FLINK-18407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17141932#comment-17141932 ] 

Nicholas Jiang commented on FLINK-18407:
----------------------------------------

[~trohrmann], do you mean that get pending request according to requestIdOfAllocatedSlot maybe null? If the pending request is null, this would cause the NPE.

> NPE in SlotPoolImpl.maybeRemapOrphanedAllocation if no pending request is registered
> ------------------------------------------------------------------------------------
>
>                 Key: FLINK-18407
>                 URL: https://issues.apache.org/jira/browse/FLINK-18407
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.12.0
>            Reporter: Till Rohrmann
>            Priority: Critical
>             Fix For: 1.12.0
>
>
> The method {{SlotPoolImp.maybeRemapOrphanedAllocation}} can throw a NPE if no pending request is registered under a given {{AllocationID}} and if there is no connection established to the {{ResourceManager}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)