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

TypeError: Cannot read properties of undefined (reading 'name') #518

Open
iobroker-sentry-github-app bot opened this issue Nov 19, 2023 · 1 comment
Labels

Comments

@iobroker-sentry-github-app
Copy link

Sentry Issue: IOBROKER-HUE-4D

TypeError: Cannot read properties of undefined (reading 'name')
  File "/opt/iobroker/node_modules/iobroker.hue/src/main.ts", line 1315, in Hue.getSensorChannelById
  File "/opt/iobroker/node_modules/iobroker.hue/src/main.ts", line 1168, in Hue.handleSensorUpdate
  File "/opt/iobroker/node_modules/iobroker.hue/src/main.ts", line 1144, in Hue.handleUpdate
  File "/opt/iobroker/node_modules/iobroker.hue/src/main.ts", line 1107, in HuePushClient.<anonymous>
  File "node:events", line 514, in HuePushClient.emit
...
(5 additional frame(s) were not displayed)
@Ghostraider88
Copy link

I can confirm this Error.
Instance is not able to connect anymore. Log File snippet:

host.WOLF-BRS-IO01 2023-11-19 13:28:47.290 error instance system.adapter.hue.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
hue.0 2023-11-19 13:28:46.889 error Error
hue.0 2023-11-19 13:28:46.884 error Could not get UUIDs: Unexpected token < in JSON at position 0
hue.0 2023-11-19 13:28:46.349 error Cannot read properties of undefined (reading 'name')
hue.0 2023-11-19 13:28:46.348 error TypeError: Cannot read properties of undefined (reading 'name') at Hue.getSensorChannelById (C:\ioBroker\node_modules\iobroker.hue\build\main.js:1115:23) at Hue.handleSensorUpdate (C:\ioBroker\node_modules\iobroker.hue\build\main.js:1008:34) at Hue.handleUpdate (C:\ioBroker\node_modules\iobroker.hue\build\main.js:987:24) at HuePushClient. (C:\ioBroker\node_modules\iobroker.hue\build\main.js:957:30) at HuePushClient.emit (node:events:514:28) at _emit (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:287:17) at parseEventStreamLine (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:302:9) at IncomingMessage. (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:259:11) at IncomingMessage.emit (node:events:514:28) at addChunk (node:internal/streams/readable:324:12)
hue.0 2023-11-19 13:28:46.348 error unhandled promise rejection: Cannot read properties of undefined (reading 'name')
hue.0 2023-11-19 13:28:46.348 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
hue.0 2023-11-19 13:28:46.345 error Cannot read properties of undefined (reading 'name')
hue.0 2023-11-19 13:28:46.344 error TypeError: Cannot read properties of undefined (reading 'name') at Hue.getSensorChannelById (C:\ioBroker\node_modules\iobroker.hue\build\main.js:1115:23) at Hue.handleSensorUpdate (C:\ioBroker\node_modules\iobroker.hue\build\main.js:1008:34) at Hue.handleUpdate (C:\ioBroker\node_modules\iobroker.hue\build\main.js:987:24) at HuePushClient. (C:\ioBroker\node_modules\iobroker.hue\build\main.js:957:30) at HuePushClient.emit (node:events:514:28) at _emit (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:287:17) at parseEventStreamLine (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:302:9) at IncomingMessage. (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:259:11) at IncomingMessage.emit (node:events:514:28) at addChunk (node:internal/streams/readable:324:12)
hue.0 2023-11-19 13:28:46.343 error unhandled promise rejection: Cannot read properties of undefined (reading 'name')
hue.0 2023-11-19 13:28:46.342 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
hue.0 2023-11-19 13:28:41.249 error Request failed with status code 429
hue.0 2023-11-19 13:28:40.927 error Could not poll all: Error
hue.0 2023-11-19 13:28:36.127 error Request failed with status code 429
hue.0 2023-11-19 13:28:31.014 error Request failed with status code 429
hue.0 2023-11-19 13:28:30.854 error Could not poll all: Error
hue.0 2023-11-19 13:28:25.894 error Error
hue.0 2023-11-19 13:28:25.858 error Could not get UUIDs: Unexpected token < in JSON at position 0
hue.0 2023-11-19 13:28:20.691 error Could not get UUIDs: Unexpected token < in JSON at position 0
hue.0 2023-11-19 13:28:20.468 error Error
host.WOLF-BRS-IO01 2023-11-19 13:27:46.101 error instance system.adapter.hue.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
hue.0 2023-11-19 13:27:45.394 error Cannot read properties of undefined (reading 'name')
hue.0 2023-11-19 13:27:45.394 error TypeError: Cannot read properties of undefined (reading 'name') at Hue.getSensorChannelById (C:\ioBroker\node_modules\iobroker.hue\build\main.js:1115:23) at Hue.handleSensorUpdate (C:\ioBroker\node_modules\iobroker.hue\build\main.js:1008:34) at Hue.handleUpdate (C:\ioBroker\node_modules\iobroker.hue\build\main.js:987:24) at HuePushClient. (C:\ioBroker\node_modules\iobroker.hue\build\main.js:957:30) at HuePushClient.emit (node:events:514:28) at _emit (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:287:17) at parseEventStreamLine (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:302:9) at IncomingMessage. (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:259:11) at IncomingMessage.emit (node:events:514:28) at addChunk (node:internal/streams/readable:324:12)
hue.0 2023-11-19 13:27:45.393 error unhandled promise rejection: Cannot read properties of undefined (reading 'name')
hue.0 2023-11-19 13:27:45.392 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
hue.0 2023-11-19 13:27:45.384 error Cannot read properties of undefined (reading 'name')
hue.0 2023-11-19 13:27:45.383 error TypeError: Cannot read properties of undefined (reading 'name') at Hue.getSensorChannelById (C:\ioBroker\node_modules\iobroker.hue\build\main.js:1115:23) at Hue.handleSensorUpdate (C:\ioBroker\node_modules\iobroker.hue\build\main.js:1008:34) at Hue.handleUpdate (C:\ioBroker\node_modules\iobroker.hue\build\main.js:987:24) at HuePushClient. (C:\ioBroker\node_modules\iobroker.hue\build\main.js:957:30) at HuePushClient.emit (node:events:514:28) at _emit (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:287:17) at parseEventStreamLine (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:302:9) at IncomingMessage. (C:\ioBroker\node_modules\eventsource\lib\eventsource.js:259:11) at IncomingMessage.emit (node:events:514:28) at addChunk (node:internal/streams/readable:324:12)
hue.0 2023-11-19 13:27:45.380 error unhandled promise rejection: Cannot read properties of undefined (reading 'name')
hue.0 2023-11-19 13:27:45.380 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
hue.0 2023-11-19 13:27:41.106 error Request failed with status code 429
hue.0 2023-11-19 13:27:40.803 error Could not poll all: Error
hue.0 2023-11-19 13:27:35.999 error Request failed with status code 429
hue.0 2023-11-19 13:27:30.878 error Request failed with status code 429
hue.0 2023-11-19 13:27:30.722 error Could not poll all: Error
hue.0 2023-11-19 13:27:25.757 error Request failed with status code 429
hue.0 2023-11-19 13:27:20.652 error Request failed with status code 429
hue.0 2023-11-19 13:27:20.635 error Could not poll all: Error
hue.0 2023-11-19 13:27:15.521 error Error
hue.0 2023-11-19 13:27:15.519 error Could not get UUIDs: Unexpected token < in JSON at position 0
hue.0 2023-11-19 13:27:10.316 error Could not get UUIDs: Unexpected token < in JSON at position 0
hue.0 2023-11-19 13:27:10.074 error Error

@mcm1957 mcm1957 added the bug label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants