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

Guo Jiwei commented on TUBEMQ-59:
---------------------------------

yes, i will fix it.

> 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
>
> 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