Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3599

NullPointerException in OutbountTcpConnection when encryption_options not in cassandra.yaml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • None
    • None
    • None
    • Ubuntu Lucid 64-bit

    • Low

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bda Bryce Allen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: