Description
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.