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

Ensure node exists when handler is disposed #792

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

cdjackson
Copy link
Contributor

Prevents potential NPE if the node was removed prior to the handler being disposed.
Signed-off-by: Chris Jackson chris@cd-jackson.com

Signed-off-by: Chris Jackson <chris@cd-jackson.com>
@cdjackson cdjackson added the bug label Jan 3, 2023
@cdjackson cdjackson added this to the 4.0 milestone Jan 3, 2023
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/nullpointerexception-in-zigbeethinghandler-dispose-on-delete-thing-in-gui/142885/2

@cdjackson cdjackson merged commit c9fa751 into openhab:main Jan 3, 2023
@cdjackson cdjackson deleted the handler-dispose-bug branch January 3, 2023 22:23
pgaufillet pushed a commit to pgaufillet/org.openhab.binding.zigbee that referenced this pull request Sep 7, 2023
Signed-off-by: Chris Jackson <chris@cd-jackson.com>

Signed-off-by: Chris Jackson <chris@cd-jackson.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants