Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.7.1
-
None
-
Reviewed
Description
Potential NPE from Configuration#loadProperty with allowNullValueProperties set.
The following code will cause NPE:
} else if (!value.equals(properties.getProperty(attr))) {
Because if allowNullValueProperties is true, value is null and finalParameters contains attr, NullPointerException will happen