[ 
https://issues.apache.org/jira/browse/CASSANDRA-11272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293923#comment-15293923
 ] 

Joel Knighton commented on CASSANDRA-11272:
-------------------------------------------

+1. Note to committer: patch is at the end of 
[ifesdjeen/11272-2.2|https://github.com/ifesdjeen/cassandra/tree/11272-2.2]. It 
should apply cleanly on 2.2 and merge cleanly into 3.0/3.7/trunk.

Although this just fixes the logging NPE from some other issue, we should close 
this after commit. Once this is committed, logging output will be fixed, and 
there will be nothing to lead a new reporter here.

> NullPointerException (NPE) during bootstrap startup in StorageService.java
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-11272
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11272
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Lifecycle
>         Environment: debian jesse up to date
>            Reporter: Jason Kania
>            Assignee: Alex Petrov
>             Fix For: 2.2.x, 3.0.x, 3.x
>
>
> After bootstrapping fails due to stream closed error, the following error 
> results:
> {code}
> Feb 27, 2016 8:06:38 PM com.google.common.util.concurrent.ExecutionList 
> executeListener
> SEVERE: RuntimeException while executing runnable 
> com.google.common.util.concurrent.Futures$6@3d61813b with executor INSTANCE
> java.lang.NullPointerException
>         at 
> org.apache.cassandra.service.StorageService$2.onFailure(StorageService.java:1284)
>         at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)
>         at 
> com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
>         at 
> com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
>         at 
> com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
>         at 
> com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:202)
>         at 
> org.apache.cassandra.streaming.StreamResultFuture.maybeComplete(StreamResultFuture.java:210)
>         at 
> org.apache.cassandra.streaming.StreamResultFuture.handleSessionComplete(StreamResultFuture.java:186)
>         at 
> org.apache.cassandra.streaming.StreamSession.closeSession(StreamSession.java:430)
>         at 
> org.apache.cassandra.streaming.StreamSession.onError(StreamSession.java:525)
>         at 
> org.apache.cassandra.streaming.StreamSession.doRetry(StreamSession.java:645)
>         at 
> org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:70)
>         at 
> org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:39)
>         at 
> org.apache.cassandra.streaming.messages.StreamMessage.deserialize(StreamMessage.java:59)
>         at 
> org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:261)
>         at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to