boanovadigital / text20

Automatically exported from code.google.com/p/text20
0 stars 0 forks source link

Sometimes the tracking server does not start, com4j problems. #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
See this stack trace:

2010-jul-07 18:32:03 net.xeoh.plugins.base.impl.loader.FileLoader loadFrom
VARNING: Supplied path does not exist. Unable to add plugins from there.
2010-jul-07 18:32:04 
de.dfki.km.text20.trackingserver.common.remote.impl.CommonServerRegistry init
INFO: Listening on URL 
lipe://7.32.8.253:2256/de.dfki.km.text20.trackingserver.eyes.remote.TrackingServ
erRegistry
2010-jul-07 18:32:04 
de.dfki.km.text20.trackingserver.eyes.adapter.impl.tobii.TobiiGazeAdapter setup
INFO: Initializing Eye-Tracker connection
java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at net.xeoh.plugins.base.impl.PluginManagerImpl.processPluginLoadedAnnotationForThisPlugin(PluginManagerImpl.java:450)
 at net.xeoh.plugins.base.impl.PluginManagerImpl.hookPlugin(PluginManagerImpl.java:427)
 at net.xeoh.plugins.base.impl.loader.AbstractLoader.processPending(AbstractLoader.java:264)
 at net.xeoh.plugins.base.impl.loader.AbstractLoader.tryToLoadClassAsPlugin(AbstractLoader.java:207)
 at net.xeoh.plugins.base.impl.loader.InternalClasspathLoader.loadAllClasspathPluginClasses(InternalClasspathLoader.java:102)
 at net.xeoh.plugins.base.impl.loader.InternalClasspathLoader.loadFrom(InternalClasspathLoader.java:70)
 at net.xeoh.plugins.base.impl.PluginManagerImpl.doAddPluginsFrom(PluginManagerImpl.java:226)
 at net.xeoh.plugins.base.impl.PluginManagerImpl.addPluginsFrom(PluginManagerImpl.java:208)
 at de.dfki.km.text20.trackingserver.Launcher.main(Launcher.java:68)
Caused by: com4j.ExecutionException: com4j.ComException: 80040154 
CoCreateInstance failed : Class not registered : .\com4j.cpp:137
 at com4j.ComThread.execute(ComThread.java:205)
 at com4j.Task.execute(Task.java:23)
 at com4j.COM4J.createInstance(COM4J.java:95)
 at com4j.COM4J.createInstance(COM4J.java:73)
 at de.dfki.eyetracker.tetapi.ClassFactory.createTetCalibProc(Unknown Source)
 at de.dfki.km.text20.trackingserver.eyes.adapter.impl.tobii.TobiiCalibrator.buildUp(TobiiCalibrator.java:83)
 at de.dfki.km.text20.trackingserver.eyes.adapter.impl.tobii.TobiiGazeAdapter.setup(TobiiGazeAdapter.java:160)
 at de.dfki.km.text20.trackingserver.common.remote.impl.CommonServerRegistry.setupAdapter(CommonServerRegistry.java:175)
 at de.dfki.km.text20.trackingserver.common.remote.impl.CommonServerRegistry.pluginAdded(CommonServerRegistry.java:169)
 ... 13 more
Caused by: com4j.ComException: 80040154 CoCreateInstance failed : Class not 
registered : .\com4j.cpp:137
 at com4j.Native.createInstance(Native Method)
 at com4j.COM4J$CreateInstanceTask.call(COM4J.java:111)
 at com4j.COM4J$CreateInstanceTask.call(COM4J.java:1)
 at com4j.Task.invoke(Task.java:44)
 at com4j.ComThread.run0(ComThread.java:164)

Original issue reported on code.google.com by r.biedert on 7 Jul 2010 at 4:36

GoogleCodeExporter commented 8 years ago
This is caused by changed COM GUIDs (as cited in the ReleaseNotes.rtf):

_All components' and interfaces' GUIDs in TetComp have been changed in order to 
be parallel installable with the version of TetComp bundled with Tobii Studio._

We should solve this in a way that the old and the new COM objects can be used 
both. Ideally transparently, if that's too hard then we just create a 2nd Tobii 
adapter. 

Original comment by r.biedert on 8 Jul 2010 at 8:14

GoogleCodeExporter commented 8 years ago
Note, to solve this issue the library EyeTracker2Java has to be adapted, more 
specifically the package de.dfki.eyetracker.tetapi has to be regenerated.

Original comment by r.biedert on 8 Jul 2010 at 8:17

GoogleCodeExporter commented 8 years ago

Original comment by r.biedert on 8 Jul 2010 at 8:38

GoogleCodeExporter commented 8 years ago
Enhanced EyeTracker2Java with Tobii Api v5 and adjusted the tracking server to 
be able to switch between the old and the new Api.
Short term tests were successful, long term tests are still to do...

Original comment by arman.va...@gmail.com on 13 Jul 2010 at 2:54