[ https://issues.apache.org/jira/browse/RANGER-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pradeep Agrawal resolved RANGER-2053.
-------------------------------------
Resolution: Cannot Reproduce
> Import Ranger Policy(ies) failing with NullPointerException
> -----------------------------------------------------------
>
> Key: RANGER-2053
> URL: https://issues.apache.org/jira/browse/RANGER-2053
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 1.1.0, 1.0.1
> Reporter: Anuja Leekha
> Assignee: Pradeep Agrawal
> Priority: Critical
> Fix For: 1.1.0, 1.0.1
>
>
> Trying to import policies through Ranger Admin UI fails with NPE.
> Error in logs:
> 2018-03-27 21:05:45,862 [http-bio-6080-exec-27] ERROR org.apache.ranger.rest.ServiceREST
(ServiceREST.java:2185) - Error while importing policy from file!!
> java.lang.NullPointerException
> at org.apache.ranger.common.RangerSearchUtil.getSearchFilter(RangerSearchUtil.java:48)
> at org.apache.ranger.rest.ServiceREST.getServicePoliciesByName(ServiceREST.java:2541)
> at org.apache.ranger.rest.ServiceREST.deletePoliciesProvidedInServiceMap(ServiceREST.java:2315)
> at org.apache.ranger.rest.ServiceREST.importPoliciesFromFile(ServiceREST.java:2092)
> at org.apache.ranger.rest.ServiceREST$$FastClassBySpringCGLIB$$92dab672.invoke(<generated>)
> at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
> at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
|