ioBroker / ioBroker.knx

connect KNX via eibd
http://www.iobroker.org
Other
50 stars 32 forks source link

Adapter crash since v2.0.11 #234

Closed trollvottel closed 2 years ago

trollvottel commented 2 years ago

The adapter crashes since update to v2.0.11:

host.iobroker | 2022-02-11 12:28:09.333 | error | instance system.adapter.knx.0 terminated with code 6 (UNCAUGHT_EXCEPTION) -- | -- | -- | -- knx.0 | 2022-02-11 12:28:08.769 | error | Cannot read property 'native' of undefined knx.0 | 2022-02-11 12:28:08.769 | error | TypeError: Cannot read property 'native' of undefined at _0x144bc5. (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:315125) at _0x144bc5.emit (events.js:400:28) at Socket. (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:70180) at Socket.emit (events.js:400:28) at UDP.onMessage [as onmessage] (dgram.js:931:8) knx.0 | 2022-02-11 12:28:08.767 | error | uncaught exception: Cannot read property 'native' of undefined host.iobroker | 2022-02-11 12:20:52.627 | error | instance system.adapter.knx.0 terminated with code 6 (UNCAUGHT_EXCEPTION) knx.0 | 2022-02-11 12:20:52.078 | error | Cannot read property 'native' of undefined knx.0 | 2022-02-11 12:20:52.077 | error | TypeError: Cannot read property 'native' of undefined at _0x144bc5. (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:315125) at _0x144bc5.emit (events.js:400:28) at Socket. (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:70180) at Socket.emit (events.js:400:28) at UDP.onMessage [as onmessage] (dgram.js:931:8) knx.0 | 2022-02-11 12:20:52.076 | error | uncaught exception: Cannot read property 'native' of undefined
chefkoch009 commented 2 years ago

Prüfe bitte einmal, ob Deine Objekte ok sind. Es scheint, das in mindestens einem der "native" Block fehlt.

trollvottel commented 2 years ago

Ich habe mal den ganzen knx Objektbaum gelöscht und neu erzeugen lassen, Problem beseitigt!

trollvottel commented 2 years ago

Occured again :(

knx.0 | 2022-02-15 15:21:34.541 | error | Cannot read property 'native' of undefined -- | -- | -- | -- knx.0 | 2022-02-15 15:21:34.541 | error | TypeError: Cannot read property 'native' of undefined at _0x144bc5. (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:315125) at _0x144bc5.emit (events.js:400:28) at Socket. (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:70180) at Socket.emit (events.js:400:28) at UDP.onMessage [as onmessage] (dgram.js:931:8) knx.0 | 2022-02-15 15:21:34.539 | error | uncaught exception: Cannot read property 'native' of undefined
soho737 commented 2 years ago

Same happening here - maybe as a hotfix check for a null reference for the object as well as the property before trying to access the property "native" so it doen't take the whole adapter down. Stuck in a restart loop here...

chefkoch009 commented 2 years ago

Sollte in der V2.0.12 behoben sein.

chefkoch009 commented 2 years ago

Does the problem persists?

soho737 commented 2 years ago

Will check on Monday - wife would kill me if I bring down the home automation on a weekend

trollvottel commented 2 years ago

Haven't seen this since the update, would re-open the issue if it occurs again.