slaesh / cc2652-stick

CC2652RB multiprotocol 2.4 GHz development stick
28 stars 17 forks source link

"TypeError: Cannot read property 'length' of null" #16

Closed sepinho closed 1 year ago

sepinho commented 2 years ago

I'm using the cc2652-stick with Home Assistant via Zigbee2MQTT on a Raspi 4. It worked flawlessly for a while until I switched to a different USB extension cord.

Since then, I've been getting an error. The User Interface reports a "502 - Bad Gateway" when I try to access it, the log reports the following error:

Zigbee2MQTT:error 2021-09-04 17:38:01: Error while starting zigbee-herdsman Zigbee2MQTT:error 2021-09-04 17:38:01: Failed to start zigbee Zigbee2MQTT:error 2021-09-04 17:38:01: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions Zigbee2MQTT:error 2021-09-04 17:38:01: Exiting... Zigbee2MQTT:error 2021-09-04 17:38:01: TypeError: Cannot read property 'length' of null at AdapterNvMemory.init (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-nv-memory.ts:28:42) at ZnpAdapterManager.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:60:9) at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29) at Zigbee.start (/app/lib/zigbee.js:66:27) at Controller.start (/app/lib/controller.js:110:27) at start (/app/index.js:95:5)

Even switching back to the original USB extension and trying every single USB port on my Raspi 4 doesn't improve the situation. Any idea as to what's going on?