Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] yahka startet nicht - uncaught exception

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] yahka startet nicht - uncaught exception

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maxp last edited by maxp

      Hallo,

      seit einer Weile kommt der yahka Adapter nicht mehr hoch. Er schmiert direkt nach oder beim starten ab:

      yahka.0	2021-01-27 18:37:40.718	warn	(20344) Terminated (UNCAUGHT_EXCEPTION): Without reason
      yahka.0	2021-01-27 18:37:40.718	info	(20344) terminating
      yahka.0	2021-01-27 18:37:40.717	info	(20344) cleaned up ...
      yahka.0	2021-01-27 18:37:40.717	info	(20344) cleaning up ...
      yahka.0	2021-01-27 18:37:40.223	error	(20344) Cannot read property 'homekit.min' of undefined
      yahka.0	2021-01-27 18:37:40.223	error	at THomeKitBridge../yahka.homekit-bridge.ts.THomeKitBridge.createDevice (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.homekit-bridge.ts:121:33)
      yahka.0	2021-01-27 18:37:40.223	error	at YahkaServiceInitializer../yahka.homekit-service.ts.YahkaServiceInitializer.initServices (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.homekit-service.ts:21:18)
      yahka.0	2021-01-27 18:37:40.223	error	at YahkaServiceInitializer../yahka.homekit-service.ts.YahkaServiceInitializer.initService (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.homekit-service.ts:55:18)
      yahka.0	2021-01-27 18:37:40.223	error	at YahkaServiceInitializer../yahka.homekit-service.ts.YahkaServiceInitializer.initCharacteristic (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.homekit-service.ts:100:57)
      yahka.0	2021-01-27 18:37:40.223	error	at TIOBrokerAdapter../yahka.ioBroker-adapter.ts.TIOBrokerAdapter.CreateBinding (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.ioBroker-adapter.ts:177:44)
      yahka.0	2021-01-27 18:37:40.223	error	at Object.createConversionFunction (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/functions.factory.ts:21:53)
      yahka.0	2021-01-27 18:37:40.223	error	at Object../yahka.functions/functions.import.ts.functions_factory_1.conversionFactory.scaleInt (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/functions.import.ts:32:53)
      yahka.0	2021-01-27 18:37:40.223	error	at new TIoBrokerConversion_Scale_Rounded (/opt/iobroker/node_modules/iobroker.yahka/main.js:1888:42)
      yahka.0	2021-01-27 18:37:40.223	error	at TIoBrokerConversion_Scale_Rounded.TIoBrokerConversion_Scale [as constructor] (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/conversion.scale.ts:21:40)
      yahka.0	2021-01-27 18:37:40.223	error	at Function../yahka.functions/conversion.scale.ts.TIoBrokerConversion_Scale.isScaleParameter (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/conversion.scale.ts:13:27)
      yahka.0	2021-01-27 18:37:40.223	error	(20344) TypeError: Cannot read property 'homekit.min' of undefined
      yahka.0	2021-01-27 18:37:40.165	error	(20344) unhandled promise rejection: Cannot read property 'homekit.min' of undefined
      yahka.0	2021-01-27 18:37:40.165	error	(20344) 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().
      

      Die letzte laufende Version war v0.9.1. Die läuft auch nicht mehr:

      host.iobroker	2021-01-27 18:02:40.153	error	instance system.adapter.yahka.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.iobroker	2021-01-27 18:02:40.153	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.yahka/main.js:84:18
      host.iobroker	2021-01-27 18:02:40.153	error	Caught by controller[0]: at __webpack_require__ (/opt/iobroker/node_modules/iobroker.yahka/main.js:20:30)
      host.iobroker	2021-01-27 18:02:40.153	error	Caught by controller[0]: at Object../main.ts (/opt/iobroker/node_modules/iobroker.yahka/main.js:290:30)
      host.iobroker	2021-01-27 18:02:40.152	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.yahka/main.js:271:17)
      host.iobroker	2021-01-27 18:02:40.152	error	Caught by controller[0]: at __webpack_require__ (/opt/iobroker/node_modules/iobroker.yahka/main.js:20:30)
      host.iobroker	2021-01-27 18:02:40.152	error	Caught by controller[0]: at Object../yahka.ioBroker-adapter.ts (/opt/iobroker/node_modules/iobroker.yahka/main.js:2326:16)
      host.iobroker	2021-01-27 18:02:40.152	error	Caught by controller[0]: at __webpack_require__ (/opt/iobroker/node_modules/iobroker.yahka/main.js:20:30)
      host.iobroker	2021-01-27 18:02:40.152	error	Caught by controller[0]: at Object../yahka.homekit-bridge.ts (/opt/iobroker/node_modules/iobroker.yahka/main.js:1764:25)
      host.iobroker	2021-01-27 18:02:40.152	error	Caught by controller[0]: at Object.importHAPCommunityTypesAndFixes (/opt/iobroker/node_modules/iobroker.yahka/main.js:382:26)
      host.iobroker	2021-01-27 18:02:40.152	error	Caught by controller[0]: at module.exports (/opt/iobroker/node_modules/hap-nodejs-community-types/types.js:939:45)
      host.iobroker	2021-01-27 18:02:40.152	error	Caught by controller[0]: TypeError: Cannot read property 'generate' of undefined
      host.iobroker	2021-01-27 18:02:40.152	error	Caught by controller[0]: ^
      host.iobroker	2021-01-27 18:02:40.152	error	Caught by controller[0]: CommunityTypes.InputVoltageAC.UUID = UUID.generate('CommunityTypes:usagedevice:InputVoltageAC');
      host.iobroker	2021-01-27 18:02:40.152	error	Caught by controller[0]: /opt/iobroker/node_modules/hap-nodejs-community-types/types.js:939
      

      Was kann das sein?

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Linux Container auf Core i5
      Arbeitsspeicher: 16 GB
      Festplattenart: SSD
      Betriebssystem: Linux
      Node-Version: 10.23.1
      Nodejs-Version: 10.x.x
      NPM-Version: 6.14.10
      Installationsart: Skript
      Image genutzt: Nein
      Ort/Name der Imagedatei: Script: https://iobroker.net/install.sh

      Danke Euch!
      Max

      UncleSam 1 Reply Last reply Reply Quote 0
      • UncleSam
        UncleSam Developer @maxp last edited by

        @maxp Ich habe keine Ahnung, aber vielleicht hilft ein Update auf Node 12

        M 1 Reply Last reply Reply Quote 0
        • M
          maxp @UncleSam last edited by

          @unclesam ...war leider nix. Mit node 12.20.1 das selbe, uncaught exception. Kann es daran liegen, dass im yahka das verwendete Objekt jeweils ein alias.0.* ist?

          UncleSam 1 Reply Last reply Reply Quote 0
          • UncleSam
            UncleSam Developer @maxp last edited by

            @maxp Könnte gut sein. Ich würde ein Issue auf GitHub erfassen, dann weiss der Entwickler Bescheid.

            M 1 Reply Last reply Reply Quote 0
            • wendy2702
              wendy2702 last edited by

              Welche Version von YAHKA ist das denn?

              Bei mir läuft die 0.13.1 mit Node 12 problem los.

              1 Reply Last reply Reply Quote 0
              • M
                maxp @UncleSam last edited by maxp

                @wendy2702
                0.13.1., die Versionen davor laufen auch nicht mehr. Der Adapter lief sehr lange fast tadellos, jetzt halt gar nicht mehr.

                wendy2702 1 Reply Last reply Reply Quote 0
                • wendy2702
                  wendy2702 @maxp last edited by

                  @maxp

                  Ich würde mal folgendes Versuchen:

                  Instanz löschen
                  Adapter löschen
                  iobroker restart bzw. Rechner neu starten
                  Adapter installieren
                  Instanz hinzufügen

                  Von allem die logs sichern um die bei Bedarf hier posten zu können.

                  M 2 Replies Last reply Reply Quote 0
                  • M
                    maxp @wendy2702 last edited by

                    @wendy2702
                    Ging einfacher, Problem waren die Aliases. Lasse ich den yahka direkt auf die MQTT Objekte zugreifen, läufts.

                    wendy2702 von.cartman 2 Replies Last reply Reply Quote 0
                    • M
                      maxp @wendy2702 last edited by

                      @wendy2702
                      ...aber herzlichen Dank!

                      1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 @maxp last edited by

                        @maxp sagte in yahka startet nicht - uncaught exception:

                        @wendy2702
                        Ging einfacher, Problem waren die Aliases. Lasse ich den yahka direkt auf die MQTT Objekte zugreifen, läufts.

                        Danke für die Rückmeldung!

                        1 Reply Last reply Reply Quote 0
                        • von.cartman
                          von.cartman @maxp last edited by

                          @maxp hi, kannst du bitte genauer beschreiben wie du es gelöst hast?

                          Danke

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            maxp @von.cartman last edited by

                            @von-cartman

                            Es gab bei mir aliases, die noch kein Update vom roh-Objekt hatten. Nach einer Werteaktualisierung der Objekte ging es. Die Lösung war damals, nach einem ioBroker Restart ein Weilchen zu warten, bis alle Objekte mit Aliases von den jeweiligen Adaptern und Scripts ein Update hatten, dann den yahka erst starten.
                            Mittlerweile läufts aber normal und ohne Probleme. In der Zwischenzeit gab es ein paar Updates vom ioBroker selbst, yahka läuft bei mir aktuell in Version 0.13.2, node.js 12.22.7.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            830
                            Online

                            31.8k
                            Users

                            80.0k
                            Topics

                            1.3m
                            Posts

                            4
                            12
                            812
                            Loading More Posts
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes
                            Reply
                            • Reply as topic
                            Log in to reply
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                            The ioBroker Community 2014-2023
                            logo