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

Chris Riccomini updated SAMZA-57:
---------------------------------

    Attachment: SAMZA-57.0.patch

Attaching patch.

https://reviews.apache.org/r/14634/diff/raw/

Tests pass.

> Fix potential NPE in SerializedKeyValueStore
> --------------------------------------------
>
>                 Key: SAMZA-57
>                 URL: https://issues.apache.org/jira/browse/SAMZA-57
>             Project: Samza
>          Issue Type: Bug
>          Components: container
>    Affects Versions: 0.6.0
>            Reporter: Chris Riccomini
>            Assignee: Chris Riccomini
>             Fix For: 0.7.0
>
>         Attachments: SAMZA-57.0.patch
>
>
> The KV store occasionally triggers an NPE when deleting values. This is a 
> snippet of the stack trace:
> {noformat}
> java.lang.NullPointerException
>       at scala.collection.mutable.ArrayOps$ofByte.length(ArrayOps.scala:127)
>       at scala.collection.SeqLike$class.size(SeqLike.scala:100)
>       at scala.collection.mutable.ArrayOps.size(ArrayOps.scala:38)
>       at 
> org.apache.samza.storage.kv.SerializedKeyValueStore.putAll(SerializedKeyValueStore.scala:66)
> ....
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to