-
Notifications
You must be signed in to change notification settings - Fork 10
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
TypeError: Cannot read properties of null (reading 'productName') #19
Comments
Hi @rooska, I'm trying to figure out what's happening in your network as I'm currently not having any of these explained issues working on the same configuration as you. Nevertheless, there will be a fix for this bug in the next version. However, this bug should also occur in the previous versions of the plugin |
|
I was able to reliably reproduce this with a LIFX Z lightstrip on v0.2.3. I observe the plugin working fine with 2x LIFX Color 800lm A19 bulbs (FW v3.70), but as soon as I set up the LIFX Z (FW v3.80) it enters a reboot loop. I can resolve the loop by adding the lightstrip to the excludes in the plugin settings and it becomes stable. As soon as I remove the exclude and restart the plugin, it resumes crashing. Here's a paste of the log with debug mode active (sorry if the communication logs are just noise). My order of operations was this:
|
Describe The Bug:
Plugin frequently errors, closes child bridge with TypeError: Cannot read properties of null (reading 'productName')
This seems to occurs quite frequently with the most recent update to 0.2.3 and appears occur less frequently after a downgrade to a previous version (0.2.2 or older).
To Reproduce:
Update to the 0.2.3 and wait. Usually within less than 5 minutes of starting up, the error will occur, it crashes the child bridge this plugin is on, and the child bridge restarts. This can occur once, or multiple times depending on how much the plugin is being used by HomeKit
Expected behavior:
The Lifx Plugin will not error and restart.
Logs:
Plugin Config:
Screenshots:
None
Environment:
The text was updated successfully, but these errors were encountered: