Announcement

Collapse
No announcement yet.

Error in the log since last update

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error in the log since last update

    Hi Wim,

    since the very last update i have these in my log

    10/13/2020 19:04:43


    JowiHue
    Error
    Error: (InitialGroups):Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxx]].toarray' not found.
    10/13/2020 19:00:39


    JowiHue
    Error
    Error: (InitialGroups):Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxx]].toarray' not found.
    10/13/2020 18:58:38


    JowiHue
    Error
    Error: (InitialGroups):Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxx]].toarray' not found.
    10/13/2020 18:57:20


    JowiHue
    Error
    Error: (InitialGroups):Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxx]].toarray' not found.
    10/13/2020 18:43:50


    JowiHue
    Error
    Error: (InitialGroups):Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxx]].toarray' not found.
    10/13/2020 18:30:20


    JowiHue
    Error
    Error: (InitialGroups):Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxx]].toarray' not found.
    10/13/2020 18:16:50


    JowiHue
    Error
    Error: (InitialGroups):Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxx]].toarray' not found.
    10/13/2020 18:03:20


    JowiHue
    Error
    Error: (InitialGroups):Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxx]].toarray' not found.
    10/13/2020 17:49:50


    JowiHue
    Error
    Error: (InitialGroups):Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxx]].toarray' not found.
    10/13/2020 17:36:20


    JowiHue
    Error
    Error: (InitialGroups):Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxx]].toarray' not found.

    #2
    more info

    19:04:43.3399590 -- (MyGroups.InitialGroups) Error: Start:Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxxx]].toarray' not found.
    19:04:43.3427160 -- (MyGroups.InitialGroups) System.MissingMethodException(0x80131512): Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].toarray' not found.
    at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x00710] in <9f0df102fe6e4cfea29d2e46f585d8a5>:0
    at Microsoft.VisualBasic.CompilerServices.LateBinding.LateSet (System.Object o, System.Type objType, System.String name, System.Object[] args, System.String[] paramnames) [0x00082] in <d1dad1a8bba2460091cc7ed2c3f04e36>:0
    at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSe t (System.Object Instance, System.Type Type, System.String MemberName, System.Object[] Arguments, System.String[] ArgumentNames, System.Type[] TypeArguments) [0x00001] in <d1dad1a8bba2460091cc7ed2c3f04e36>:0
    at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSe tComplex (System.Object Instance, System.Type Type, System.String MemberName, System.Object[] Arguments, System.String[] ArgumentNames, System.Type[] TypeArguments, System.Boolean OptimisticSet, System.Boolean RValueBase) [0x00001] in <d1dad1a8bba2460091cc7ed2c3f04e36>:0
    at HSPI_JowiHue.MyGroups.InitialGroups (System.String BridgeSerial) [0x00315] in <a3383d3b40344d9ebfb5dab166589244>:0

    Comment


      #3
      That is really a weird one.... it is a standard statement for .NET. I really do not like the differences between .NET and MONO .
      Did you move back to the version 4.0.1.5 again? Will check for an alternative here to get things done in a different way....
      -- Wim

      Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
      650 devices ---- 336 events ----- 40 scripts

      Comment


        #4
        No I am still on 4.0.1.8.

        I didn’t check intensively , but it doesn’t seems to affect anything in my setup for now.

        Comment


          #5
          seems to happens every 12-14 minutes

          Comment


            #6
            The same thing happends for me.
            HS4 v4.1.8.0,
            Ubuntu 20.04.1 LTS,
            Mono 6.12.0.90
            JowiHue 4.0.2.8

            10/16/2020 14:16:46
            JowiHue
            Error
            Error: (InitialGroups):Method 'System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxx]].toarray' not found.

            Comment


              #7
              I have changed it here in my code already. It should be solved with the next version. It is only occurring on Linux environments.

              Thanks,

              Wim
              -- Wim

              Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
              650 devices ---- 336 events ----- 40 scripts

              Comment


                #8
                Resolved in the last version thanks!!

                Comment


                  #9
                  And the next version is waiting - once HST publishes it
                  -- Wim

                  Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
                  650 devices ---- 336 events ----- 40 scripts

                  Comment


                    #10
                    Hi, the first error was fixed, but now I have a new one introduced with ver. 4.0.2.9, but also present in 4.0.2.10:

                    I have a script with the following line in it:

                    hs.PluginFunction("JowiHue", "", "SetLightsHueSat", New Object() {False, "Bloom", Nothing, Nothing, 220, 20})




                    This results in the following in the log:
                    10/24/2020 18:49:41 JowiHue Warning Warning: Please doublecheck parameters with documentation?
                    10/24/2020 18:49:41 JowiHue Error Error: (PluginFunction): calling SetLightsHueSat: Object reference not set to an instance of an object



                    I have also tried with:
                    hs.PluginFunction("JowiHue", "", "SetLightsHueSat", {False, "Bloom", Nothing, Nothing, 220, 20})

                    To no avail.

                    Comment


                      #11
                      I am using exactly the same script command here AND a light called "Bloom". Ran it here and it does not show the error. But if I replace "Bloom" by "bloom" the error is thrown. The name is thus case sensitive. Is the lights name a one on one match with the devices name?

                      I will update the plugin so it will throw a different error if the name is not found, so it is a clearer message. Will be in the next version.

                      Thanks,

                      Wim
                      -- Wim

                      Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
                      650 devices ---- 336 events ----- 40 scripts

                      Comment

                      Working...
                      X