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 property 'reverse' of null #31
Comments
More details: C:\Users\mkamachi\xsens_dot_server>node xsensDotServer |
Hi, |
It now appears to be running. I updated the npm debug package. Now is it continues to be in the "Powering-on" state. When I click "start scanning" I receive the error "ERROR: component 'SensorServer' received unexpected event 'startScanning' in state 'Powering-on'" |
The firmware of my sensors is 1.6.0, would that be causing a problem? It says it is unable to downgrade. |
I'm having the same issues, however I still get the reverse of null error happen every now and then, and also a 'Buffer is out of bounds' error and now I too am stuck with the powering on state. Yesterday I was still able to connect to the server properly if I kept closing the cmd and trying to run it again but now I cant seem to get it to work at all. I did reinstall the node an npm packages but like I said it was still working, but now its suddenly not. |
Hi there,
I'm new to development so please forgive me if this is a dumb question - I have followed the instructions to install and run the xsens dot server and I am getting the error below (all output is included). Please let me know how to troubleshoot. Thank you!
C:\Users\mkamachi\xsens_dot_server>node xsensDotServer
Web GUI Handler instantiated
BLE Handler started.
Webserver listening on port 8080, IP address: 192.168.1.80
C:\Users\mkamachi\xsens_dot_server\node_modules\noble\lib\hci-socket\hci.js:582
this.address = result.toString('hex').match(/.{1,2}/g).reverse().join(':');
^
TypeError: Cannot read property 'reverse' of null
at Hci.processCmdCompleteEvent (C:\Users\mkamachi\xsens_dot_server\node_modules\noble\lib\hci-socket\hci.js:582:59)
at Hci.onSocketData (C:\Users\mkamachi\xsens_dot_server\node_modules\noble\lib\hci-socket\hci.js:461:12)
at BluetoothHciSocket.emit (events.js:310:20)
at BluetoothHciSocket.onHciEventEndpointData (C:\Users\mkamachi\xsens_dot_server\node_modules\bluetooth-hci-socket\lib\usb.js:156:10)
at InEndpoint.emit (events.js:310:20)
at Transfer.transferDone (C:\Users\mkamachi\xsens_dot_server\node_modules\usb\usb.js:441:9)
The text was updated successfully, but these errors were encountered: