Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [Gelöst] TypeError: Cannot read property '0' of null

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.1k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

[Gelöst] TypeError: Cannot read property '0' of null

Geplant Angeheftet Gesperrt Verschoben Error/Bug
error im logjavasript
8 Beiträge 4 Kommentatoren 2.2k Aufrufe 4 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • A Offline
    A Offline
    allvaron
    schrieb am zuletzt editiert von allvaron
    #1
    Systemdata Bitte Ausfüllen
    Hardwaresystem: Synology DS 920+
    Arbeitsspeicher: 20 GB
    Festplattenart: HDD
    Betriebssystem: Ubuntu/Windows/Mac
    Node-Version: V14.18.2
    Nodejs-Version: V14.18.2
    NPM-Version: 6.14.15
    Installationsart: Skript/Manuell
    Image genutzt: Ja/Nein
    Ort/Name der Imagedatei: Link

    Guten Morgen allerseits,

    seit zwei Tagen plagt mich im Log eine Fehlermeldung, die ich nicht zuordnen kann.

    022-01-19 07:04:59.206 - info: javascript.0 (32125) Start javascript script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_Aufwecken_Alexa
    2022-01-19 07:04:59.210 - info: javascript.0 (32125) script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_Aufwecken_Alexa: registered 1 subscription and 0 schedules
    2022-01-19 07:04:59.210 - info: javascript.0 (32125) Start javascript script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_keine_Bewegung
    2022-01-19 07:04:59.213 - info: javascript.0 (32125) script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_keine_Bewegung: registered 1 subscription and 0 schedules
    2022-01-19 07:05:00.042 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 started with pid 32140
    2022-01-19 07:05:00.915 - error: javascript.0 (32125) Error in request callback: TypeError: Cannot read property '0' of null
    2022-01-19 07:05:00.934 - info: dwd.0 (32140) starting. Version 2.7.7 in /opt/iobroker/node_modules/iobroker.dwd, node: v14.18.2, js-controller: 3.3.22
    2022-01-19 07:05:01.787 - info: dwd.0 (32140) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
    2022-01-19 07:05:02.304 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
    2022-01-19 07:05:23.330 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
    2022-01-19 07:06:11.653 - info: javascript.0 (32125) Start javascript script.js.common.Telefon.Anrufer_Ansage_Alexa
    2022-01-19 07:06:11.667 - info: javascript.0 (32125) script.js.common.Telefon.Anrufer_Ansage_Alexa: registered 1 subscription and 0 schedules
    2022-01-19 07:06:23.350 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
    2022-01-19 07:07:23.310 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
    2022-01-19 07:08:00.204 - error: javascript.0 (32125) Error in request callback: TypeError: Cannot read property '0' of null
    2022-01-19 07:08:23.315 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
    2022-01-19 07:08:24.079 - info: synology.0 (182) State value to set for "synology.0.DiskStationManager.vol_info.volume_1.used_size" has to be type "number" but received type "string"
    2022-01-19 07:08:46.468 - info: synology.0 (182) State value to set for "synology.0.DiskStationManager.vol_info.volume_1.used_size" has to be type "number" but received type "string"
    2022-01-19 07:09:23.301 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
    2022-01-19 07:10:00.043 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 started with pid 32443
    2022-01-19 07:10:00.910 - info: dwd.0 (32443) starting. Version 2.7.7 in /opt/iobroker/node_modules/iobroker.dwd, node: v14.18.2, js-controller: 3.3.22
    2022-01-19 07:10:01.668 - info: dwd.0 (32443) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
    2022-01-19 07:10:02.187 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
    

    Der Fehler "TypeError: Cannot read property '0' of null" tritt ohne sichtlichen Zusammenhang mit Scripten oder Geräten auf.

    Weiß vielleicht jemand Rat?

    Danke vorab und Gruß

    arteckA Jey CeeJ 2 Antworten Letzte Antwort
    0
    • A allvaron
      Systemdata Bitte Ausfüllen
      Hardwaresystem: Synology DS 920+
      Arbeitsspeicher: 20 GB
      Festplattenart: HDD
      Betriebssystem: Ubuntu/Windows/Mac
      Node-Version: V14.18.2
      Nodejs-Version: V14.18.2
      NPM-Version: 6.14.15
      Installationsart: Skript/Manuell
      Image genutzt: Ja/Nein
      Ort/Name der Imagedatei: Link

      Guten Morgen allerseits,

      seit zwei Tagen plagt mich im Log eine Fehlermeldung, die ich nicht zuordnen kann.

      022-01-19 07:04:59.206 - info: javascript.0 (32125) Start javascript script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_Aufwecken_Alexa
      2022-01-19 07:04:59.210 - info: javascript.0 (32125) script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_Aufwecken_Alexa: registered 1 subscription and 0 schedules
      2022-01-19 07:04:59.210 - info: javascript.0 (32125) Start javascript script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_keine_Bewegung
      2022-01-19 07:04:59.213 - info: javascript.0 (32125) script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_keine_Bewegung: registered 1 subscription and 0 schedules
      2022-01-19 07:05:00.042 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 started with pid 32140
      2022-01-19 07:05:00.915 - error: javascript.0 (32125) Error in request callback: TypeError: Cannot read property '0' of null
      2022-01-19 07:05:00.934 - info: dwd.0 (32140) starting. Version 2.7.7 in /opt/iobroker/node_modules/iobroker.dwd, node: v14.18.2, js-controller: 3.3.22
      2022-01-19 07:05:01.787 - info: dwd.0 (32140) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2022-01-19 07:05:02.304 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      2022-01-19 07:05:23.330 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
      2022-01-19 07:06:11.653 - info: javascript.0 (32125) Start javascript script.js.common.Telefon.Anrufer_Ansage_Alexa
      2022-01-19 07:06:11.667 - info: javascript.0 (32125) script.js.common.Telefon.Anrufer_Ansage_Alexa: registered 1 subscription and 0 schedules
      2022-01-19 07:06:23.350 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
      2022-01-19 07:07:23.310 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
      2022-01-19 07:08:00.204 - error: javascript.0 (32125) Error in request callback: TypeError: Cannot read property '0' of null
      2022-01-19 07:08:23.315 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
      2022-01-19 07:08:24.079 - info: synology.0 (182) State value to set for "synology.0.DiskStationManager.vol_info.volume_1.used_size" has to be type "number" but received type "string"
      2022-01-19 07:08:46.468 - info: synology.0 (182) State value to set for "synology.0.DiskStationManager.vol_info.volume_1.used_size" has to be type "number" but received type "string"
      2022-01-19 07:09:23.301 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
      2022-01-19 07:10:00.043 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 started with pid 32443
      2022-01-19 07:10:00.910 - info: dwd.0 (32443) starting. Version 2.7.7 in /opt/iobroker/node_modules/iobroker.dwd, node: v14.18.2, js-controller: 3.3.22
      2022-01-19 07:10:01.668 - info: dwd.0 (32443) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2022-01-19 07:10:02.187 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      

      Der Fehler "TypeError: Cannot read property '0' of null" tritt ohne sichtlichen Zusammenhang mit Scripten oder Geräten auf.

      Weiß vielleicht jemand Rat?

      Danke vorab und Gruß

      arteckA Offline
      arteckA Offline
      arteck
      Developer Most Active
      schrieb am zuletzt editiert von
      #2

      @allvaron sagte in TypeError: Cannot read property '0' of null:

      error: javascript.0 (32125) Error in request callback: TypeError: Cannot read property '0' of null

      es kommst schon mal von einem Script..
      verarbeitest du irgendwo ein array dass nicht gefüllt ist und du drüber interieren willst?

      zigbee hab ich, zwave auch, nuc's genauso und HA auch

      1 Antwort Letzte Antwort
      0
      • A allvaron
        Systemdata Bitte Ausfüllen
        Hardwaresystem: Synology DS 920+
        Arbeitsspeicher: 20 GB
        Festplattenart: HDD
        Betriebssystem: Ubuntu/Windows/Mac
        Node-Version: V14.18.2
        Nodejs-Version: V14.18.2
        NPM-Version: 6.14.15
        Installationsart: Skript/Manuell
        Image genutzt: Ja/Nein
        Ort/Name der Imagedatei: Link

        Guten Morgen allerseits,

        seit zwei Tagen plagt mich im Log eine Fehlermeldung, die ich nicht zuordnen kann.

        022-01-19 07:04:59.206 - info: javascript.0 (32125) Start javascript script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_Aufwecken_Alexa
        2022-01-19 07:04:59.210 - info: javascript.0 (32125) script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_Aufwecken_Alexa: registered 1 subscription and 0 schedules
        2022-01-19 07:04:59.210 - info: javascript.0 (32125) Start javascript script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_keine_Bewegung
        2022-01-19 07:04:59.213 - info: javascript.0 (32125) script.js.common.Beleuchtung.Beleuchtung_Deckenlampe_Henri_keine_Bewegung: registered 1 subscription and 0 schedules
        2022-01-19 07:05:00.042 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 started with pid 32140
        2022-01-19 07:05:00.915 - error: javascript.0 (32125) Error in request callback: TypeError: Cannot read property '0' of null
        2022-01-19 07:05:00.934 - info: dwd.0 (32140) starting. Version 2.7.7 in /opt/iobroker/node_modules/iobroker.dwd, node: v14.18.2, js-controller: 3.3.22
        2022-01-19 07:05:01.787 - info: dwd.0 (32140) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
        2022-01-19 07:05:02.304 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
        2022-01-19 07:05:23.330 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
        2022-01-19 07:06:11.653 - info: javascript.0 (32125) Start javascript script.js.common.Telefon.Anrufer_Ansage_Alexa
        2022-01-19 07:06:11.667 - info: javascript.0 (32125) script.js.common.Telefon.Anrufer_Ansage_Alexa: registered 1 subscription and 0 schedules
        2022-01-19 07:06:23.350 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
        2022-01-19 07:07:23.310 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
        2022-01-19 07:08:00.204 - error: javascript.0 (32125) Error in request callback: TypeError: Cannot read property '0' of null
        2022-01-19 07:08:23.315 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
        2022-01-19 07:08:24.079 - info: synology.0 (182) State value to set for "synology.0.DiskStationManager.vol_info.volume_1.used_size" has to be type "number" but received type "string"
        2022-01-19 07:08:46.468 - info: synology.0 (182) State value to set for "synology.0.DiskStationManager.vol_info.volume_1.used_size" has to be type "number" but received type "string"
        2022-01-19 07:09:23.301 - info: go-e.0 (453) State value to set for "go-e.0.temperatures.tempereatureArray" has to be stringified but received type "object"
        2022-01-19 07:10:00.043 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 started with pid 32443
        2022-01-19 07:10:00.910 - info: dwd.0 (32443) starting. Version 2.7.7 in /opt/iobroker/node_modules/iobroker.dwd, node: v14.18.2, js-controller: 3.3.22
        2022-01-19 07:10:01.668 - info: dwd.0 (32443) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
        2022-01-19 07:10:02.187 - info: host.buanet-iobroker-neu instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
        

        Der Fehler "TypeError: Cannot read property '0' of null" tritt ohne sichtlichen Zusammenhang mit Scripten oder Geräten auf.

        Weiß vielleicht jemand Rat?

        Danke vorab und Gruß

        Jey CeeJ Online
        Jey CeeJ Online
        Jey Cee
        Developer
        schrieb am zuletzt editiert von
        #3

        @allvaron request wird genutzt um eine URL ab zu fragen. Das heist du solltest erst mal alle Skripte durschauen die irgendwas von einer URL holen.
        Der Fehler tritt innerhalb eines request Funktionsaufrufs statt, also suchst du nach so einer Funktion.

        Persönlicher Support
        Spenden -> paypal.me/J3YC33

        A 1 Antwort Letzte Antwort
        0
        • Jey CeeJ Jey Cee

          @allvaron request wird genutzt um eine URL ab zu fragen. Das heist du solltest erst mal alle Skripte durschauen die irgendwas von einer URL holen.
          Der Fehler tritt innerhalb eines request Funktionsaufrufs statt, also suchst du nach so einer Funktion.

          A Offline
          A Offline
          allvaron
          schrieb am zuletzt editiert von allvaron
          #4

          @jey-cee
          Top, danke. Hab den Übeltäter gefunden. Es lag an der Abfrage zum aktuellsten Tagesschau in 100 Sekunden Link für VIS.

          Worin besteht das Problem und wie kann ich es lösen?

          Jey CeeJ 1 Antwort Letzte Antwort
          0
          • A allvaron

            @jey-cee
            Top, danke. Hab den Übeltäter gefunden. Es lag an der Abfrage zum aktuellsten Tagesschau in 100 Sekunden Link für VIS.

            Worin besteht das Problem und wie kann ich es lösen?

            Jey CeeJ Online
            Jey CeeJ Online
            Jey Cee
            Developer
            schrieb am zuletzt editiert von
            #5

            @allvaron wie arteck schon geschrieben hat:

            @arteck sagte in TypeError: Cannot read property '0' of null:

            verarbeitest du irgendwo ein array dass nicht gefüllt ist und du drüber interieren willst?

            Persönlicher Support
            Spenden -> paypal.me/J3YC33

            A 1 Antwort Letzte Antwort
            0
            • Jey CeeJ Jey Cee

              @allvaron wie arteck schon geschrieben hat:

              @arteck sagte in TypeError: Cannot read property '0' of null:

              verarbeitest du irgendwo ein array dass nicht gefüllt ist und du drüber interieren willst?

              A Offline
              A Offline
              allvaron
              schrieb am zuletzt editiert von
              #6

              @jey-cee
              @arteck

              Danke für eure Hilfe. Das Problem zu lösen übersteigt meine Programmierkenntnisse :). Ich kämpfe mich mal durch den entsprechenden Thread, in dem ich das Script gefunden habe.

              LG

              1 Antwort Letzte Antwort
              0
              • arteckA Offline
                arteckA Offline
                arteck
                Developer Most Active
                schrieb am zuletzt editiert von
                #7

                @allvaron poste mal das script

                zigbee hab ich, zwave auch, nuc's genauso und HA auch

                crunchipC 1 Antwort Letzte Antwort
                0
                • arteckA arteck

                  @allvaron poste mal das script

                  crunchipC Abwesend
                  crunchipC Abwesend
                  crunchip
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von
                  #8

                  @arteck https://forum.iobroker.net/post/624359

                  umgestiegen von Proxmox auf Unraid

                  1 Antwort Letzte Antwort
                  0
                  Antworten
                  • In einem neuen Thema antworten
                  Anmelden zum Antworten
                  • Älteste zuerst
                  • Neuste zuerst
                  • Meiste Stimmen


                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  402

                  Online

                  32.5k

                  Benutzer

                  81.7k

                  Themen

                  1.3m

                  Beiträge
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                  ioBroker Community 2014-2025
                  logo
                  • Anmelden

                  • Du hast noch kein Konto? Registrieren

                  • Anmelden oder registrieren, um zu suchen
                  • Erster Beitrag
                    Letzter Beitrag
                  0
                  • Home
                  • Aktuell
                  • Tags
                  • Ungelesen 0
                  • Kategorien
                  • Unreplied
                  • Beliebt
                  • GitHub
                  • Docu
                  • Hilfe