Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74001104A3 for ; Sun, 22 Dec 2013 06:48:15 +0000 (UTC) Received: (qmail 73698 invoked by uid 500); 22 Dec 2013 06:48:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 73474 invoked by uid 500); 22 Dec 2013 06:47:58 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 73375 invoked by uid 99); 22 Dec 2013 06:47:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Dec 2013 06:47:53 +0000 Date: Sun, 22 Dec 2013 06:47:53 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10221) Region from coprocessor invocations can be null on failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)