-
-
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
[avmfritz] Avoid a hidden NPE when getIdentifier() of an uninitialized ThingHandler is called #9040
Conversation
…ler is colled Signed-off-by: Christoph Weitkamp <[email protected]>
Signed-off-by: Christoph Weitkamp <[email protected]>
Can be backported to OH 2.5.x, if possible. |
...z/src/main/java/org/openhab/binding/avmfritz/internal/handler/AVMFritzBaseBridgeHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Christoph Weitkamp <[email protected]>
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.
The hidden NPE was initially traced down and reported by me as it lead to various instabilities in Thing handling. The correction was discussed with Christoph and applied by him. The binding - with all corrections applied - is running on my local OH3 instance since yesterday noon and the binding is behaving much more reliably since.
I'm afraid cherry-picking results in a merge conflict in the imports of the Powerline handler class. |
Okay, see #9043. |
…d ThingHandler is called (openhab#9040) * Avoid a hidden NPE when getIdentifier() of an uninitialized ThingHandler is called * Fixed Powerline546EHandler Signed-off-by: Christoph Weitkamp <[email protected]>
…d ThingHandler is called (openhab#9040) * Avoid a hidden NPE when getIdentifier() of an uninitialized ThingHandler is called * Fixed Powerline546EHandler Signed-off-by: Christoph Weitkamp <[email protected]>
getIdentifier()
of an uninitializedThingHandler
is calledSigned-off-by: Christoph Weitkamp [email protected]