Adam Holmberg created CASSANDRA-16131:
-----------------------------------------

             Summary: NPE in StreamingMessage type lookup
                 Key: CASSANDRA-16131
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16131
             Project: Cassandra
          Issue Type: Bug
            Reporter: Adam Holmberg


Found while investigating https://issues.apache.org/jira/browse/CASSANDRA-15965

{noformat}
java.lang.NullPointerException: null
        at 
org.apache.cassandra.streaming.messages.StreamMessage.deserialize(StreamMessage.java:51)
        at 
org.apache.cassandra.streaming.async.StreamingInboundHandler$StreamDeserializingTask.run(StreamingInboundHandler.java:172)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.lang.Thread.run(Thread.java:748)
{noformat}

There is a null in the zero.index of the type map. We can clean this up, handle 
invalid ids in a uniform manner, and add a test.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to