[
https://issues.apache.org/jira/browse/CASSANDRA-3887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207311#comment-13207311
]
Peter Schuller commented on CASSANDRA-3887:
-------------------------------------------
{code}
java.lang.AssertionError: No stage for message type null
at
org.apache.cassandra.net.MessagingService.receive(MessagingService.java:563)
at
org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:160)
at
org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:96)
{code}
I'm beginning to suspect this is related to schema messages because I'm now
having a node in a small 3 node cluster refusing to get the proper schema after
I nuked data and re-bootstrapped with replace, and now seeing the same with a
regular bootstrap (non-replace). Investigating.
> NPE on start-up due to missing stage
> -------------------------------------
>
> Key: CASSANDRA-3887
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3887
> Project: Cassandra
> Issue Type: Bug
> Reporter: Peter Schuller
> Assignee: Peter Schuller
> Priority: Minor
>
> On 1.1 (with our patches, but fairly sure they aren't involved):
> {code}
> INFO [main] 2012-02-10 17:57:26,220 StorageService.java (line 768) JOINING:
> waiting for ring and schema information
> ERROR [Thread-6] 2012-02-10 17:57:26,333 AbstractCassandraDaemon.java (line
> 139) Fatal exception in thread Thread[Thread-6,5,main]
> java.lang.NullPointerException
> at
> org.apache.cassandra.net.MessagingService.receive(MessagingService.java:564)
> at
> org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:160)
> at
> org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:96)
> ERROR [Thread-8] 2012-02-10 17:57:26,334 AbstractCassandraDaemon.java (line
> 139) Fatal exception in thread Thread[Thread-8,5,main]
> java.lang.NullPointerException
> at
> org.apache.cassandra.net.MessagingService.receive(MessagingService.java:564)
> at
> org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:160)
> at
> org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:96)
> {code}
> That NPE is after an assertion (not triggered due to lack of -ea). Race on
> start-up - getting messages before stages set up? (not investigating further
> right now)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira