Mark Law created TUBEMQ-59:
------------------------------

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


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