You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Adam Holmberg (Jira)" <ji...@apache.org> on 2020/09/16 21:30:00 UTC

[jira] [Created] (CASSANDRA-16131) NPE in StreamingMessage type lookup

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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org