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

Absturz der Instanz beim Löschen eines "ausgeschlossenem" Geräten #1904

Closed
RedGreenChilli opened this issue Oct 27, 2023 · 5 comments
Closed

Comments

@RedGreenChilli
Copy link

Hallo zusammen, vielleicht kann mir ja jemand bei meinem Problem helfen:

Adapter Version v1.8.23

Sobald ich eine Exclusion eines Geräts entfernen möchte, stürzt der Adapter ab. Gelöscht wird die Exclusion dabei leider auch nicht.
Hier das zugehörige Logging:
image

2023-10-27 12:25:52.899 - error: zigbee.0 (13153) Unhandled promise rejection. 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().
2023-10-27 12:25:52.899 - error: zigbee.0 (13153) unhandled promise rejection: Parameter "parentDevice" needs to be of type "string" but type "object" has been passed
2023-10-27 12:25:53.005 - error: zigbee.0 (13153) Error: Parameter "parentDevice" needs to be of type "string" but type "object" has been passed
at Function.assertString (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/validator.ts:241:19)
at Zigbee.deleteState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:5882:19)
at /opt/iobroker/node_modules/iobroker.zigbee/lib/exclude.js:111:34
2023-10-27 12:25:53.006 - error: zigbee.0 (13153) Parameter "parentDevice" needs to be of type "string" but type "object" has been passed
2023-10-27 12:25:53.012 - info: zigbee.0 (13153) cleaned everything up...
2023-10-27 12:25:53.131 - info: zigbee.0 (13153) Zigbee: disabling joining new devices.
2023-10-27 12:25:53.513 - info: zigbee.0 (13153) terminating
2023-10-27 12:25:53.513 - warn: zigbee.0 (13153) Terminated (UNCAUGHT_EXCEPTION): Without reason
2023-10-27 12:25:54.059 - error: host.ioBroker Caught by controller[0]: 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:
2023-10-27 12:25:54.059 - error: host.ioBroker Caught by controller[1]: Error: Parameter "parentDevice" needs to be of type "string" but type "object" has been passed
2023-10-27 12:25:54.059 - error: host.ioBroker Caught by controller[1]: at Function.assertString (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/validator.ts:241:19)
2023-10-27 12:25:54.059 - error: host.ioBroker Caught by controller[1]: at Zigbee.deleteState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:5882:19)
2023-10-27 12:25:54.059 - error: host.ioBroker Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.zigbee/lib/exclude.js:111:34
2023-10-27 12:25:54.060 - error: host.ioBroker instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2023-10-27 12:25:54.060 - info: host.ioBroker Restart adapter system.adapter.zigbee.0 because enabled

@funky4t
Copy link

funky4t commented Nov 4, 2023

Häng mich hier mal rein, bei mir ist es ein LUX Sensor, aber das gleiche Verhalten wie oben, ebenfalls auf V1.8.23:

Hier mein Log...

2023-11-05 00:18:00.396	info	<== Disconnect system.user.admin from ::ffff:192.168.2.146

admin.0
2023-11-05 00:18:00.396	info	<== Disconnect system.user.admin from ::ffff:192.168.2.146

admin.0
2023-11-05 00:18:00.396	info	<== Disconnect system.user.admin from ::ffff:192.168.2.146

admin.0
2023-11-05 00:18:00.396	info	<== Disconnect system.user.admin from ::ffff:192.168.2.146

admin.0
2023-11-05 00:18:00.396	info	<== Disconnect system.user.admin from ::ffff:192.168.2.146
host.brokernew
2023-11-05 00:17:53.000	error	instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
host.brokernew
2023-11-05 00:17:53.000	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/lib/exclude.js:111:34
host.brokernew
2023-11-05 00:17:53.000	error	Caught by controller[0]: at Zigbee.deleteState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:5882:19)
host.brokernew
2023-11-05 00:17:53.000	error	Caught by controller[0]: at Function.assertString (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/validator.ts:241:19)
host.brokernew
2023-11-05 00:17:53.000	error	Caught by controller[0]: Error: Parameter "parentDevice" needs to be of type "string" but type "object" has been passed
host.brokernew
2023-11-05 00:17:52.999	error	Caught by controller[0]: 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:
host.brokernew
2023-11-05 00:16:11.383	error	instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
host.brokernew
2023-11-05 00:16:11.383	error	Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.zigbee/lib/exclude.js:111:34
host.brokernew
2023-11-05 00:16:11.383	error	Caught by controller[1]: at Zigbee.deleteState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:5882:19)
host.brokernew
2023-11-05 00:16:11.383	error	Caught by controller[1]: at Function.assertString (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/validator.ts:241:19)
host.brokernew
2023-11-05 00:16:11.383	error	Caught by controller[1]: Error: Parameter "parentDevice" needs to be of type "string" but type "object" has been passed
host.brokernew
2023-11-05 00:16:11.383	error	Caught by controller[0]: 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:

@arteck
Copy link
Collaborator

arteck commented Nov 9, 2023

check GIT Version

@arteck arteck closed this as completed Nov 9, 2023
@baetzst
Copy link

baetzst commented Nov 10, 2023

Ich häng mich hier mal mit dran. V1.8.24
Ausgeschlossene Geräte lassen sich nicht löschen.

2023-11-10 11:43:21.247 - error: zigbee.0 (29020) Unhandled promise rejection. 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().
2023-11-10 11:43:21.247 - error: zigbee.0 (29020) unhandled promise rejection: Parameter "parentDevice" needs to be of type "string" but type "object" has been passed
2023-11-10 11:43:21.519 - error: zigbee.0 (29020) Error: Parameter "parentDevice" needs to be of type "string" but type "object" has been passed
at Function.assertString (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/validator.ts:241:19)
at Zigbee.deleteState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:5882:19)
at /opt/iobroker/node_modules/iobroker.zigbee/lib/exclude.js:111:34
2023-11-10 11:43:21.519 - error: zigbee.0 (29020) Parameter "parentDevice" needs to be of type "string" but type "object" has been passed
2023-11-10 11:43:21.525 - info: zigbee.0 (29020) cleaned everything up...
2023-11-10 11:43:21.630 - info: zigbee.0 (29020) Zigbee: disabling joining new devices.
2023-11-10 11:43:22.025 - info: zigbee.0 (29020) terminating
2023-11-10 11:43:22.026 - warn: zigbee.0 (29020) Terminated (UNCAUGHT_EXCEPTION): Without reason
2023-11-10 11:43:22.637 - error: host.ioBroker Caught by controller[0]: 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:
2023-11-10 11:43:22.637 - error: host.ioBroker Caught by controller[1]: Error: Parameter "parentDevice" needs to be of type "string" but type "object" has been passed
2023-11-10 11:43:22.637 - error: host.ioBroker Caught by controller[1]: at Function.assertString (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/validator.ts:241:19)
2023-11-10 11:43:22.637 - error: host.ioBroker Caught by controller[1]: at Zigbee.deleteState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:5882:19)
2023-11-10 11:43:22.637 - error: host.ioBroker Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.zigbee/lib/exclude.js:111:34
2023-11-10 11:43:22.638 - error: host.ioBroker instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2023-11-10 11:43:22.638 - info: host.ioBroker Restart adapter system.adapter.zigbee.0 because enabled

@RedGreenChilli
Copy link
Author

Still same problem in V1.8.24

@arteck
Copy link
Collaborator

arteck commented Nov 15, 2023

das ist ein js-controller problem..

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

4 participants