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