assurance-tunnel
assurance-tunnel
assurance-tunnel
assurance-tunnel

Kinect to Isadora Tutorial (processing failure)



  • Hello, 

    I've been working with the files from the Kinect to Isadora Tutorial (Isadora V2.2, Processing V2.0.1) I was able to successfully bring the Kinect into the Isadora project provided in the tutorial. But today, I am unable to get the kinect to read. I haven't made any changes to the system since yesterday. 
    Here is the error code from Processing:Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessError: tried to access method processing.opengl.PGraphicsOpenGL.getTexture(Lprocessing/core/PImage;)Lprocessing/opengl/Texture; from class codeanticode.syphon.SyphonServer
    at codeanticode.syphon.SyphonServer.sendImage(Unknown Source)
    at Isadora_Kinect_Tracking_Mac.draw(Isadora_Kinect_Tracking_Mac.java:323)
    at processing.core.PApplet.handleDraw(PApplet.java:2270)
    at processing.opengl.PGL$PGLListener.display(PGL.java:2643)
    at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:576)
    at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:561)
    at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:1054)
    at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1024)
    at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:899)
    at javax.media.opengl.awt.GLCanvas$8.run(GLCanvas.java:1065)
    at javax.media.opengl.Threading.invoke(Threading.java:193)
    at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:483)
    at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:537)
    at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
    at sun.awt.RepaintArea.paint(RepaintArea.java:241)
    at apple.awt.ComponentModel.handleEvent(ComponentModel.java:263)
    at java.awt.Component.dispatchEventImpl(Component.java:4852)
    at java.awt.Component.dispatchEvent(Component.java:4604)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
    at java.awt.EventQueue.access$400(EventQueue.java:82)
    at java.awt.EventQueue$2.run(EventQueue.java:676)
    at java.awt.EventQueue$2.run(EventQueue.java:674)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:690)
    at java.awt.EventQueue$3.run(EventQueue.java:688)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Already called beginDraw()
    java.lang.RuntimeException: java.lang.IllegalAccessError: tried to access method processing.opengl.PGraphicsOpenGL.getTexture(Lprocessing/core/PImage;)Lprocessing/opengl/Texture; from class codeanticode.syphon.SyphonServer
    at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
    at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:100)
    at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:205)
    at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
    at javax.media.opengl.Threading.invoke(Threading.java:191)
    at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:483)
    at processing.opengl.PGL.requestDraw(PGL.java:1155)
    at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1602)
    at processing.core.PApplet.run(PApplet.java:2141)
    at java.lang.Thread.run(Thread.java:695)
    Caused by: java.lang.IllegalAccessError: tried to access method processing.opengl.PGraphicsOpenGL.getTexture(Lprocessing/core/PImage;)Lprocessing/opengl/Texture; from class codeanticode.syphon.SyphonServer
    at codeanticode.syphon.SyphonServer.sendImage(Unknown Source)
    at Isadora_Kinect_Tracking_Mac.draw(Isadora_Kinect_Tracking_Mac.java:323)
    at processing.core.PApplet.handleDraw(PApplet.java:2270)
    at processing.opengl.PGL$PGLListener.display(PGL.java:2643)


  • Dear @soobrien,

    I can't really tell precisely what's going wrong, but the failure is in SyphonServer. But the tutorials instruct you to use Processing v2.2.1, but you're using v2.0.1.
    You can see in [this thread](https://codeanticode.wordpress.com/2012/02/21/syphon-client-working-in-processing/) that the same error occurs in the v2.0 version version of Processing.
    I would say upgrade Processing to 2.2.1 and let us know if that solves it.
    Best Wishes,
    Mark


  • @mark

    Thanks Mark! That did the trick. I thought I had the right version of Processing open. 
    You are the best!
    best
    s.o. 

 

Looks like your connection to TroikaTronix Community Forum was lost, please wait while we try to reconnect.