Announcement

Collapse
No announcement yet.

Error in Startup Log, Plugin Restarts

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

  • Error in Startup Log, Plugin Restarts

    I am receiving the following errors on init:

    3/15/2019 9:25:14 PM ~!~Starting Plug-In~!~Initializing plugin JowiHue ...
    3/15/2019 9:25:15 PM ~!~JowiHue~!~Error: (InitDatabase)::Error occured at table SensorTypes with statement PRAGMA table_info(SensorTypes)
    3/15/2019 9:25:15 PM ~!~JowiHue~!~Error: (InitDatabase)::Object reference not set to an instance of an object.
    3/15/2019 9:25:15 PM ~!~Starting Plug-In~!~Plugin JowiHue started successfully in 979 milliseconds
    3/15/2019 9:25:15 PM ~!~Starting Plug-In~!~JowiHue loaded in 2297 millisecond

    And then I find JowiHue randomly reboots:
    Mar-16 12:33:40 PM JowiHue Starting plugin JowiHue 2.0.3.1 on Windows
    Mar-16 12:33:39 PM Starting Plug-In Initializing plugin JowiHue ...
    Mar-16 12:33:39 PM Starting Plug-In JowiHue loaded in 15087 milliseconds
    Mar-16 12:33:24 PM Info Plugin JowiHue has connected. IP:127.0.0.1:55875
    Mar-16 12:33:24 PM Warning I/O interface JowiHue is down, executable is not running, restarting ...
    Mar-16 12:32:54 PM Warning Plugin JowiHue is not responding but it is still running, not restarting yet.
    Mar-16 12:32:52 PM Info Plugin JowiHue with instance: has disconnected
    Mar-16 12:32:52 PM JowiHue Restarting plugin due to error datatables
    Mar-16 12:27:48 PM JowiHue Error: (InitialBridgeScenes)::Object reference not set to an instance of an object.
    Mar-16 12:27:48 PM JowiHue Error: (InitialBridgeScenes)::Object reference not set to an instance of an object.
    Mar-16 12:17:39 PM JowiHue Error: (InitialBridgeScenes)::Object reference not set to an instance of an object.
    Mar-16 12:17:39 PM JowiHue Error: (InitialBridgeScenes)::Object reference not set to an instance of an object.
    Mar-16 11:47:14 AM JowiHue Error: (InitialBridgeScenes)::Column 'BridgeSerial, ID' is constrained to be unique. Value '001788FFFE24F78B, BgfzWmV6TqyQ6Yk' is already present.
    This is on HS3 Pro Edition 3.0.0.500 (Windows)

    It appears there may be a duplicate entry for one of my Hue bridges in a database or config file somewhere... how can I fix this? Everything appears normal in JowiHue configuration.

  • #2
    I did not get an error at startup, but I did have the plugin restart. I also had null reference exceptions with another plugin at the same time. There are some posts in the plugin forum about null reference exceptions and threading, I wonder if this is related? I am running Beta .523. Here is a snippet from the HS3 log. Wim, I have JowiHue debug logs before, during and after this occurring, I will email them to you.

    Code:
    Mar-17 4:52:21 PM         Warning    I/O interface JowiHue is down, executable is not running, restarting ...
    Mar-17 4:50:50 PM         Info    Plugin JowiHue with instance: has disconnected
    Mar-17 4:50:50 PM         RFXCOM    38 (CheckTransceivers) transceiver #1 info: resynced
    Mar-17 4:50:50 PM         RFXCOM Error:    38 (CheckSensors) error :System.NullReferenceException: Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.DeviceExistsRef(int) at HSPI_RFXCOM.utils.CheckSensors () [0x003a0] in <3aa40a7d03a045df88b1f8be17711947>:0
    Mar-17 4:50:50 PM         RFXCOM Error:    38 (RecTRXChar) error :System.NullReferenceException: Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.SetDeviceValueByRef(int,double,bool) at HSPI_RFXCOM.RFXtrx.Decode_InterfaceMessage (System.Int32 itrx) [0x00c1f] in <3aa40a7d03a045df88b1f8be17711947>:0 at HSPI_RFXCOM.RFXtrx.RecTRXChar (System.Byte bytComChar, System.Int32 itrx) [0x002fa] in <3aa40a7d03a045df88b1f8be17711947>:0
    Mar-17 4:50:50 PM         RFXCOM Error:    38 (CheckSensors) error :System.NullReferenceException: Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.DeviceExistsRef(int) at HSPI_RFXCOM.utils.CheckSensors () [0x003a0] in <3aa40a7d03a045df88b1f8be17711947>:0
    Mar-17 4:47:15 PM         JowiHue    Refresh bridge rgw5510 set to 30 seconds after establishing direct connection
    Mar-17 4:46:33 PM         RFXCOM    38 (CheckTransceivers) transceiver #1 info: resynced
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         JowiHue    System.NullReferenceException(0x80004003): Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.GetOSType() at HSPI_JowiHue.Timerroutines.UpdateStatusTimer () [0x0001b] in :0
    Mar-17 4:46:32 PM         RFXCOM Error:    38 (RecTRXChar) error :System.NullReferenceException: Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.SetDeviceValueByRef(int,double,bool) at HSPI_RFXCOM.RFXtrx.Decode_InterfaceMessage (System.Int32 itrx) [0x00c1f] in <3aa40a7d03a045df88b1f8be17711947>:0 at HSPI_RFXCOM.RFXtrx.RecTRXChar (System.Byte bytComChar, System.Int32 itrx) [0x002fa] in <3aa40a7d03a045df88b1f8be17711947>:0
    Mar-17 4:46:29 PM         RFXCOM Error:    38 (CheckSensors) error :System.NullReferenceException: Object reference not set to an instance of an object. at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.DeviceExistsRef(int) at HSPI_RFXCOM.utils.CheckSensors () [0x003a0] in <3aa40a7d03a045df88b1f8be17711947>:0
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateStatusTimer)::Object reference not set to an instance of an object.
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateStatusTimer)::Object reference not set to an instance of an object.
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateStatusTimer)::Object reference not set to an instance of an object.
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateStatusTimer)::Object reference not set to an instance of an object.
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateStatusTimer)::Object reference not set to an instance of an object.
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateStatusTimer)::Object reference not set to an instance of an object.
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateLights)::Object reference not set to an instance of an object.
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateStatusTimer)::Object reference not set to an instance of an object.
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateStatusTimer)::Object reference not set to an instance of an object.
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateStatusTimer)::Object reference not set to an instance of an object.
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateStatusTimer)::Object reference not set to an instance of an object.
    Mar-17 4:46:26 PM         JowiHue    Error: (UpdateStatusTimer)::Object reference not set to an instance of an object.

    Comment


    • #3
      b0sst0n Did you see this initial error every time you restart the plugin? Have you been using a quite old version of the plugin maybe before upgrading to the current one?

      bdickhaus Did this issue happen more then once or was it a one time only issue maybe?

      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


      • #4
        It only happened once. There were three back to back Mono updates over the last few weeks. I am wondering if one of those had an issue. But I have not seen it again. It happened within about 10 minutes of HS3 startup. I just cycled HS3 twice and it did not happen.

        Bill

        Comment


        • #5
          Bill,

          Thanks for confirming. Then I will assume it was just a special issue occurring once....
          -- 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