[ https://issues.apache.org/jira/browse/HBASE-10221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell updated HBASE-10221: ----------------------------------- Summary: Region from coprocessor invocations can be null on failure (was: Results from coprocessor invocations can be null if they fail) > Region from coprocessor invocations can be null on failure > ---------------------------------------------------------- > > Key: HBASE-10221 > URL: https://issues.apache.org/jira/browse/HBASE-10221 > Project: HBase > Issue Type: Bug > Affects Versions: 0.98.0, 0.96.2, 0.99.0 > Reporter: Andrew Purtell > Assignee: Andrew Purtell > Fix For: 0.98.0, 0.96.2, 0.99.0 > > Attachments: 10221-v2.patch, 10221.patch > > > In a visibility controller unit test, we fail a VisibilityClient.getAuths > call with an AccessDeniedException, leading to a NPE in the client: > {noformat} > Caused by: java.lang.NullPointerException > at org.apache.hadoop.hbase.util.Bytes.compareTo(Bytes.java:1017) > at > org.apache.hadoop.hbase.util.Bytes$ByteArrayComparator.compare(Bytes.java:151) > at > org.apache.hadoop.hbase.util.Bytes$ByteArrayComparator.compare(Bytes.java:140) > at java.util.TreeMap.compare(TreeMap.java:1188) > at java.util.TreeMap.put(TreeMap.java:531) > at java.util.Collections$SynchronizedMap.put(Collections.java:2041) > at org.apache.hadoop.hbase.client.HTable$15.update(HTable.java:1486) > at org.apache.hadoop.hbase.client.HTable$16.call(HTable.java:1515) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)