[ 
https://issues.apache.org/jira/browse/RANGER-5299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017311#comment-18017311
 ] 

Abhishek Kumar commented on RANGER-5299:
----------------------------------------

Thanks [~westmancoder98] for providing the patch, changes have been merged to 
master: 
https://github.com/apache/ranger/commit/a2f512608589d60cda534fbb92f0abbf14c26f93.
ranger-2.8 commit: 
https://github.com/apache/ranger/commit/ef3ae513174a7bed04acc8f84ed0903959c4210c

> 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.5.0, 2.6.0, 2.7.0
>            Reporter: Alexey
>            Priority: Major
>             Fix For: 3.0.0, 2.8.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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 auditHandler, 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)

Reply via email to