[jira] [Created] (FLINK-3732) Potential null deference in ExecutionConfig#equals()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-3732) Potential null deference in ExecutionConfig#equals()

Shang Yuanchun (Jira)
Ted Yu created FLINK-3732:
-----------------------------

             Summary: Potential null deference in ExecutionConfig#equals()
                 Key: FLINK-3732
                 URL: https://issues.apache.org/jira/browse/FLINK-3732
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
        ((restartStrategyConfiguration == null && other.restartStrategyConfiguration == null) ||
        restartStrategyConfiguration.equals(other.restartStrategyConfiguration)) &&
{code}
If restartStrategyConfiguration is null but other.restartStrategyConfiguration is not null, the above would result in NPE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)