Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
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

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    9
    1
    81

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.4k

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

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

Scheduled Pinned Locked Moved Error/Bug
error im logjavasript
8 Posts 4 Posters 2.2k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    allvaron
    wrote on last edited by 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 Replies Last reply
    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
      wrote on last edited by
      #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 Reply Last reply
      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
        wrote on last edited by
        #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 Reply Last reply
        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
          wrote on last edited by 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 Reply Last reply
          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
            wrote on last edited by
            #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 Reply Last reply
            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
              wrote on last edited by
              #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 Reply Last reply
              0
              • arteckA Offline
                arteckA Offline
                arteck
                Developer Most Active
                wrote on last edited by
                #7

                @allvaron poste mal das script

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

                crunchipC 1 Reply Last reply
                0
                • arteckA arteck

                  @allvaron poste mal das script

                  crunchipC Away
                  crunchipC Away
                  crunchip
                  Forum Testing Most Active
                  wrote on last edited by
                  #8

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

                  umgestiegen von Proxmox auf Unraid

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  743

                  Online

                  32.5k

                  Users

                  81.7k

                  Topics

                  1.3m

                  Posts
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                  ioBroker Community 2014-2025
                  logo
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Home
                  • Recent
                  • Tags
                  • Unread 0
                  • Categories
                  • Unreplied
                  • Popular
                  • GitHub
                  • Docu
                  • Hilfe