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

Guo Jiwei resolved TUBEMQ-59.
-----------------------------
    Fix Version/s: 0.5.0
       Resolution: Fixed

#46

> Null pointer exception is thrown while constructing ConsumerConfig with 
> MasterInfo, while directly using String is ok
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUBEMQ-59
>                 URL: https://issues.apache.org/jira/browse/TUBEMQ-59
>             Project: Apache TubeMQ
>          Issue Type: Bug
>            Reporter: Mark Law
>            Assignee: Guo Jiwei
>            Priority: Normal
>              Labels: bug, pull-request-available
>             Fix For: 0.5.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> String masterHostAndPorts = "..."
> ConsumerConfig consumerConfig = new ConsumerConfig(localIp, 
> masterHostAndPorts, consumerGroup);
> The above is running fine without exception.
> String masterHostAndPorts = "..."
> MasterInfo masterInfo = new MasterInfo(masterHostAndPorts);
> ConsumerConfig consumerConfig = new ConsumerConfig(localIp, masterInfo, 
> consumerGroup);
> However, If I use MasterInfo to construct ConsumerConfig, A NPE will be 
> thrown.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to