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

Guocheng Zhang commented on TUBEMQ-306:
---------------------------------------

 !screenshot-1.png! 

The NullPointerException is caused by the return result of the RPC call, as 
shown above in the BaseMessageConsumer.class's code. Because the error is 
catched so the exception does not affect the use of the SDK. 

It is not strict enough to use Null object directly in code. I will fix it. 

Thank you!


> Raise Nullpointer Exception when create tubemq instance
> -------------------------------------------------------
>
>                 Key: TUBEMQ-306
>                 URL: https://issues.apache.org/jira/browse/TUBEMQ-306
>             Project: Apache TubeMQ
>          Issue Type: Bug
>            Reporter: dashuye4
>            Priority: Major
>         Attachments: image-2020-07-27-16-39-27-895.png, screenshot-1.png
>
>
> SDK version: 3.8.7
> I got null pointer exception when subscribe a messagePullConsumer, after tell 
> me that I was fail to connect to master address:
> !image-2020-07-27-16-39-27-895.png!



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

Reply via email to