Announcement

Collapse
No announcement yet.

Can't fix this error

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

  • Can't fix this error

    Hi,

    I keep getting the error below in a new plugin I' creating and don't know how to solve it. It does not break in VB.NET debugging mode On the other hand, it does not seem influence the working of the plugin, but it's occurs many time, so I have to get rid of it.

    Running script: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: startIndex-> at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType) at System.String.IndexOf(String value, Int32 startIndex) at A.c1b0f37609f28fb7afed8d440680e6db4.ce86a0a55d3661fa218b566b 5ba926ee0(String ceefe476d1f77adc790c7782141798e1f, Boolean ce791fe9d8290e0d18cd0af1e42db139a, Int32 c3fda549ce0b74c9ad9fc210b529b2226, String c0cf6c15fc505ce256a93afdc5f2268a9, Boolean cc5b1dd80b9769b83d5de72520f2500e0, String c18f60d71139b909e1bc745dcca77e3f9, String cc463bfced87bf099c3125a86fe30843e, Int32 c135c28f517be83dec993779636acd860, String cdba5e903fed69597b9572ece7ed2b748, Object c70fb72fe0bbd8641a8134e71b176a648, Int32 caafe238b1576633e332c6c566f5707f4)

    Thanks
    Regards,

    Rien du Pre
    The Netherlands
    Using:
    Homeseer PRO 3.0.0.435 on MacOS - Running a Mac Mini
    Plugin's:
    RFXCOM, Caddx, BLShutdown, BLLogMonitor, BLRadar, BLBackup, Log2Text, BLLAN, Z-Wave

  • #2
    It is sort of similar to an error posted a couple of days ago (I am thinking the 'startIndex' parameter name) to do with the status image and this also has a similar name http://forums.homeseer.com/showthread.php?p=1151888

    I have a feeling it is to do with the images and that is why you are not really seeing any ill effects with the plugin. I can't put my hand on the thread at the minute though.
    My Plugins:

    Pushover 3P | DoorBird 3P | Current Cost 3P | Velleman K8055 3P | LAMetric 3P | Garadget 3P | Hive 3P |
    Yeelight 3P | Nanoleaf 3P

    Comment


    • #3
      You could be right !! Can anyone of the HS development team shed some light on this.

      It gets even more strange that this error is now only happening if I enable my (Caddx) plugin (which is in development) and the RSfindmydevice both at the same time.

      PHP Code:
      feb-16 22:36:47         Error    Running scriptIndex was out of rangeMust be non-negative and less than the size of the collectionParameter namestartIndex-> at System.String.IndexOf(String valueInt32 startIndexInt32 countStringComparison comparisonTypeat System.String.IndexOf(String valueInt32 startIndexat A.c1b0f37609f28fb7afed8d440680e6db4.ce86a0a55d3661fa218b566b5ba926ee0(String ceefe476d1f77adc790c7782141798e1fBoolean ce791fe9d8290e0d18cd0af1e42db139aInt32 c3fda549ce0b74c9ad9fc210b529b2226String c0cf6c15fc505ce256a93afdc5f2268a9Boolean cc5b1dd80b9769b83d5de72520f2500e0String c18f60d71139b909e1bc745dcca77e3f9String cc463bfced87bf099c3125a86fe30843eInt32 c135c28f517be83dec993779636acd860String cdba5e903fed69597b9572ece7ed2b748Object c70fb72fe0bbd8641a8134e71b176a648Int32 caafe238b1576633e332c6c566f5707f4)
                         (
      System)_16-feb-2015 19:59:10.8755_CallBack Processing 
      Any help is more than welcome...

      Thanks
      Last edited by Rien du Pre; February 16th, 2015, 04:39 PM.
      Regards,

      Rien du Pre
      The Netherlands
      Using:
      Homeseer PRO 3.0.0.435 on MacOS - Running a Mac Mini
      Plugin's:
      RFXCOM, Caddx, BLShutdown, BLLogMonitor, BLRadar, BLBackup, Log2Text, BLLAN, Z-Wave

      Comment


      • #4
        If you want me to help , just tell me what kind of script it is?
        The error is normal with that kind of scripts in vb/dotnet , check if there is something with a blank space ....

        I know this error , I had this sometimes on a virtual machine , if it's not its in the script not in homseer believe me.....

        That error is a dotnet error it's normal , you did something wrong with the plugin , many programs what are wrong scripted or left blank space open etc get this error....
        Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
        Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




        HS3Pro 3.0.0.531 on windows 7 ultimate X64 on hp quadcore laptop 8 GB.

        Comment


        • #5
          Hi Guys,

          Solved it... Was a wrong callback for HSevent...

          Sorry to bother you...
          Regards,

          Rien du Pre
          The Netherlands
          Using:
          Homeseer PRO 3.0.0.435 on MacOS - Running a Mac Mini
          Plugin's:
          RFXCOM, Caddx, BLShutdown, BLLogMonitor, BLRadar, BLBackup, Log2Text, BLLAN, Z-Wave

          Comment


          • #6
            no problem you welcome, glad u fixed it
            Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
            Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




            HS3Pro 3.0.0.531 on windows 7 ultimate X64 on hp quadcore laptop 8 GB.

            Comment

            Working...
            X