[ 
https://issues.apache.org/jira/browse/CASSANDRA-16131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-16131:
-----------------------------------------
    Status: Ready to Commit  (was: Review In Progress)

> NPE in StreamingMessage type lookup
> -----------------------------------
>
>                 Key: CASSANDRA-16131
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16131
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Consistency/Streaming
>            Reporter: Adam Holmberg
>            Assignee: Adam Holmberg
>            Priority: Normal
>             Fix For: 4.0-beta3
>
>
> 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