Skip to content
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

Homebridge crashes after TypeError: Cannot read property 'split' of null #12

Open
migabc opened this issue Dec 17, 2019 · 0 comments
Open

Comments

@migabc
Copy link

migabc commented Dec 17, 2019

Hi,

I sometimes get this error:

Dec 14 22:40:30 raspberrypi homebridge[26562]: [12/14/2019, 10:40:30 PM] TypeError: Cannot read property 'split' of null Dec 14 22:40:30 raspberrypi homebridge[26562]: at BMWConnected.<anonymous> (/usr/lib/node_modules/homebridge-bmw-connected/index.js:214:23) Dec 14 22:40:30 raspberrypi homebridge[26562]: at Request.self.callback (/usr/lib/node_modules/homebridge-bmw-connected/node_modules/request/request.js:185:22) Dec 14 22:40:30 raspberrypi homebridge[26562]: at Request.emit (events.js:193:13) Dec 14 22:40:30 raspberrypi homebridge[26562]: at Request.<anonymous> (/usr/lib/node_modules/homebridge-bmw-connected/node_modules/request/request.js:1161:10) Dec 14 22:40:30 raspberrypi homebridge[26562]: at Request.emit (events.js:193:13) Dec 14 22:40:30 raspberrypi homebridge[26562]: at IncomingMessage.<anonymous> (/usr/lib/node_modules/homebridge-bmw-connected/node_modules/request/request.js:1083:12) Dec 14 22:40:30 raspberrypi homebridge[26562]: at Object.onceWrapper (events.js:281:20) Dec 14 22:40:30 raspberrypi homebridge[26562]: at IncomingMessage.emit (events.js:198:15) Dec 14 22:40:30 raspberrypi homebridge[26562]: at endReadableNT (_stream_readable.js:1139:12) Dec 14 22:40:30 raspberrypi homebridge[26562]: at processTicksAndRejections (internal/process/task_queues.js:81:17) Dec 14 22:40:30 raspberrypi homebridge[26562]: [12/14/2019, 10:40:30 PM] Got SIGTERM, shutting down Homebridge... Dec 14 22:40:30 raspberrypi homebridge[26562]: [12/14/2019, 10:40:30 PM] [eWeLink] API reported that [DIMMER1] is Off Dec 14 22:40:30 raspberrypi homebridge[26562]: [12/14/2019, 10:40:30 PM] [eWeLink] API reported that [Veranda Outlets] is On Dec 14 22:40:31 raspberrypi homebridge[26562]: [12/14/2019, 10:40:31 PM] [BMW 420] SECURED Dec 14 22:40:35 raspberrypi systemd[1]: homebridge.service: main process exited, code=exited, status=143/n/a Dec 14 22:40:35 raspberrypi systemd[1]: Unit homebridge.service entered failed state.

Is there some way we can prevent this?

Thanks,
Miguel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant