Alexey created RANGER-5299: ------------------------------ Summary: Fixing null pointer exception in kafka plugin Key: RANGER-5299 URL: https://issues.apache.org/jira/browse/RANGER-5299 Project: Ranger Issue Type: Bug Components: Ranger Affects Versions: 2.7.0 Reporter: Alexey Fix For: 2.8.0
When integrating Kafka 3.7.0, 3.9.1, and possibly 3.1+ after calling IsAccessAllowed [https://github.com/apache/ranger/blob/release-ranger-2.7.0/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java#L298] on AuditNandler, a null pointer exception error occurs [https://github.com/apache/ranger/blob/release-ranger-2.7.0/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java#L303] Commit for fix https://github.com/apache/ranger/pull/645 Please figure it out and accept the fix or change the behavior to remove the error -- This message was sent by Atlassian Jira (v8.20.10#820010)