You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/07/22 20:09:20 UTC
[jira] [Created] (FLINK-4258) Potential null pointer dereference in
SavepointCoordinator#onFullyAcknowledgedCheckpoint
Ted Yu created FLINK-4258:
-----------------------------
Summary: 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
{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)