You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/12/21 04:00:09 UTC

[jira] [Created] (HBASE-10221) Values from coprocessor invocations can be null if they fail

Andrew Purtell created HBASE-10221:
--------------------------------------

             Summary: Values from coprocessor invocations can be null if they fail
                 Key: HBASE-10221
                 URL: https://issues.apache.org/jira/browse/HBASE-10221
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.98.0, 0.99.0
            Reporter: Andrew Purtell
            Assignee: Andrew Purtell
             Fix For: 0.98.0, 0.99.0


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.4#6159)