Deepak Sharma created RANGER-1315:
-------------------------------------
Summary: [export/import] if input file content is not valid for
import then it does not give proper error, it gives null pointer exception in
logs
Key: RANGER-1315
URL: https://issues.apache.org/jira/browse/RANGER-1315
Project: Ranger
Issue Type: Bug
Components: Ranger
Affects Versions: 0.7.0
Reporter: Deepak Sharma
Fix For: 0.7.0
1) create an input file for importing
2) create some invalid entry ( for ex: miss the service name attribute or some
other essential attribute)
3) upload the file and import it
ER: proper error should be thrown, saying content of the file is not valid or
some thing similar
AR: Null pointer exception is thrown.
2017-01-16 17:03:17,665 [http-bio-6080-exec-54] ERROR
org.apache.ranger.rest.ServiceREST (ServiceREST.java:1885) - Error
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)