[ https://issues.apache.org/jira/browse/HIVE-12673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajesh Balamohan updated HIVE-12673: ------------------------------------ Attachment: HIVE-12673.3.rebased.patch rebasing the patch. > Orcfiledump throws NPE when no files are available > -------------------------------------------------- > > Key: HIVE-12673 > URL: https://issues.apache.org/jira/browse/HIVE-12673 > Project: Hive > Issue Type: Bug > Reporter: Rajesh Balamohan > Assignee: Rajesh Balamohan > Attachments: HIVE-12673.1.patch, HIVE-12673.2.patch, > HIVE-12673.2.patch, HIVE-12673.3.rebased.patch > > > {noformat} > Exception in thread "main" java.lang.NullPointerException > at org.codehaus.jettison.json.JSONTokener.more(JSONTokener.java:106) > at org.codehaus.jettison.json.JSONTokener.next(JSONTokener.java:116) > at > org.codehaus.jettison.json.JSONTokener.nextClean(JSONTokener.java:170) > at org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:185) > at org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:293) > at > org.apache.hadoop.hive.ql.io.orc.JsonFileDump.printJsonMetaData(JsonFileDump.java:197) > at org.apache.hadoop.hive.ql.io.orc.FileDump.main(FileDump.java:107) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at org.apache.hadoop.util.RunJar.run(RunJar.java:221) > at org.apache.hadoop.util.RunJar.main(RunJar.java:136) > {noformat} > hive --orcfiledump -j -p /tmp/orc/inventory/inv_date_sk=2452654 -- This message was sent by Atlassian JIRA (v6.3.4#6332)