Hi,
I get an error if i try to use two webcams tracking . The two webcams start and opencv capture well . But the filters aren't activated . I need help please !!
Thx for your help, i sent a noWorky . There's a lot of Gson errors but all work well exect the tracking .
I think the important error is this one :
69688 [Thread-7] ERROR class org.myrobotlab.logging.Logging - ------
java.lang.IllegalArgumentException: Can not set java.util.concurrent.BlockingQueue field org.myrobotlab.opencv.VideoProcessor.blockingData to java.util.LinkedList
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:164)
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:168)
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)
at java.lang.reflect.Field.set(Field.java:741)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:95)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
at com.google.gson.Gson.fromJson(Gson.java:803)
at com.google.gson.Gson.fromJson(Gson.java:768)
at com.google.gson.Gson.fromJson(Gson.java:717)
at com.google.gson.Gson.fromJson(Gson.java:689)
at org.myrobotlab.framework.Service.load(Service.java:783)
at org.myrobotlab.framework.Service.load(Service.java:758)
at org.myrobotlab.framework.Service.<init>(Service.java:671)
at org.myrobotlab.service.interfaces.VideoSource.<init>(VideoSource.java:13)
at org.myrobotlab.service.OpenCV.<init>(OpenCV.java:155)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.myrobotlab.framework.Service.getThrowableNewInstance(Service.java:1006)
at org.myrobotlab.framework.Service.getNewInstance(Service.java:976)
at org.myrobotlab.framework.Service.getNewInstance(Service.java:971)
at org.myrobotlab.service.Runtime.createService(Runtime.java:1540)
at org.myrobotlab.service.Runtime.create(Runtime.java:1468)
at org.myrobotlab.framework.Service.createPeer(Service.java:603)
at org.myrobotlab.service.Tracking.<init>(Tracking.java:143)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.myrobotlab.framework.Service.getThrowableNewInstance(Service.java:1006)
at org.myrobotlab.framework.Service.getNewInstance(Service.java:976)
at org.myrobotlab.framework.Service.getNewInstance(Service.java:971)
at org.myrobotlab.service.Runtime.createService(Runtime.java:1540)
at org.myrobotlab.service.Runtime.create(Runtime.java:1468)
at org.myrobotlab.framework.Service.createPeer(Service.java:603)
at org.myrobotlab.framework.Service.startPeer(Service.java:617)
at org.myrobotlab.service.Sweety.startTrack(Sweety.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
at org.python.core.PyObject.__call__(PyObject.java:422)
at org.python.core.PyObject.__call__(PyObject.java:426)
at org.python.core.PyMethod.__call__(PyMethod.java:139)
at org.python.pycode._pyx3.f$0(<string>:79)
at org.python.pycode._pyx3.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1261)
at org.python.core.Py.exec(Py.java:1305)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
at org.myrobotlab.service.Python$PIThread.run(Python.java:125)
------