You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Pradeep Agrawal (Jira)" <ji...@apache.org> on 2022/04/14 16:29:00 UTC
[jira] [Updated] (RANGER-3709) Fix NullPointerException in getSecureServicePoliciesIfUpdated call of ServiceRest
[ https://issues.apache.org/jira/browse/RANGER-3709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pradeep Agrawal updated RANGER-3709:
------------------------------------
Attachment: 0001-RANGER-3709-Fix-NullPointerException-in-getSecureSer.patch
> Fix NullPointerException in getSecureServicePoliciesIfUpdated call of ServiceRest
> ---------------------------------------------------------------------------------
>
> Key: RANGER-3709
> URL: https://issues.apache.org/jira/browse/RANGER-3709
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 3.0.0, 2.3.0
> Reporter: Pradeep Agrawal
> Assignee: Pradeep Agrawal
> Priority: Major
> Fix For: 3.0.0, 2.3.0
>
> Attachments: 0001-RANGER-3709-Fix-NullPointerException-in-getSecureSer.patch
>
>
> {code:java}
> java.lang.NullPointerException
> at org.apache.ranger.common.RangerServicePoliciesCache$ServicePoliciesWrapper.getLatestOrCached(RangerServicePoliciesCache.java:231)
> at org.apache.ranger.common.RangerServicePoliciesCache.getServicePolicies(RangerServicePoliciesCache.java:125) {code}
> After fix :
> {code:java}
> 2022-04-14 15:07:29,557 ERROR org.apache.ranger.common.RangerServicePoliciesCache: Could not get lock in [10] seconds, returning cached ServicePolicies and wait Queue Length:[0], servicePolicies version:[-1] {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)