Announcement

Collapse
No announcement yet.

Null reference error during startup

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Null reference error during startup

    Occasionally I see this error in the Startup Log. The same error also occasionally occurs with the Restart Plugin.

    12/19/2017 3:03:35 PM ~!~Z-Wave~!~Z-Net Z-Wave: .............................. FINISHED ..............................
    12/19/2017 3:03:35 PM ~!~Z-Wave~!~Z-Net Z-Wave: ............................................................ ..........
    12/19/2017 3:03:35 PM ~!~Error~!~Initializing plug-in(2): Insteon Instance::Object reference not set to an instance of an object.STACK:Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessag e(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.InitIO(String port) at Scheduler.clsHSPI.CheckInterfaces()
    12/19/2017 3:03:35 PM ~!~Plug-In~!~Finished initializing plug-in Insteon
    12/19/2017 3:03:36 PM ~!~HSTouch Server~!~Server started on port 10200
    12/19/2017 3:03:36 PM ~!~Startup~!~HStouch server started, waiting for clients to connect.
    12/19/2017 3:03:39 PM ~!~Z-Wave~!~***************************************************** **************************
    12/19/2017 3:03:39 PM ~!~Z-Wave~!~ STARTUP COMPLETE: All configured interfaces were successfully initialized.

    #2
    did you get this resolved?
    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


      #3
      Homeseer says the problem is with the Plugin

      When I asked Homeseer about it, they said the problem was with the plugins. What is the next step?

      The same error occurs with the Restart Plugin. The author added some additional diagnostic displays and they do not show errors in the Restart Plugin.



      The error happened again today. It does not happen every day, only occasionally. I have the server reboot every day at 3:00 PM to reset and clear everything. I experienced reliability issues when I did not have the server reboot periodically.

      Here is an excerpt from the startup log:

      12/29/2017 3:03:51 PM ~!~Z-Wave~!~Z-Net Z-Wave: ............................................................ ..........
      12/29/2017 3:03:51 PM ~!~Plug-In~!~Finished initializing plug-in Restart
      12/29/2017 3:03:51 PM ~!~Info~!~Plugin Insteon has connected. IP:127.0.0.1:1207
      12/29/2017 3:03:53 PM ~!~Z-Wave~!~***************************************************** **************************
      12/29/2017 3:03:53 PM ~!~Z-Wave~!~ STARTUP COMPLETE: All configured interfaces were successfully initialized.
      12/29/2017 3:03:53 PM ~!~Z-Wave~!~***************************************************** **************************
      12/29/2017 3:03:54 PM ~!~Error~!~Initializing plug-in(2): Insteon Instance::Object reference not set to an instance of an object.STACK:Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessag e(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.InitIO(String port) at Scheduler.clsHSPI.CheckInterfaces()
      12/29/2017 3:03:54 PM ~!~Plug-In~!~Finished initializing plug-in Insteon
      12/29/2017 3:03:54 PM ~!~HSTouch Server~!~Server started on port 10200
      12/29/2017 3:03:54 PM ~!~Startup~!~HStouch server started, waiting for clients to connect.
      12/29/2017 3:03:59 PM ~!~Web Server~!~Local IP address (subnet) is: 10.0.0.32 (255.255.255.0)
      12/29/2017 3:03:59 PM ~!~Web Server~!~UPNP Discovery started
      12/29/2017 3:03:59 PM ~!~Web Server~!~Web Server started on port 80

      Comment


        #4
        can you verify the plugin version you are running, and the version of the insteon.dll file

        please post here
        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
          plugin version 3.0.6.0 Inteon.dll 1.0.6.0 11/28/2016

          Comment


            #6
            can you disable all your other plugins and restart hs a few times and see if you get the error
            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


              #7
              I disabled CM15A, Restart, and ZWAVE plugins, then restarted 3 times, no errors.

              Comment


                #8
                I could do without the Restart plugin for several days and see if the error occurs again.

                Comment


                  #9
                  After your test, Also try enabling other plugins one by one to see which one might be causing the problem for the others
                  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


                    #10
                    I disabled the other three plugins then enabled them one-by-one, restarting several times after each was enabled. No errors. Unfortunately, it is an intermittent error. I hate having them in my programs.

                    Comment


                      #11
                      Let me know what you find.
                      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


                        #12
                        Object reference not set

                        Things have been running well. I have my computer running Homeseer restart every day. Today it received this error:

                        ANDARD version.
                        3/1/2018 3:06:09 PM ~!~Info~!~Remote plug-in API interface started on port 10400
                        3/1/2018 3:06:09 PM ~!~Startup~!~Checking for available plug-ins
                        3/1/2018 3:06:12 PM ~!~Plug-In~!~Found plug-in: CM15A, version: 3.0.0.8
                        3/1/2018 3:06:13 PM ~!~Plug-In~!~Found plug-in: Insteon, version: 3.0.6.0
                        3/1/2018 3:06:14 PM ~!~Plug-In~!~Found plug-in: Restart, version: 1.0.0.7
                        3/1/2018 3:06:17 PM ~!~Plug-In~!~Found plug-in: Z-Wave, version: 3.0.1.87
                        3/1/2018 3:06:17 PM ~!~Startup~!~Initializing Plug-Ins
                        3/1/2018 3:06:20 PM ~!~Info~!~Plugin Insteon has connected. IP:127.0.0.1:1542

                        3/1/2018 3:06:21 PM ~!~Error~!~Initializing plug-in(2): Insteon Instance::Object reference not set to an instance of an object.STACK:Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessag e(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.InitIO(String port) at Scheduler.clsHSPI.CheckInterfaces()
                        3/1/2018 3:06:21 PM ~!~Plug-In~!~Finished initializing plug-in Insteon
                        3/1/2018 3:06:21 PM ~!~Info~!~Plugin CM15A has connected. IP:127.0.0.1:1544
                        3/1/2018 3:06:23 PM ~!~Plug-In~!~Finished initializing plug-in CM15A
                        3/1/2018 3:06:24 PM ~!~CM15A~!~Initialization Successful.
                        3/1/2018 3:06:25 PM ~!~Info~!~Plugin Z-Wave has connected. IP:127.0.0.1:1546


                        Current Date/Time: 3/1/2018 10:32:04 PM
                        HomeSeer Version: HS3 Standard Edition 3.0.0.357
                        Operating System: Microsoft Windows 7 Home Premium - Work Station
                        System Uptime: 0 Days 7 Hours 25 Minutes 57 Seconds
                        IP Address: 10.0.0.32
                        Number of Devices: 152
                        Number of Events: 97
                        Available Threads: 200

                        Enabled Plug-Ins
                        3.0.0.8: CM15A
                        3.0.6.0: Insteon
                        1.0.0.7: Restart
                        3.0.1.87: Z-Wave

                        Comment


                          #13
                          can you try your setup for a while without the Restart plugin
                          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


                            #14
                            I can try it but I found that I have problems with the Homeseer software if I don't reboot often. I'll try for a while and see what happens.

                            Comment


                              #15
                              Originally posted by leerobinson View Post
                              I can try it but I found that I have problems with the Homeseer software if I don't reboot often. I'll try for a while and see what happens.
                              doesn't look like you are running the latest hs3 version
                              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