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

Ewen Cheslack-Postava resolved KAFKA-3324.
------------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.10.0.0

Issue resolved by pull request 1001
[https://github.com/apache/kafka/pull/1001]

> NullPointerException in StreamPartitionAssignor (Kafka Streams)
> ---------------------------------------------------------------
>
>                 Key: KAFKA-3324
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3324
>             Project: Kafka
>          Issue Type: Bug
>          Components: kafka streams
>    Affects Versions: 0.10.0.0
>            Reporter: Michael Noll
>             Fix For: 0.10.0.0
>
>
> KAFKA-3311 changed 
> {{streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamPartitionAssignor.java}},
>  which  triggers NPEs consistently at this line:
> {code}
>             for (Map.Entry<String, Set<TaskId>> entry : 
> internalSourceTopicToTaskIds.entrySet()) {
> {code}
> The impact is significant unfortunately because any end-to-end Streams job 
> that I have been running keeps failing currently because of this bug.
> *How to fix*
> The naive fix -- a simple null check -- seems to resolve the problem.  PR 
> incoming.



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

Reply via email to