ioBroker.wled icon indicating copy to clipboard operation
ioBroker.wled copied to clipboard

[SentryErrorCache] Cannot read property 'ip' of undefined

Open drozmotix-sentry-integration[bot] opened this issue 2 years ago • 1 comments

Sentry Issue: IOBROKER-WLED-3

Error: TypeError: Cannot read property 'ip' of undefined
    at Wled.handleStates (/opt/iobroker/node_modules/iobroker.wled/main.js:524:31)
    at Wled.getDeviceJSON (/opt/iobroker/node_modules/iobroker.wled/main.js:837:20)
    at runMicrotasks (<anonymous>...
  File "/opt/iobroker/node_modules/iobroker.wled/main.js", line 524, in Wled.handleStates
    infoStates.ip = infoStates.ip !== undefined ? infoStates.ip : ipAddress;
  File "/opt/iobroker/node_modules/iobroker.wled/main.js", line 837, in Wled.getDeviceJSON
    await this.handleStates(deviceData, deviceIP);
  File "/opt/iobroker/node_modules/iobroker.wled/main.js", in runMicrotasks
    'use strict';
  File "internal/process/task_queues.js", line 95, in processTicksAndRejections
  File "/opt/iobroker/node_modules/iobroker.wled/main.js", line 765, in Wled.watchDog
    await this.getDeviceJSON(deviceIP);
...
(8 additional frame(s) were not displayed)

Can't reproduce it with current firmware of WLED & Code. Will add WLED version to error reporting to identify legacy firmware causing adapter crashes

DutchmanNL avatar Jun 17 '22 09:06 DutchmanNL