Announcement

Collapse
No announcement yet.

Adding zones while panel monitoring results in an error in log

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

    Adding zones while panel monitoring results in an error in log

    Mark,

    FYI -- I was adding the zones to HS3 (new install on Linux) for my Vista 128BP and I saw several of these log entries indicating that a collection was modified (I'm guessing in a foreach loop since I used to see something similar some HS code I wrote a few years back).

    It doesn't seem to have caused any harm but I thought I'd send it to you just in case -- I was just using the 'Add Zone' option on the plugin configuration page -- when each zone entry was complete, it would either display something like zone successfully added or it would take me back to the first configuration page where you choose the panel type etc. I'm guessing this is a locking issue but it seems to be harmless.

    Thanks!

    Mitch


    Apr-08 9:51:51 PM EnvisaLinkAdemco INFO Zone 4 status change: Opened
    Apr-08 9:51:46 PM EnvisaLinkAdemco INFO Zone 4 status change: Closed
    Apr-08 9:49:41 PM Vista Alarm Error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Hashtable+HashtableEnumerator.MoveNext () [0x00022] in <8f2c484307284b51944a1a13a14c0266>:0 at HSPI_VistaAlarm.VistaAlarmClass+ZonesCollection.UpdateCleare dZones (HSPI_VistaAlarm.MessageCollection& Messages, System.Boolean BypassMode, HSPI_VistaAlarm.PartitionClass Partition) [0x001ac] in <711512d362b140e5ae3400e528b4d671>:0 at HSPI_VistaAlarm.VistaAlarmClass.ProcessMessage (System.String Buffer) [0x0031d] in <711512d362b140e5ae3400e528b4d671>:0 [3.0.0.15]
    Apr-08 9:49:41 PM Vista Alarm Trouble handling last msg: [000000010000--------],004,[f70700160004000008020000000000],"FAULT 004 HOUSE KITCHEN DOOR "
    Apr-08 9:49:12 PM Vista Alarm Error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Hashtable+HashtableEnumerator.MoveNext () [0x00022] in <8f2c484307284b51944a1a13a14c0266>:0 at HSPI_VistaAlarm.VistaAlarmClass+ZonesCollection.UpdateCleare dZones (HSPI_VistaAlarm.MessageCollection& Messages, System.Boolean BypassMode, HSPI_VistaAlarm.PartitionClass Partition) [0x001ac] in <711512d362b140e5ae3400e528b4d671>:0 at HSPI_VistaAlarm.VistaAlarmClass.ProcessMessage (System.String Buffer) [0x0031d] in <711512d362b140e5ae3400e528b4d671>:0 [3.0.0.15]
    Apr-08 9:49:12 PM Vista Alarm Trouble handling last msg: [000000010000--------],004,[f70700160004000008020000000000],"FAULT 004 HOUSE KITCHEN DOOR "
    Apr-08 9:48:23 PM Vista Alarm ****DISARMED**** ZONES FAULTED
    Apr-08 9:47:12 PM Vista Alarm ****DISARMED**** ZONES FAULTED
    Apr-08 9:46:16 PM Vista Alarm ****DISARMED**** ZONES FAULTED
    Apr-08 9:45:41 PM Vista Alarm FAULT 004 HOUSE KITCHEN DOOR
    Apr-08 9:43:55 PM Vista Alarm Error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Hashtable+HashtableEnumerator.MoveNext () [0x00022] in <8f2c484307284b51944a1a13a14c0266>:0 at HSPI_VistaAlarm.VistaAlarmClass+ZonesCollection.UpdateCleare dZones (HSPI_VistaAlarm.MessageCollection& Messages, System.Boolean BypassMode, HSPI_VistaAlarm.PartitionClass Partition) [0x001ac] in <711512d362b140e5ae3400e528b4d671>:0 at HSPI_VistaAlarm.VistaAlarmClass.ProcessMessage (System.String Buffer) [0x0031d] in <711512d362b140e5ae3400e528b4d671>:0 [3.0.0.15]
    Apr-08 9:43:55 PM Vista Alarm Trouble handling last msg: [000000010000--------],004,[f70700160004000c08020000000000],"****DISARMED**** ZONES FAULTED "
    Apr-08 9:43:27 PM Vista Alarm Error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Hashtable+HashtableEnumerator.MoveNext () [0x00022] in <8f2c484307284b51944a1a13a14c0266>:0 at HSPI_VistaAlarm.VistaAlarmClass+ZonesCollection.UpdateCleare dZones (HSPI_VistaAlarm.MessageCollection& Messages, System.Boolean BypassMode, HSPI_VistaAlarm.PartitionClass Partition) [0x001ac] in <711512d362b140e5ae3400e528b4d671>:0 at HSPI_VistaAlarm.VistaAlarmClass.ProcessMessage (System.String Buffer) [0x0031d] in <711512d362b140e5ae3400e528b4d671>:0 [3.0.0.15]

    #2
    Here is my system profile:

    Current Date/Time: 4/8/2018 10:22:58 PM
    HomeSeer Version: HS3 Pro Edition 3.0.0.368
    Linux version: Linux grendel 4.13.0-37-generic #42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux System Uptime: 2 Days 4 Hours 5 Minutes 37 Seconds
    IP Address: 192.168.1.11
    Number of Devices: 608
    Number of Events: 1
    Available Threads: 188

    Enabled Plug-Ins
    3.0.0.30: EnvisaLinkAdemco
    3.0.1.3: ISYInsteon
    3.2.12.2: mcsMQTT
    3.0.8.2: SDJ-VStat
    3.0.0.15: Vista Alarm
    3.0.0.83: weatherXML

    Comment


      #3
      Well now I know beyond a shadow of a doubt that you did the PLM plugin too :-)

      See attached Vista Alarm help entry on the homeseer help screen: (BTW the link is correct and takes you to the Vista Plugin help, only the text is referencing the other plugin)
      Attached Files

      Comment


        #4
        can you try the latest vista alarm beta which is posted in the beta section of the Updater.

        i may have resolved both of these issues
        Mark

        HS3 Pro 4.2.19.5
        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
        Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

        Comment


          #5
          Originally posted by mnsandler View Post
          can you try the latest vista alarm beta which is posted in the beta section of the Updater.

          i may have resolved both of these issues
          I downloaded and installed it last night, I'll try recreating the error this evening.

          Sent from my SM-N950U using Tapatalk

          Comment


            #6
            Well I downloaded the plugin on the 9th and forgot to report back -- sorry! Both the link text and the error have been fixed as far as I can tell.

            Thanks!

            Mitch

            Comment


              #7
              thanks for the reporting back.
              Mark

              HS3 Pro 4.2.19.5
              Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
              Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
              Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

              Comment

              Working...
              X