Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nach Neuinstallation läuft Java nicht mehr

    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

    Nach Neuinstallation läuft Java nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • UncleSam
      UncleSam Developer @RDE last edited by

      @RDE sagte in Nach Neuinstallation läuft Java nicht mehr:

      Wer kann mir helfen herauszufinden was das Problem ist.

      Wie wär's damit, das Script zu posten? Und wie @Homoran gesagt hat: in Code Tags (</> Symbol in der Toolbar).

      R 2 Replies Last reply Reply Quote 0
      • R
        RDE @UncleSam last edited by Homoran

        @UncleSam

        createState('haushalt.waschmaschine', 0, {read: true, write: true, type: "number", min: 0, max: 2, def: 0, role: "", states: {0:"Aus",1:"An",2:"Fertig"}});
        createState('haushalt.trockner', 0, {read: true, write: true, type: "number", min: 0, max: 2, def: 0, role: "", states: {0:"Aus",1:"An",2:"Fertig"}});
        

        MOD-Edit: code-tags korrigiert

        1 Reply Last reply Reply Quote 0
        • R
          RDE @UncleSam last edited by

          @UncleSam Wie gesagt es läuft gar kein Script, auch nicht dieses einfache!

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @RDE last edited by Homoran

            @RDE sagte in Nach Neuinstallation läuft Java nicht mehr:

            @UncleSam Wie gesagt es läuft gar kein Script, auch nicht dieses einfache!

            Und was steht im log???

            Ist das das ganze Script?
            Was soll da laufen?

            R 1 Reply Last reply Reply Quote 0
            • R
              RDE @Homoran last edited by Homoran

              @Homoran Hier das Logfile

              javascript.0	2021-01-10 13:31:28.691	error	(20491) at processTicksAndRejections (internal/process/task_queues.js:97:5)
              javascript.0	2021-01-10 13:31:28.691	error	(20491) at runMicrotasks (<anonymous>)
              javascript.0	2021-01-10 13:31:28.690	error	(20491) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
              javascript.0	2021-01-10 13:31:28.690	error	(20491) at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
              javascript.0	2021-01-10 13:31:28.689	error	(20491) at /opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:616:17
              javascript.0	2021-01-10 13:31:28.689	error	(20491) at /opt/iobroker/node_modules/iobroker.javascript/main.js:1140:17
              javascript.0	2021-01-10 13:31:28.688	error	(20491) at /opt/iobroker/node_modules/iobroker.javascript/main.js:1559:17
              javascript.0	2021-01-10 13:31:28.688	error	(20491) at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1503:37)
              javascript.0	2021-01-10 13:31:28.687	error	(20491) at createVM (/opt/iobroker/node_modules/iobroker.javascript/main.js:1280:28)
              javascript.0	2021-01-10 13:31:28.687	error	(20491) at Object.createScript (vm.js:261:10)
              javascript.0	2021-01-10 13:31:28.686	error	(20491) at new Script (vm.js:88:7)
              javascript.0	2021-01-10 13:31:28.686	error	(20491) SyntaxError: Unexpected token ':'
              javascript.0	2021-01-10 13:31:28.685	error	(20491) ^
              javascript.0	2021-01-10 13:31:28.685	error	(20491) "common": {
              javascript.0	2021-01-10 13:31:28.683	error	at script.js.RDE_-_Produktive.Prouktive_Objekte.Objekte_Haushalt_anlegen:15
              javascript.0	2021-01-10 13:31:28.683	error	(20491) script.js.RDE_-_Produktive.Prouktive_Objekte.Objekte_Haushalt_anlegen compile failed:
              javascript.0	2021-01-10 13:31:28.673	info	(20491) Start javascript script.js.RDE_-_Produktive.Prouktive_Objekte.Objekte_Haushalt_anlegen
              javascript.0	2021-01-10 13:31:28.644	info	(20491) Stop script script.js.RDE_-_Produktive.Prouktive_Objekte.Objekte_Haushalt_anlegen
              
              

              Mod-Edit: Code-tags korrigiert!

              Homoran UncleSam 2 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @RDE last edited by

                @RDE sagte in Nach Neuinstallation läuft Java nicht mehr:

                Hier das Logfile

                gut: da steht:

                javascript.0 2021-01-10 13:31:28.683 error (20491) script.js.RDE_-Produktive.Prouktive_Objekte.Objekte_Haushalt_anlegen compile failed: at script.js.RDE-_Produktive.Prouktive_Objekte.Objekte_Haushalt_anlegen:15

                dein gepostetes Script besteht aber angeblich nur aus zwei Zeilen

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

                  @RDE Hast du noch globale Skripte? Dazu musst du möglicherweise die Expertenansicht im JavaScript Baum (links) aktivieren.

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    RDE @UncleSam last edited by

                    @UncleSam ![alt text](df029add-ae6b-4b11-99d2-8f4b77b23c4f-image.png image url)

                    Meintest du das?

                    paul53 UncleSam 2 Replies Last reply Reply Quote 0
                    • R
                      RDE @Homoran last edited by

                      @Homoran Ja, das Script besteht aus 2 Zeilen wie gepostet, der Name des Scripts lautet "Objekte_Haushalt_anlegen"

                      1 Reply Last reply Reply Quote 0
                      • paul53
                        paul53 @RDE last edited by

                        @RDE sagte:

                        Meintest du das?

                        Nein, Tab "Skripte"

                        JS_global.JPG

                        R 2 Replies Last reply Reply Quote 0
                        • UncleSam
                          UncleSam Developer @RDE last edited by UncleSam

                          @RDE Nein, im Skripte Tab. Dort wo du die Auflistung der Skripte siehst, gibt es in der Expertenansicht einen Ordner "global" oder so. Hast du dort etwas drin?

                          Edit: Genau was @paul53 geschrieben hat

                          1 Reply Last reply Reply Quote 0
                          • R
                            RDE @paul53 last edited by

                            @paul53 ![alt text](4286f5ea-9039-425d-9323-e1c42fbc0137-image.png image url)

                            Kein Global Ordner mit Skripten. Den Rest hatte ich aus einem Export importiert.

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @RDE last edited by

                              @RDE sagte in Nach Neuinstallation läuft Java nicht mehr:

                              Kein Global Ordner mit Skripten.

                              @UncleSam sagte in Nach Neuinstallation läuft Java nicht mehr:

                              Dazu musst du möglicherweise die Expertenansicht im JavaScript Baum (links) aktivieren.

                              1 Reply Last reply Reply Quote 0
                              • R
                                RDE @paul53 last edited by

                                @paul53 wollte jetzt Ordner "global / common" anlegen. Fehlermeldung das der Ordner schon da ist.
                                Jetzt sehe ich ihn plötzlich, darin ist auch ein Script, welches ich jetzt gestoppt habe

                                ![alt text](image url)7a99fdd7-b30a-4b5a-b749-9a8a08689440-image.png

                                paul53 1 Reply Last reply Reply Quote 0
                                • paul53
                                  paul53 @RDE last edited by

                                  @RDE sagte:

                                  Script, welches ich jetzt gestoppt habe

                                  Dann ist auch der Error-Log weg?

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate
                                  FAQ Cloud / IOT
                                  HowTo: Node.js-Update
                                  HowTo: Backup/Restore
                                  Downloads
                                  BLOG

                                  995
                                  Online

                                  31.9k
                                  Users

                                  80.2k
                                  Topics

                                  1.3m
                                  Posts

                                  java-adapter
                                  4
                                  17
                                  768
                                  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