ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhay Kulkarni (Jira)" <j...@apache.org>
Subject [jira] [Created] (RANGER-3291) NPE in BasePlugin if the first policy download contains no policies and no policy-deltas
Date Thu, 20 May 2021 20:16:00 GMT
Abhay Kulkarni created RANGER-3291:
--------------------------------------

             Summary: NPE in BasePlugin if the first policy download contains no policies
and no policy-deltas
                 Key: RANGER-3291
                 URL: https://issues.apache.org/jira/browse/RANGER-3291
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Abhay Kulkarni
            Assignee: Abhay Kulkarni


This issue is seen only if incremental policy downloads are enabled. If the first ever policy
download request made by the service returns no policies or policy-deltas (because ranger
repository does not contain any policies), then the policy-engine's value remains null. This
causes any subsequent incremental downloads to fail with NPE.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message