NEWS
SOLVED [GELÖST] Cannot read property 'split' of null
-
Hallo zusammen,
"uncaught exception: Cannot read property 'split' of null"
Bin mir nicht sicher ob das Problem m Zusammenhang mit den Updates von gestern steht......host.raspberrypi 2019-10-12 14:03:48.342 error Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7) host.raspberrypi 2019-10-12 14:03:48.341 error Caught by controller[0]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49) host.raspberrypi 2019-10-12 14:03:48.341 error Caught by controller[0]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23) host.raspberrypi 2019-10-12 14:03:48.340 error Caught by controller[0]: at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:17:75163) host.raspberrypi 2019-10-12 14:03:48.340 error Caught by controller[0]: at adapter.objects.getObjectView (/opt/iobroker/node_modules/iobroker.iot/lib/alexaSmartHomeV2.js:2127:49) host.raspberrypi 2019-10-12 14:03:48.339 error Caught by controller[0]: TypeError: Cannot read property 'split' of null iot.0 2019-10-12 14:03:48.277 info (16814) Terminated (NO_ERROR): Without reason iot.0 2019-10-12 14:03:48.275 info (16814) terminating iot.0 2019-10-12 14:03:47.999 error (16814) TypeError: Cannot read property 'split' of null at adapter.objects.getObjectView (/opt/iobroker/node_modules/iobroker.iot/lib/alexaSmartHomeV2.js:2127:49) at (anonymous function).(anon iot.0 2019-10-12 14:03:47.998 error (16814) uncaught exception: Cannot read property 'split' of null iot.0 2019-10-12 14:03:43.338 info (16814) Connecting with xxxcxxxxxxxxxxxxxxx.iot.eu-west-1.amazonaws.com iot.0 2019-10-12 14:03:43.258 info (16814) starting. Version 1.1.8 in /opt/iobroker/node_modules/iobroker.iot, node: v10.16.0 sql.0 2019-10-12 14:03:38.702 info (1040) enabled logging of system.adapter.iot.0.memRss, Alias=false
Was mache ich falsch?
Danke und Gruß
LausiD -
@dslraser @FredF
Vielen Dank für Eure UnterstützungHabe mir mal alexaSmartHomeV2.js angeschaut und das Problem gefunden.
Bow was es alles gibt....die function sensor hatte als Inhalt ein null[ "fhem.0.HUEDevice12.state", "fhem.0.HUEDevice3.state", "fhem.0.HUEDevice4.state", null, null ]
und das habe ich mir mit dem FHEM Adapter eingefangen
Also alles gut mit dem iot AdapterDanke und Gruß
LausiD -
@LausiD sagte in [IOT] Cannot read property 'split' of null:
Hallo zusammen,
Ich habe den Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
-
Niemand eine Idee??
-
Bin mit meinem Latein am Ende
Instanz und Adapter entfernt. Neuinstallation und gleiches Problem.
Wer kann helfen?Danke und Gruß
LausiD -
@LausiD
Schreib doch mal was du hast:
node -v
nodejs -v
npm -vund
welcher js controller
welcher iot Adpaterversion -
@FredF
Stimmt, könnte hilfreich sein. Sorry, hätte ich auch drauf kommen können
node -v 10.16.0
nodejs -v 10.16.0
npm - v 6.9.0
js-controller 2.0.35
iot Adapter 1.1.8 -
@LausiD
Hast Du mal den Fixer drüber laufen lassen ? -
@dslraser @FredF
Vielen Dank für Eure UnterstützungHabe mir mal alexaSmartHomeV2.js angeschaut und das Problem gefunden.
Bow was es alles gibt....die function sensor hatte als Inhalt ein null[ "fhem.0.HUEDevice12.state", "fhem.0.HUEDevice3.state", "fhem.0.HUEDevice4.state", null, null ]
und das habe ich mir mit dem FHEM Adapter eingefangen
Also alles gut mit dem iot AdapterDanke und Gruß
LausiD