GitHub user dguy opened a pull request:

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

    KAFKA-4539: NPE in StreamThread when creating StandbyTasks

    Tasks that don't have any `StateStore`s wont have a `StandbyTask`, so 
`createStandbyTask` can return `null`. We need to check for this in 
`StandbyTaskCreator.createTask(...)`

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

    $ git pull https://github.com/dguy/kafka kafka-4539

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

    https://github.com/apache/kafka/pull/2255.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 #2255
    
----
commit aa1e6b7ce213ccb6019b7f16e9148cad00cf66f9
Author: Damian Guy <damian....@gmail.com>
Date:   2016-12-14T13:08:40Z

    fix NPE when creating standby tasks

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to