ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Agrawal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RANGER-2053) Import Ranger Policy(ies) failing with NullPointerException
Date Thu, 29 Mar 2018 18:05:00 GMT

    [ https://issues.apache.org/jira/browse/RANGER-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16419506#comment-16419506
] 

Pradeep Agrawal commented on RANGER-2053:
-----------------------------------------

This issue should be resolved after the commit of RANGER-2016, I will test again for the given
case and provide updates. 

> 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)

Mime
View raw message