Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3709

Fix NullPointerException in getSecureServicePoliciesIfUpdated call of ServiceRest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0, 2.3.0
    • 3.0.0, 2.3.0
    • Ranger
    • None

    Description

      java.lang.NullPointerException
      	at org.apache.ranger.common.RangerServicePoliciesCache$ServicePoliciesWrapper.getLatestOrCached(RangerServicePoliciesCache.java:231)
      	at org.apache.ranger.common.RangerServicePoliciesCache.getServicePolicies(RangerServicePoliciesCache.java:125) 

      After fix : 

      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] 

      Attachments

        Issue Links

          Activity

            People

              pradeep Pradeep Agrawal
              pradeep Pradeep Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: