[ https://issues.apache.org/jira/browse/HADOOP-11454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HADOOP-11454: ---------------------------- Resolution: Later Status: Resolved (was: Patch Available) > Potential null dereference in Configuration#loadProperty() > ---------------------------------------------------------- > > Key: HADOOP-11454 > URL: https://issues.apache.org/jira/browse/HADOOP-11454 > Project: Hadoop Common > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Labels: config > Attachments: hadoop-11454-001.patch > > > Here is related code: > {code} > 2581 properties.setProperty(attr, value); > 2582 updatingResource.put(attr, source); > 2583 } else if (!value.equals(properties.getProperty(attr))) { > {code} > The null check in the enclosing if statement is accompanied with > allowNullValueProperties, thus dereferencing value above may result in NPE. -- This message was sent by Atlassian JIRA (v6.3.4#6332)