Announcement

Collapse
No announcement yet.

Specified argument was out of the range of valid values. Parameter name: devRef

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

    Specified argument was out of the range of valid values. Parameter name: devRef

    Originally posted by cowinger View Post
    alexbk66 I got the following error multiple times. There was an alert at 12:22pm today according to the Alert URL. The error started at 12:28pm.

    Code:
    5/22/2021 12:28:37 PM 
    AK Weather 
    Error 
    System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: devRef
    at: HomeSeer.PluginSdk.Devices.FeatureFactory.CreateFeature(Stri ng pluginId, Int32 devRef)
    at: PluginLib.DeviceBase.CreateDevice(String name, String addr)
    at: PluginLib.DeviceBase.Create(String addr, String full_type, Int32 Device_Type, Int32 Device_SubType, String Device_SubType_Description, String dev_name) 
    
    5/22/2021 12:28:37 PM 
    AK Weather 
    Error 
    [0] : CreateDevice: Specified argument was out of the range of valid values. Parameter name: devRef 
    Hmm, it's trying to create device with Ref 0, I'll try to reproduce

    #2
    It's actually creating feature with root device ref = 0...

    Comment


      #3
      cowinger I can't find why it could happen, but I added extra logging if it happens which should point to exact location.

      Comment


        #4
        alexbk66 I will keep an eye on it and let you know if it happens again.

        Comment

        Working...
        X