Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 920841874E for ; Thu, 30 Apr 2015 21:48:06 +0000 (UTC) Received: (qmail 73044 invoked by uid 500); 30 Apr 2015 21:48:06 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 73007 invoked by uid 500); 30 Apr 2015 21:48:06 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 72996 invoked by uid 99); 30 Apr 2015 21:48:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 21:48:06 +0000 Date: Thu, 30 Apr 2015 21:48:06 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ACCUMULO-3767) Potential NPE in getActiveLogs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Josh Elser created ACCUMULO-3767: ------------------------------------ Summary: Potential NPE in getActiveLogs Key: ACCUMULO-3767 URL: https://issues.apache.org/jira/browse/ACCUMULO-3767 Project: Accumulo Issue Type: Bug Components: tserver Reporter: Josh Elser Assignee: Josh Elser Priority: Blocker Fix For: 1.7.0 {noformat} null java.lang.NullPointerException at org.apache.accumulo.tserver.log.TabletServerLogger.getLogFile(TabletServerLogger.java:186) at org.apache.accumulo.tserver.TabletServer$ThriftClientHandler.getActiveLogs(TabletServer.java:1718) 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.accumulo.core.trace.wrappers.RpcServerInvocationHandler.invoke(RpcServerInvocationHandler.java:46) at org.apache.accumulo.server.rpc.RpcWrapper$1.invoke(RpcWrapper.java:47) at com.sun.proxy.$Proxy20.getActiveLogs(Unknown Source) at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getActiveLogs.getResult(TabletClientService.java:2930) at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getActiveLogs.getResult(TabletClientService.java:2915) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at org.apache.accumulo.server.rpc.TimedProcessor.process(TimedProcessor.java:63) at org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:516) at org.apache.accumulo.server.rpc.CustomNonBlockingServer$1.run(CustomNonBlockingServer.java:78) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35) at java.lang.Thread.run(Thread.java:745) {noformat} If the tserver doesn't have a currentLog yet, this will throw an NPE. -- This message was sent by Atlassian JIRA (v6.3.4#6332)