Pradeep Agrawal created RANGER-3709: ---------------------------------------
Summary: 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 Fix For: 3.0.0, 2.3.0 {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)