cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11272) NullPointerException (NPE) during bootstrap startup in StorageService.java
Date Tue, 10 May 2016 08:05:12 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-11272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Petrov updated CASSANDRA-11272:
------------------------------------
    Fix Version/s: 3.7
                   3.0.x
                   2.2.x
           Status: Patch Available  (was: Open)

>From what I can see we have a {{NullPointerException}} in the callback listener {{onFailure}},
which results into the {{SEVERE}} level error within executor itself. Unfortunately, this
does not really indicate what exactly happened during the bootstrap process. 

I've removed the cause fetch from all branches, which should surface the exception cause:

{code}
WARN  07:44:06 Warn Message
java.lang.RuntimeException: Exception Message
	at ...(ExceptionTest.java:44) [test/:na]

        ... stacktrace...

Caused by: java.lang.RuntimeException: Cause Message
	... 29 common frames omitted
{code}

It doesn't fix the "cause", although I guess it's the best I can do not being able to find
out what actually causes the bootstrap error.

|[2.2|https://github.com/ifesdjeen/cassandra/tree/11272-2.2]|[utest|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-11272-2.2-testall/]|[dtest|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-11272-2.2-dtest/]|
|[3.0|https://github.com/ifesdjeen/cassandra/tree/11272-3.0]|[utest|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-11272-3.0-testall/]|[dtest|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-11272-3.0-dtest/]|
|[trunk|https://github.com/ifesdjeen/cassandra/tree/11272-trunk]|[utest|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-11272-trunk-testall/]|[dtest|https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-11272-trunk-dtest/]|

> 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.7
>
>
> 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)

Mime
View raw message