NullPointerException in OutbountTcpConnection when encryption_options not in 
cassandra.yaml
-------------------------------------------------------------------------------------------

                 Key: CASSANDRA-3599
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3599
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.5
         Environment: Ubuntu Lucid 64-bit
            Reporter: Bryce Allen
            Priority: Minor


I setup a 3 node cluster in VirtualBox, and none of the nodes were seeing each 
other (nodetool -h localhost ring showed just the local node on each). The 
non-seed nodes had this in the log file:

AbstractCassandraDaemon.java (line 133) Fatal exception in thread 
Thread[WRITE-/192.168.33.101,5,main]
java.lang.NullPointerException
        at 
org.apache.cassandra.net.OutboundTcpConnectionPool.isEncryptedChannel(OutboundTcpConnectionPool.java:93)
        at 
org.apache.cassandra.net.OutboundTcpConnectionPool.newSocket(OutboundTcpConnectionPool.java:77)
        at 
org.apache.cassandra.net.OutboundTcpConnection.connect(OutboundTcpConnection.java:212)

Copying the encryption_options section from the default cassandra.yaml into my 
configs fixed this.

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

        

Reply via email to