You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Mallika Gogoi (Jira)" <ji...@apache.org> on 2021/11/12 11:04:00 UTC
[jira] [Commented] (RANGER-3432) Null Dereference in
RangerServiceKafka.java
[ https://issues.apache.org/jira/browse/RANGER-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17442684#comment-17442684 ]
Mallika Gogoi commented on RANGER-3432:
---------------------------------------
After analysing we found that there is this method which needs to be addressed/ checked. We analysed and tried/ checked all possible scenarios which might leads to NullPointerException. Details are as follows .
[lookupResource(ResourceLookupContext context)|https://github.com/apache/ranger/blob/master/plugin-kafka/src/main/java/org/apache/ranger/services/kafka/RangerServiceKafka.java#L80]
test case1: for variable context = null and ret = null
test case2: for variable context = null and ret = not null
test case3: for variable context = not null and ret = null
test case4: for variable context = not null and ret = not null
Since we are not able to reproduce/ come-up with a scenario which leads to NullPointerException, we conclude no action required on this task.
CC [~mehul]
> Null Dereference in RangerServiceKafka.java
> -------------------------------------------
>
> Key: RANGER-3432
> URL: https://issues.apache.org/jira/browse/RANGER-3432
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Reporter: Abhishek Kumar
> Assignee: Mallika Gogoi
> Priority: Minor
>
> Null Dereference in RangerServiceKafka.java at line 95.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)