java.lang.IllegalArgumentException

Drawable already added to animator: com.jogamp.opengl.util.FPSAnimator[started false, animating false, paused false, drawable 1, totals[dt 0, frames 0, fps 0.0], modeBits 1, init'ed true, animThread null, exclCtxThread false(null)], AWT-GLCanvas[Realized false, jogamp.opengl.x11.glx.X11OnscreenGLXDrawable, Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@91161c7, handle 0x2600020, Drawable size 286x269 surface[286x269], AWT[pos 7/24, size 286x269, visible true, displayable true, showing true, AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0], chosen GLCaps[glx vid 0xba, fbc 0x81: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0xba], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x8d73fd800, owner true, JAWTToolkitLock[obj 0x604ed9f0, isOwner false, <6a4f787b, 685cb137>[count 0, qsz 0, owner <NULL>]]], idx 0], visualID 0xba, fbConfigID 0x81, requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], chosen GLCaps[glx vid 0xba, fbc 0x81: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]]]]]]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Anton Shterenlikht,
  • via Stack Overflow by nathan czuwala
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: Drawable already added to animator: com.jogamp.opengl.util.FPSAnimator[started false, animating false, paused false, drawable 1, totals[dt 0, frames 0, fps 0.0], modeBits 1, init'ed true, animThread null, exclCtxThread false(null)], AWT-GLCanvas[Realized false, jogamp.opengl.x11.glx.X11OnscreenGLXDrawable, Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@91161c7, handle 0x2600020, Drawable size 286x269 surface[286x269], AWT[pos 7/24, size 286x269, visible true, displayable true, showing true, AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0], chosen GLCaps[glx vid 0xba, fbc 0x81: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0xba], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x8d73fd800, owner true, JAWTToolkitLock[obj 0x604ed9f0, isOwner false, <6a4f787b, 685cb137>[count 0, qsz 0, owner <NULL>]]], idx 0], visualID 0xba, fbConfigID 0x81, requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]], chosen GLCaps[glx vid 0xba, fbc 0x81: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], on-scr[.]]]]]] at com.jogamp.opengl.util.AnimatorBase.add(AnimatorBase.java:201) at SimpleScene.main(SimpleScene.java:33)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.