accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3767) Potential NPE in getActiveLogs
Date Thu, 30 Apr 2015 21:48:06 GMT
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)

Mime
View raw message