-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Milestone
Description
BUG REPORT
- Please describe the issue you observed:
Our code analyses found the following potential NPE:
-
Return null to caller
return null; -
Function getYamlDataObject executes and returns
rocketmq/acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java
Line 134 in b4240d5
Map<String, Object> aclAccessConfigMap = AclUtils.getYamlDataObject(fileHome + File.separator + fileName, -
aclAccessConfigMap is passed as the this pointer to function java.util.Map.get (aclAccessConfigMap can be null)
rocketmq/acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java
Line 137 in b4240d5
List<Map<String, Object>> accounts = (List<Map<String, Object>>) aclAccessConfigMap.get(AclConstants.CONFIG_ACCOUNTS);
Commit: b4240d5
-
Please tell us about your environment:
N/A -
Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):