Announcement

Collapse
No announcement yet.

Remote Kinect Error (Object reference not set)

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

    Remote Kinect Error (Object reference not set)

    I have two remote instances running, one on a tablet and the other on my HTPC. I just got the tablet working this morning, but the HTPC stopped working for some reason and this is the error message I'm getting.

    Initializing plug-in(2): Kinect Instance:LivingRoom:Object reference not set to an instance of an object.STACK: at System.Runtime.Remoting.Messaging.LogicalCallContext.Propaga teIncomingHeadersToCallContext(IMessage msg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.InitIO(String port) at Scheduler.clsHSPI.CheckInterfaces()
    I've replaced all of the files that are on the remote machine, restarted HS3 and the Kinect Plugin multiple times.

    Kinect Plug-in Version 3.0.0.20

    #2
    does the instance on the HTPC ever worked?
    what do you see in the console when you try to start this remote instance?

    Comment


      #3
      It use to work, a few weeks ago.

      This is the current result from the console:

      D:\HS3P>cd D:\HS3P\Kinect\

      D:\HS3P\Kinect>HSPI_KINECT.exe server=192.168.1.82 instance=LivingRoom autorecon
      nect=60
      Plugin: Kinect Instance: LivingRoom starting...
      Connecting to server at 192.168.1.82...
      Connection attempt #1
      Connected (HomeSeer API 3). Waiting to be initialized...
      DEBUG Logger Initialized
      INFO Kinect version 3.0.0.20
      DEBUG USB\VID_0409&PID_005A\8&3A55085E&0&4 status=Connected
      DEBUG Voice Recognition Initialized
      Exception deserializing message: Unable to find assembly 'HSPI_GCIR, Version=5.0
      .0.14, Culture=neutral, PublicKeyToken=null'.
      ERROR CreateZoneDevice: Object reference not set to an instance of an object.
      DEBUG Stack: at System.Runtime.Remoting.Messaging.LogicalCallContext.Propaga t
      eIncomingHeadersToCallContext(IMessage msg)
      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgDa
      ta, Int32 type)
      at HomeSeerAPI.IHSApplication.GetDeviceEnumerator()
      at HSPI_KINECT.Zone.CreateZoneDevice()
      Exception deserializing message: Unable to find assembly 'HSPI_GCIR, Version=5.0
      .0.14, Culture=neutral, PublicKeyToken=null'.
      ERROR CreateZoneDevice: Object reference not set to an instance of an object.
      DEBUG Stack: at System.Runtime.Remoting.Messaging.LogicalCallContext.Propaga t
      eIncomingHeadersToCallContext(IMessage msg)
      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgDa
      ta, Int32 type)
      at HomeSeerAPI.IHSApplication.GetDeviceEnumerator()
      at HSPI_KINECT.Zone.CreateZoneDevice()
      DEBUG Drawing Zones File
      DEBUG Deleting image file Kinect/zones_LivingRoom/zones0.jpg
      DEBUG Writing image file Kinect/zones_LivingRoom/zones1.jpg
      DEBUG Visual Recognition Initialized
      DEBUG Web Pages Registered
      DEBUG Snapshot server started: http://*:8078/kinectsnapshot/
      INFO Kinect initialized
      DEBUG End Init
      DEBUG Building Grammars
      DEBUG Rule:TV Mode
      DEBUG Rule:Where are you?
      DEBUG Speech Recognition Started
      INFO Frame skipped
      ERROR Error 2012, cannot continue
      Connection lost, exiting
      Disconnected from server - client
      Waiting 60 seconds before trying to reconnect

      Comment


        #4
        what version of HS3 are you running?
        Have you updated recently?

        Comment


          #5
          Yeah, the auto update for HS3 Pro happened yesterday as well, so I'm running the latest. (.152 I think it is)

          Comment


            #6
            I had a similar error (Object reference not set) but can't recall the rest of the error details, if they were the same as yours here.

            My issue was due to HS3 being updated and the HS3 dlls on the remote PC were then out of date. Once I copied across the 3 HS3 dlls from my HS3 box to the remote instance, it worked ok and is still doing so.

            Comment


              #7
              JimBob is right you have to copy the 3 dlls, namely HomeSeerAPI.dll, Scheduler.dll and HSCF.dll, from the HS3 box to the remote instance

              Comment


                #8
                new files were copied as soon as the update finished, so it's not that.

                Comment


                  #9
                  hmm... and your other remote instance works fine without any error in the console when you start it?

                  Comment


                    #10
                    So I deleted the LivingRoom ini file and started over again. I think that allowed it work again.

                    Also, I think when I have more than one Kinect (remote instances) using the snapshot feature, everything goes crazy.

                    Comment


                      #11
                      ignore...

                      Comment

                      Working...
                      X