-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[denonmarantz] Fix NullPointerException
on connection problem
#15422
Conversation
Signed-off-by: lsiepel <leosiepel@gmail.com>
…openhab-addons into denonmarantz-checkstyle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
Signed-off-by: lsiepel <leosiepel@gmail.com>
...g/openhab/binding/denonmarantz/internal/connector/telnet/DenonMarantzTelnetClientThread.java
Show resolved
Hide resolved
Signed-off-by: lsiepel <leosiepel@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix - LGTM!
I can also confirm that it works. I was able to reproduce the NPE from the 4.0.2 version, and with the fix the Thing will correctly transition between ONLINE and OFFLINE when turning the receiver on/off.
* Checkstyle cleanup * Fix #15444 Signed-off-by: lsiepel <leosiepel@gmail.com>
NullPointerException
on connection problem
* Checkstyle cleanup * Fix openhab#15444 Signed-off-by: lsiepel <leosiepel@gmail.com>
* Checkstyle cleanup * Fix openhab#15444 Signed-off-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Test jar: https://1drv.ms/u/s!AnMcxmvEeupwjqVmDjS6MTGKtfRFQQ?e=orDdgn