Reply – julia3d: Exception in thread "Timer-0" javax.media.opengl.GLExcept...
Your Name
Subject
Message
or Cancel
In Reply To
julia3d: Exception in thread "Timer-0" javax.media.opengl.GLException: com.jogamp.opencl.CLException$CLInvalidCommandQueueException
— by Artur Artur
So, I built JOCL, then extracted the demo julia3d into Netbeans, added all nedded libraries I hope, and ran it. A window appeared, saying "shadow on, supersampling 2x2, fast rendering on", two Julia sets to the right. After a second, a whole screen blinked, and a message appeared:

CLDevice [id: 139986880169568 name: GeForce 8600 GTS type: GPU profile: FULL_PROFILE] build log:
    <empty>
Exception in thread "Timer-0" javax.media.opengl.GLException: com.jogamp.opencl.CLException$CLInvalidCommandQueueException: can not enqueue read-buffer: CLBuffer [id: 30567312 buffer: java.nio.DirectFloatBufferU[pos=0 lim=921600 cap=921600]] with
cond.: null events: null [error: CL_INVALID_COMMAND_QUEUE]
        at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:98)
        at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:197)
        at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:164)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:783)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:389)
        at julia3d.Renderer.update(Renderer.java:64)
        at julia3d.Renderer$1.run(Renderer.java:133)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
Caused by: com.jogamp.opencl.CLException$CLInvalidCommandQueueException: can not enqueue read-buffer: CLBuffer [id: 30567312 buffer: java.nio.DirectFloatBufferU[pos=0 lim=921600 cap=921600]] with
cond.: null events: null [error: CL_INVALID_COMMAND_QUEUE]
        at com.jogamp.opencl.CLException.newException(CLException.java:78)
        at com.jogamp.opencl.CLCommandQueue.putReadBuffer(CLCommandQueue.java:181)
        at com.jogamp.opencl.CLCommandQueue.putReadBuffer(CLCommandQueue.java:151)
        at julia3d.Julia3d.compute(Julia3d.java:165)
        at julia3d.Renderer.display(Renderer.java:70)
        at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:165)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:889)
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:335)
        at javax.media.opengl.awt.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:906)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
        at java.awt.EventQueue.access$000(EventQueue.java:101)
        at java.awt.EventQueue$3.run(EventQueue.java:666)
        at java.awt.EventQueue$3.run(EventQueue.java:664)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

What it could mean? Thanks...