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

NPE in net.OutputTcpConnection when tracing is enabled

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Normal

    Description

      I get multiple NullPointerException when trying to trace INSERT statements.

      To reproduce:

      $ ccm create -v git:trunk
      $ ccm populate -n 3
      $ ccm start
      $ ccm node1 cqlsh < 5668_npe_ddl.cql
      $ ccm node1 cqlsh < 5668_npe_insert.cql
      

      And see many exceptions like this in the logs of node1:

      ERROR [WRITE-/127.0.0.3] 2013-06-19 14:54:35,885 OutboundTcpConnection.java (line 197) error writing to /127.0.0.3
      java.lang.NullPointerException
              at org.apache.cassandra.net.OutboundTcpConnection.writeConnected(OutboundTcpConnection.java:182)
              at org.apache.cassandra.net.OutboundTcpConnection.run(OutboundTcpConnection.java:144)
      

      This is similar to CASSANDRA-5658 and is the reason that npe_ddl and npe_insert are separate files.

      Attachments

        1. system.log
          41 kB
          Ryan McGuire
        2. 5668-logs.tar.gz
          8 kB
          Ryan McGuire
        3. 5668-followup.txt
          3 kB
          Jonathan Ellis
        4. 5668-assert-2.txt
          1 kB
          Jonathan Ellis
        5. 5668-assert.txt
          0.9 kB
          Jonathan Ellis
        6. 5668.txt
          22 kB
          Jonathan Ellis
        7. 5668_npe_insert.cql
          1 kB
          Ryan McGuire
        8. 5668_npe_ddl.cql
          0.1 kB
          Ryan McGuire

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jbellis Jonathan Ellis Assign to me
            enigmacurry Ryan McGuire
            Jonathan Ellis
            Sylvain Lebresne
            Ryan McGuire Ryan McGuire
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Issue deployment