You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/07 12:53:21 UTC

[jira] [Commented] (KAFKA-3562) Null Pointer Exception Found when delete topic and Using New Producer

    [ https://issues.apache.org/jira/browse/KAFKA-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318416#comment-15318416 ] 

ASF GitHub Bot commented on KAFKA-3562:
---------------------------------------

GitHub user rajinisivaram opened a pull request:

    https://github.com/apache/kafka/pull/1478

    KAFKA-3562: Handle topic deletion during a send

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rajinisivaram/kafka KAFKA-3562

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/1478.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1478
    
----
commit a357e4fcf4829dd8221d8aebb2eea0bb31a586e8
Author: Rajini Sivaram <ra...@googlemail.com>
Date:   2016-06-07T12:24:02Z

    KAFKA-3562: Handle topic deletion during a send

----


> Null Pointer Exception Found when delete topic and Using New Producer
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-3562
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3562
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.9.0.0, 0.9.0.1
>            Reporter: Pengwei
>            Assignee: Rajini Sivaram
>            Priority: Minor
>             Fix For: 0.10.0.1
>
>
> Exception in thread “Thread-2” java.lang.NullPointerException
> at org.apache.kafka.clients.producer.internals.DefaultPartitioner.partition(DefaultPartitioner.java:70)
> at org.apache.kafka.clients.producer.KafkaProducer.partition(KafkaProducer.java:687)
> at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:432)
> at com.huawei.kafka.internal.remove.ProducerMsgThread.run(ProducerMsgThread.java:36)



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