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

[bug]: v7 Cannot convert undefined or null to object #2944

Closed
1 task done
crunchip77 opened this issue Oct 18, 2024 · 0 comments · Fixed by #2946
Closed
1 task done

[bug]: v7 Cannot convert undefined or null to object #2944

crunchip77 opened this issue Oct 18, 2024 · 0 comments · Fixed by #2946
Labels

Comments

@crunchip77
Copy link

crunchip77 commented Oct 18, 2024

No existing issues.

  • There is no existing issue for my problem.

Description

Aufgrund eines Type errors, siehe Logauszug, ist der js-controller abgestürzt, hab den Docker dann manuell neu gestartet
an sich lief der docker in der Konstellation mit dem js-controller jedoch die vorherigen Tage problemlos, dieser Absturz war bisher einmalig

admin v7.2.6

`
2024-10-17 00:10:48.160 - info: telegram.0 (231) New notification received from system.adapter.notification-manager.0
2024-10-17 00:10:48.249 - info: notification-manager.0 (939) Instance telegram.0 successfully handled the notification for "user.notify"
2024-10-17 00:10:48.317 - info: notification-manager.0 (939) Instance telegram.0 successfully handled the notification for "user.notify"
2024-10-17 00:10:48.364 - info: notification-manager.0 (939) Send notification "user.notify" to "telegram.0"
2024-10-17 00:10:48.365 - info: telegram.0 (231) New notification received from system.adapter.notification-manager.0
2024-10-17 00:10:48.428 - info: notification-manager.0 (939) Send notification "user.notify" to "telegram.0"
2024-10-17 00:10:48.430 - info: telegram.0 (231) New notification received from system.adapter.notification-manager.0
2024-10-17 00:10:48.455 - info: notification-manager.0 (939) Instance telegram.0 successfully handled the notification for "user.notify"
2024-10-17 00:10:48.489 - info: notification-manager.0 (939) Instance telegram.0 successfully handled the notification for "user.notify"
2024-10-17 00:10:48.523 - error: host.IoBroker uncaught exception: Cannot convert undefined or null to object
2024-10-17 00:10:48.523 - error: host.IoBroker TypeError: Cannot convert undefined or null to object
at Function.keys ()
at NotificationHandler.clearNotifications (file:///opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/notificationHandler.ts:552:43)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at processMessage (file:///opt/iobroker/node_modules/iobroker.js-controller/src/main.ts:2942:13)
2024-10-17 00:10:48.526 - info: host.IoBroker stopInstance system.adapter.admin.0 (force=false, process=true)
2024-10-17 00:10:48.526 - info: host.IoBroker stopInstance system.adapter.email.0 (force=false, process=false)
2024-10-17 00:10:48.526 - info: host.IoBroker stopInstance system.adapter.history.0 (force=false, process=true)
.
.

2024-10-17 00:10:49.195 - info: traccar.0 (1138) terminating -- 2024-10-17 00:10:49.197 - info: wiobrowser.0 (1254) terminating 2024-10-17 00:10:49.200 - info: weather-warnings.0 (1299) terminating 2024-10-17 00:10:49.544 - info: host.IoBroker stopInstance timeout 1000 system.adapter.sayit.0 killing pid 1035 2024-10-17 00:10:49.662 - error: sonoff.0 (708) Objects database error: read ECONNRESET 2024-10-17 00:10:54.663 - error: vis-inventwo.0 (1187) Objects database error: connect ECONNREFUSED 127.0.0.1:9001 2024-10-17 00:10:54.667 - error: vis-inventwo.0 (1187) States database error: connect ECONNREFUSED 127.0.0.1:9000 2024-10-17 00:10:54.677 - error: sonoff.0 (708) Objects database error: connect ECONNREFUSED 127.0.0.1:9001 2024-10-17 00:10:59.670 - error: vis-inventwo.0 (1187) States database error: connect ECONNREFUSED 127.0.0.1:9000 2024-10-17 00:10:59.671 - error: vis-inventwo.0 (1187) Objects database error: connect ECONNREFUSED 127.0.0.1:9001 2024-10-17 00:11:04.673 - error: vis-inventwo.0 (1187) Objects database error: connect ECONNREFUSED 127.0.0.1:9001 2024-10-17 00:11:04.674 - error: vis-inventwo.0 (1187) States database error: connect ECONNREFUSED 127.0.0.1:9000 . . . 2024-10-17 00:12:19.714 - warn: vis-inventwo.0 (1187) get state error: Connection is closed. -- 2024-10-17 00:12:19.714 - warn: vis-inventwo.0 (1187) get state error: DB closed 2024-10-17 00:12:19.714 - warn: vis-inventwo.0 (1187) get state error: DB closed 2024-10-17 00:12:19.714 - warn: vis-inventwo.0 (1187) get state error: DB closed . . 2024-10-17 00:12:23.714 - warn: vis-inventwo.0 (1187) Cannot connect/reconnect to objects DB. Terminating -- 2024-10-17 00:12:23.715 - info: vis-inventwo.0 (1187) Terminated (NO_ERROR): Without reason 2024-10-17 00:12:23.715 - warn: vis-inventwo.0 (1187) Cannot connect/reconnect to objects DB. Terminating 2024-10-17 00:12:23.715 - warn: vis-inventwo.0 (1187) Cannot connect/reconnect to objects DB. Terminating 2024-10-17 00:12:24.217 - info: vis-inventwo.0 (1187) cleaned everything up... 2024-10-17 00:46:43.336 - info: host.IoBroker iobroker.js-controller version 7.0.0 js-controller starting 2024-10-17 00:46:43.337 - info: host.IoBroker Copyright (c) 2014-2024 bluefox, 2014 hobbyquaker `

Reproduction instruction

mir nicht möglich

JS-controller version

v7

Node version

node: v20.18.0

foxriver76 added a commit that referenced this issue Oct 21, 2024
…ultaneously

- closes #2944
- added more strict tsconfig to allow migrating single files to stricter rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant