You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Damian Guy (JIRA)" <ji...@apache.org> on 2016/04/20 08:54:25 UTC

[jira] [Created] (KAFKA-3589) KTable.count(final KeyValueMapper selector, String name) throw NPE

Damian Guy created KAFKA-3589:
---------------------------------

             Summary: KTable.count(final KeyValueMapper<K, V, K1> selector, String name) throw NPE
                 Key: KAFKA-3589
                 URL: https://issues.apache.org/jira/browse/KAFKA-3589
             Project: Kafka
          Issue Type: Bug
          Components: streams
    Affects Versions: 0.10.0.0
            Reporter: Damian Guy
            Assignee: Guozhang Wang


The implementation of KTable.count(inal KeyValueMapper<K, V, K1> selector, String name) passes null through as the parameters for the key and value serdes. This results in an NPE in the aggregate method when it does:

ChangedSerializer<V1> changedValueSerializer = new ChangedSerializer<>(valueSerde.serializer());



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)