TypeError: Cannot read property 'join' of undefined
See original GitHub issueHi,
I’ve ran into a crash which happens sometimes when the container is starting, or when I apply some configuration to the zwavejs project it self (not node configuration) which seem to trigger some restart.
I have now 14 nodes in the network 12 frg223 1 fgs222 1 fgs223
Still running the latest dev container.
Output podman logs
-23T20:01:38.616Z z2m:Zwave Node 14: value updated: 142-0-maxNodes-2 5 => 5
2020-11-23T20:01:38.616Z z2m:Zwave Node 14: value updated: 142-0-nodeIds-2 [] => []2020-11-23T20:01:38.616Z z2m:Zwave Node 14: value updated: 142-0-endpoints-2 [] => []
2020-11-23T20:01:41.176Z z2m:Zwave Node 14: value updated: 142-0-maxNodes-3 5 => 5
2020-11-23T20:01:41.177Z z2m:Zwave Node 14: value updated: 142-0-nodeIds-3 [] => []2020-11-23T20:01:41.177Z z2m:Zwave Node 14: value updated: 142-0-endpoints-3 [] => []
2020-11-23T20:01:41.473Z z2m:Zwave Node 17: value updated: 112-0-43 1 => 1
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(). The promise rejected with the reason:
TypeError: Cannot read property 'join' of undefined why
at ZWaveNode.queryNeighborsInternal (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:1582:60)
at ZWaveNode.queryNeighbors (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:1599:3)
at tryInterviewStage (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:850:5)
at ZWaveNode.interview (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:919:10)
at Driver.interviewNode (/usr/src/app/node_modules/zwave-js/src/lib/driver/Driver.ts:812:10)
Managed to get some logging from the zwave-1 file.
20:01:41.429 DRIVER send thread state: sending.waitForUpdate
20:01:41.431 DRIVER send thread state: sending.waitForUpdate
20:01:41.436 DRIVER send thread state: sending.waitForUpdate
20:01:41.475 DRIVER send thread state: sending.execute
20:01:41.475 CNTRLR « [Node 017] parameter #43 has value: 1 20:01:41.476 CNTRLR » [Node 017] querying parameter #44 value...
20:01:41.477 DRIVER send thread state: sending.execute
20:01:41.488 DRIVER send thread state: sending.execute
20:01:41.490 DRIVER send thread state: sending.handshake.waitForCommandResult
20:01:41.491 DRIVER send thread state: sending.handshake.waitForCommandResult 20:01:41.532 CNTRLR [Node 014] requesting the node neighbors failed: Cannot read property 'join'
of undefined
20:01:41.538 DRIVER send thread state: sending.handshake.waitForCommandResult
20:01:41.539 DRIVER send thread state: sending.handshake.waitForCommandResult 20:01:41.539 DRIVER send thread state: sending.handshake.waitForHandshakeResponse20:01:41.540 DRIVER send thread state: sending.handshake.waitForHandshakeResponse20:01:41.544 DRIVER send thread state: sending.handshake.waitForHandshakeResponse20:01:41.698 DRIVER send thread state: sending.handshake.waitForHandshakeResponse20:01:41.698 DRIVER send thread state: sending.handshake.waitForHandshakeResponse20:01:41.700 DRIVER Unexpected error during SerialAPI command: ZWaveError: Security CC requires a nonce to be sent! 20:01:41.700 DRIVER send thread state: sending.execute 20:01:41.701 CNTRLR [Node 015] did not respond after 1/3 attempts. Scheduling next try in 500 ms. 20:01:41.701 DRIVER send thread state: sending.retryWait
20:01:41.840 DRIVER send thread state: sending.retryWait
20:01:41.841 DRIVER send thread state: sending.retryWait
20:01:42.008 DRIVER destroying driver instance...
I’m not asure why I’m not getting more detailed log info, I’ve set it to silly log level.
Thnx
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Cannot read property 'join' of undefined in jquery
The error is suggesting you're trying to read a property called join on an object which is undefined . However nothing in your...
Read more >TypeError: Cannot read property 'join' of undefined when use ...
TypeError : Cannot read property 'join' of undefined when use HOC component.
Read more >Uncaught (in promise) TypeError: Cannot read property 'join ...
This particular type error occurs when you try and access a property or method of an object which doesn't exist. You can use...
Read more >Cannot read property 'join' of undefined - Note Sharing
I have a number of notes I've never been able to share properly since sharing was introduced. The message I get is "Cannot...
Read more >TypeError: Cannot read property 'join' of undefined at Scope ...
Both buttons have no effect, in the browser console the following stack trace is shown: TypeError: Cannot read property 'join' of undefined at...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ODINServ That is a bug I’ve been hunting for weeks - never got a log that I can use to reproduce. Thanks! 🙏🏻
The test works! (actually it fails but that’s what I wanted)