javax.media.opengl.GLException: Method "glConvolutionFilter2D" not available

Hi, i’m newbie in jogl. I would try some examples with convolution filters.
I try example from this http://www.java-tips.org/other-api-tips/jogl/how-to-use-various-2d-convolutions-filters-to-find-edges-in-an-2.html source, but the example will result into:

Exception in thread “AWT-EventQueue-0” javax.media.opengl.GLException: Method “glConvolutionFilter2D” not available
at com.sun.opengl.impl.GLImpl.glConvolutionFilter2D(GLImpl.java:2492)
at cz.uhk.pgrf.conv.conv.JoglConvolution$Renderer.init(JoglConvolution.java:178)
at com.sun.opengl.impl.GLDrawableHelper.init(GLDrawableHelper.java:72)
at javax.media.opengl.GLCanvas$InitAction.run(GLCanvas.java:418)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:189)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
at sun.awt.RepaintArea.paint(RepaintArea.java:224)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:306)
at java.awt.Component.dispatchEventImpl(Component.java:4659)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

this exception. I try other examples with function glConvolutionFilter2D, but with the same result. I will very appreciate your help.

probably it will be some problem with GL_ARB_imaging extension… can anybody explain this?

Look in jogl-demo’s src/demos/GLInfo.java how to query if an extension is available,
plus the function itself (should not be necessary).

If you are sure the extension plus function is present, therefor a JOGL bug,
please provide the bug information as requested in the FAQ … thank you.
I doubt that it’s a JOGL bug though … since our aliased native function query method
within gluegen works quite well for a long time … but you never know.

Just dbl checked … it’s in GL_VERSION_1_2, so it should be there …

A simple line …
System.err.println(" glConvolutionFilter2D: "+gl.isFunctionAvailable(“glConvolutionFilter2D”));
returned ‘true’ …

Pls provide a working example … etc (-> FAQ).
Thank you.