Announcement

Collapse
No announcement yet.

Error while getting feature. Object reference not set to an instance of an object.

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

    Error while getting feature. Object reference not set to an instance of an object.

    Hi Everyone, I've been having some update pains going from HS3 to HS4. Things were finally looking up this week after an update to HS4... until I noticed incessant errors in the Homeseer log occurring every few seconds. It's these two errors:
    10/21/2020 11:02:41 PM HomeSeer Error Error while getting feature 531 : Object reference not set to an instance of an object
    10/21/2020 11:02:41 PM HomeSeer Error Error while getting feature 279 : Object reference not set to an instance of an object

    Best I can pinpoint is that the JowieHue plugin is looking for something and causing these errors (i.e., disabling the plugin stops the errors). I've cleared out old devices and cleaned up my events. The plug-in is interfacing with a single Hue hub.

    I'm running HS4 version 4.1.8.0 on an SEL unit with plugin version 4.0.2.9.

    Any help is appreciated on what may be causing the errors.

    Matty

    #2
    Matty,

    Do you know what the devices ar with id 531 and 279? You might have to enable showing the reference number on the setup/custom page to enable seeing these numbers.
    The message itself is coming from Homeseer, not the plugin, so this does not give me much to go on. Knowing what these devices are will help.

    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


      #3
      Hi Wim, thanks for the reply,

      Unfortunately I've tried that with no luck. Turning on the reference numbers shows nothing that matches.

      Seems odd that Homeseer would be giving the error when the plugin is active, but is fine when disabled. Like rebooting a computer, do you think uninstalling and re-installing the plugin may help? I just don't know if doing that would break any events I have referencing JowieHue objects/devices.

      Matty

      Comment


        #4
        Matty,

        You might have hidden the devices. Make sure to "show hidden devices" when in the devices page of HS?

        Click image for larger version

Name:	2020-10-25 00_32_55-NVIDIA GeForce Overlay.png
Views:	49
Size:	12.5 KB
ID:	1428344
        -- 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


          #5
          I am getting this also my log is floodded with it i enable debug logging with the plugin and now see this each time too

          Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)


          I am ID's 300 and 295 and i can't find those in my device list also.

          Comment


            #6
            Also i am on HS4.1.8.0 and plugin version: 4.0.2.10

            Comment


              #7
              Airey001 did you check to unhide hidden devices to find these devices? As these are Homeseer messages and not JowiHue message I do not know what might cause these error lines?
              -- 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
                Yeah there is no device i can find any where close. I just can see that its every few seconds the error above from your plugin then the error from homeseer. they are most definitely paired together.

                Code:
                10/25/2020 6:03:23 PM
                HomeSeer Error Error while getting feature 300 : Object reference not set to an instance of an object.
                10/25/2020 6:03:23 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:23 PM
                HomeSeer Error Error while getting feature 300 : Object reference not set to an instance of an object.
                10/25/2020 6:03:23 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:23 PM
                HomeSeer Error Error while getting feature 300 : Object reference not set to an instance of an object.
                10/25/2020 6:03:23 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:23 PM
                HomeSeer Error Error while getting feature 295 : Object reference not set to an instance of an object.
                10/25/2020 6:03:23 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:23 PM
                HomeSeer Error Error while getting feature 295 : Object reference not set to an instance of an object.
                10/25/2020 6:03:23 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:23 PM
                HomeSeer Error Error while getting feature 295 : Object reference not set to an instance of an object.
                10/25/2020 6:03:18 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:18 PM
                HomeSeer Error Error while getting feature 300 : Object reference not set to an instance of an object.
                10/25/2020 6:03:18 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:18 PM
                HomeSeer Error Error while getting feature 300 : Object reference not set to an instance of an object.
                10/25/2020 6:03:18 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:18 PM
                HomeSeer Error Error while getting feature 300 : Object reference not set to an instance of an object.
                10/25/2020 6:03:18 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:18 PM
                HomeSeer Error Error while getting feature 295 : Object reference not set to an instance of an object.
                10/25/2020 6:03:18 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:18 PM
                HomeSeer Error Error while getting feature 295 : Object reference not set to an instance of an object.
                10/25/2020 6:03:18 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:18 PM
                HomeSeer Error Error while getting feature 295 : Object reference not set to an instance of an object.
                10/25/2020 6:03:13 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:13 PM
                HomeSeer Error Error while getting feature 300 : Object reference not set to an instance of an object.
                10/25/2020 6:03:13 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:13 PM
                HomeSeer Error Error while getting feature 300 : Object reference not set to an instance of an object.
                10/25/2020 6:03:13 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:13 PM
                HomeSeer Error Error while getting feature 300 : Object reference not set to an instance of an object.
                10/25/2020 6:03:13 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:13 PM
                HomeSeer Error Error while getting feature 295 : Object reference not set to an instance of an object.
                10/25/2020 6:03:13 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:13 PM
                HomeSeer Error Error while getting feature 295 : Object reference not set to an instance of an object.
                10/25/2020 6:03:13 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:13 PM
                HomeSeer Error Error while getting feature 295 : Object reference not set to an instance of an object.
                10/25/2020 6:03:08 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)
                10/25/2020 6:03:08 PM
                HomeSeer Error Error while getting feature 300 : Object reference not set to an instance of an object.
                10/25/2020 6:03:08 PM
                JowiHue Debug Debug: (UpdateSensor) :Error: checking sensorconfig battery System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at HSPI_JowiHue.MySensors.UpdateSensor(String id, Sensorstate state, SensorConfig config, String uniqueid)

                Comment


                  #9
                  Could you send me a detailed log? Follow these steps for it:
                  1. Enable verbose logging and enable logging to file in the settings of the plugin
                  2. Stop and restart the plugin, so I can check on the startup of the plugin
                  3. Let it run for 20 minutes or so.
                  4. Then disable the verbose logging and the log to file options
                  5. You will find the log file as \Logs\JowiHue.log
                  6. Send this file to jowihue at ziggo dot nl?
                  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


                    #10
                    Log file sent. It might have been left on a bit longer then 20 mintues my wife made me do some stuff. LOL!

                    Comment


                      #11
                      Afternoon w.vuyk

                      I've got similar answers as Airey001 . Ensuring I'm looking at all devices, I still don't have those devices numbers Homeseer is referencing. I'll get a log file over to you, too. Now here's my lack of experience showing... how do I access the log the plugin creates?

                      Comment


                        #12
                        Matty,

                        You will find the log file as \Logs\JowiHue.log in the installation directory of HS4. But I already have a good log here for now from Airey001 . It seems (in his case) there are some motion sensors reporting a wrong child device as battery device. I wonder what happend to the battery devices, we need to find out before proceeding.

                        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


                          #13
                          So the my motion sensors don’t have a battery battery device and they are not the device Id you gave in the email. In fact I have no device 300
                          Attached Files

                          Comment


                            #14
                            The battery device has been one of the features of the motion device. For some reason this has been removed. I am trying to find out why this happend. I send you another email to find out some more background. It might be helpfull to know if you went through the conversion of the plugin going from the HS3 version to HS4, or if you newly started with the HS4 version etc..
                            Hoping to have a test version later today on this.

                            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