Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException in MessageBirdServiceImpl #114

Closed
rmacqueen opened this issue Aug 7, 2020 · 3 comments
Closed

NullPointerException in MessageBirdServiceImpl #114

rmacqueen opened this issue Aug 7, 2020 · 3 comments

Comments

@rmacqueen
Copy link

I am encountering a null pointer exception when calling startConversation on the MessageBirdClient

java.lang.NullPointerException: null
	at com.messagebird.MessageBirdServiceImpl.getErrorReportOrNull(MessageBirdServiceImpl.java:545) ~[messagebird-api-3.0.13.jar!/:na]
	at com.messagebird.MessageBirdServiceImpl.handleHttpFailStatuses(MessageBirdServiceImpl.java:245) ~[messagebird-api-3.0.13.jar!/:na]
	at com.messagebird.MessageBirdServiceImpl.getJsonData(MessageBirdServiceImpl.java:236) ~[messagebird-api-3.0.13.jar!/:na]
	at com.messagebird.MessageBirdServiceImpl.sendPayLoad(MessageBirdServiceImpl.java:176) ~[messagebird-api-3.0.13.jar!/:na]
	at com.messagebird.MessageBirdServiceImpl.sendPayLoad(MessageBirdServiceImpl.java:166) ~[messagebird-api-3.0.13.jar!/:na]
	at com.messagebird.MessageBirdClient.startConversation(MessageBirdClient.java:951) ~[messagebird-api-3.0.13.jar!/:na]

It looks like the null pointer is being referenced at this line https://github.com/messagebird/java-rest-api/blob/master/api/src/main/java/com/messagebird/MessageBirdServiceImpl.java#L545

@denizkilic
Copy link
Contributor

Hi @rmacqueen,
Thanks for reporting this issue. @olimpias solved it. A new version will be released soon.

@rmacqueen
Copy link
Author

Great, thanks

@denizkilic
Copy link
Contributor

Hi @rmacqueen,
The issue was fixed in Release 3.0.14. We are ready to welcoming more issues if you have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants