[
https://issues.apache.org/jira/browse/RANGER-3291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramesh Mani updated RANGER-3291:
--------------------------------
Fix Version/s: 2.2.0
3.0.0
> 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
> Priority: Major
> Fix For: 3.0.0, 2.2.0
>
>
> 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)