Re: Exception being thrown using jogl v2.2.0
Posted by
Sven Gothel on
URL: https://forum.jogamp.org/Exception-being-thrown-using-jogl-v2-2-0-tp4032731p4032734.html
On 08/07/2014 07:17 PM, dpetersc [via jogamp] wrote:
> Hello,
> My company has some webstart applications which use the jogl extension at the
> bottom of this message to access native jogl libs. Since the switchover to
> v2.2.0, all of our apps have been throwing the following exception:
>
> Exception in thread "AWT-EventQueue-2" javax.media.opengl.GLException: Caught
> NoSuchMethodError:
> com.jogamp.opengl.FBObject.createColorTextureAttachment(Ljavax/media/opengl/GLProfile;ZII)Lcom/jogamp/opengl/FBObject$TextureAttachment;
> on thread AWT-EventQueue-2
> at javax.media.opengl.GLException.newGLException(GLException.java:75)
> at
> jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1318)
> at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1138)
> at javax.media.opengl.awt.GLCanvas$11.run(GLCanvas.java:1368)
> at javax.media.opengl.Threading.invoke(Threading.java:223)
> at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:522)
> at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:576)
> <more>
>
> If I revert back to using v2.1.5, things run just fine. Any ideas what's
> wrong would be appreciated. Is this a bug in 2.2.0 or is there something we
> need to change in our apps?
Yes, 2.2.0 is not bwd compatible w/ 2.1.5, see wiki version semantics
and maybe even our 'semver' unit test results.
You need to recompile and adapt.
~Sven