You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2016/07/26 16:41:20 UTC
[jira] [Closed] (FLINK-4258) Potential null pointer dereference in
SavepointCoordinator#onFullyAcknowledgedCheckpoint
[ https://issues.apache.org/jira/browse/FLINK-4258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maximilian Michels closed FLINK-4258.
-------------------------------------
Resolution: Fixed
Assignee: Maximilian Michels
Fix Version/s: 1.1.0
Thanks for reporting! Fixed with 884d3e2a4a894c79676a1b2cf0b1bd075550bbbd
> Potential null pointer dereference in SavepointCoordinator#onFullyAcknowledgedCheckpoint
> ----------------------------------------------------------------------------------------
>
> Key: FLINK-4258
> URL: https://issues.apache.org/jira/browse/FLINK-4258
> Project: Flink
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Maximilian Michels
> Fix For: 1.1.0
>
>
> {code}
> if (promise == null) {
> LOG.info("Pending savepoint with ID " + checkpoint.getCheckpointID() + " has been " +
> "removed before receiving acknowledgment.");
> }
> // Sanity check
> if (promise.isCompleted()) {
> throw new IllegalStateException("Savepoint promise completed");
> {code}
> Looks like a return statement is missing in the first if block above.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)