StatusException when creating Context object

May 19, 2011 at 2:47 AM

 Hi Josh,

I'm installing MotionFX on a different machine and I'm getting an error at the line where the Context object is created in HandPointGenerator.

OpenNI.StatusException: Xiron OS failed to create a process!


   at OpenNI.WrapperUtils.CheckEnumeration(Int32 status, EnumerationErrors errors)
   at OpenNI.Context.InitFromXml(String xmlFile)
   at OpenNI.Context..ctor(String xmlFile)
   at InfoStrat.MotionFx.HandPointGenerator.VerifyInit() in C:\Projects\InfoStrat.MotionFx.v0.2\InfoStrat.MotionFx\HandPointGenerator.cs:line 271

I'm using the Xtion Pro and it's setup properly as I'm able to run all the NITE samples. 

My config file is as follows. (I've removed the Image Node):

  <License vendor="PrimeSense" key="0KOIk2JeIBYClPWVnMoRKn5cdYr="/>
 <Log writeToConsole="true" writeToFile="false">
  <!-- 0 - Verbose, 1 - Info, 2 - Warning, 3 - Error (default) -->
  <LogLevel value="3"/>
   <Mask name="ALL" on="false"/>
  <Node type="Depth" name="Depth1">
    <MapOutputMode xRes="640" yRes="480" FPS="30"/>
    <Mirror on="true"/>
  <Node type="Gesture" />
  <Node type="Hands" />





May 19, 2011 at 2:57 AM

Hi Jeff,

Might be a path or openni installation issue. Check this thread:


May 19, 2011 at 3:21 AM

Hi Josh,

I re-installed OpenNI and NITE with the 32 bit version and it works.  For whatever reason, the 64 bit versions aren't working for me (even though I've got a 64 bit machine.



May 19, 2011 at 3:23 AM

Great, thanks for sharing the resolution.