You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NullPointerException
at org.apache.rocketmq.acl.plain.PlainPermissionManager.validate(PlainPermissionManager.java:646)
at org.apache.rocketmq.acl.plain.PlainAccessValidator.validate(PlainAccessValidator.java:141)
at org.apache.rocketmq.acl.plain.PlainAccessValidatorTest.testValidateAfterUpdateAccessConfig(PlainAccessValidatorTest.java:942)
Please tell us about your environment:
Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
after update acl, the file watcher will call load() function, the plainAccessResourceMap will not put new acl because the condition this.accessKeyTable.get(plainAccessResource.getAccessKey()) is not null
if (this.accessKeyTable.get(plainAccessResource.getAccessKey()) == null) {
plainAccessResourceMap.put(plainAccessResource.getAccessKey(), plainAccessResource);
this.accessKeyTable.put(plainAccessResource.getAccessKey(), aclFilePath);
}
The text was updated successfully, but these errors were encountered:
BUG REPORT
What did you expect to see?
What did you see instead?
see the error:
Please tell us about your environment:
Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
after update acl, the file watcher will call load() function, the plainAccessResourceMap will not put new acl because the condition
this.accessKeyTable.get(plainAccessResource.getAccessKey())
is not nullThe text was updated successfully, but these errors were encountered: