Ted Yu created HADOOP-11454: ------------------------------- Summary: 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
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)