Java exceptions

I’m suddenly experiencing a series of java exceptions I haven’t noticed before (see below), while I haven’t changed anything on my VM (RUS VM, 15GB RAM, except of SNAP only Firefox running at that moment). I have restarted SNAP several times but it’s still the same. I don’t understand what went wrong and I would be very grateful for any suggestions how to solve it. Thanks in advance for your help.

Directly after start of SNAP, I get

javax.media.opengl.GLException: AWT-EventQueue-0: X11GLXContext.createContextImpl ctx !ARB, profile > GL2 requested (OpenGL >= 3.0.1). Requested: GLProfile[GL3bc/GL3bc.sw], current: 3.0 (Compat profile, ES2 compat, FBO, software) - 3.0 Mesa 18.0.5
at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:386)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:662)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:561)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:518)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1105)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:994)
at javax.media.opengl.awt.GLCanvas$11.run(GLCanvas.java:1300)
at javax.media.opengl.Threading.invoke(Threading.java:193)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:541)
at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:595)
at javax.media.opengl.awt.GLCanvas.update(GLCanvas.java:795)
at sun.awt.RepaintArea.updateComponent(RepaintArea.java:255)
at sun.awt.X11.XRepaintArea.updateComponent(XRepaintArea.java:51)
at sun.awt.RepaintArea.paint(RepaintArea.java:232)
at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:584)
at java.awt.Component.dispatchEventImpl(Component.java:4965)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

and then when opening files (which is probably not reasonable anyway, taking into account SNAP didn’t start well):

javax.media.opengl.GLException: AWT-EventQueue-0: X11GLXContext.createContextImpl ctx !ARB, profile > GL2 requested (OpenGL >= 3.0.1). Requested: GLProfile[GL3bc/GL3bc.sw], current: 3.0 (Compat profile, ES2 compat, FBO, software) - 3.0 Mesa 18.0.5
at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:386)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:662)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:561)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:518)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1105)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:994)
at javax.media.opengl.awt.GLCanvas$11.run(GLCanvas.java:1300)
at javax.media.opengl.Threading.invoke(Threading.java:193)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:541)
at gov.nasa.worldwind.WorldWindowGLAutoDrawable.redrawNow(WorldWindowGLAutoDrawable.java:491)
at gov.nasa.worldwind.awt.WorldWindowGLCanvas.redrawNow(WorldWindowGLCanvas.java:284)
at org.esa.snap.worldwind.WWBaseToolView.setSelectedProduct(WWBaseToolView.java:105)
at org.esa.snap.worldwind.WWProductManagerListener.productAdded(WWProductManagerListener.java:37)
at org.esa.snap.core.datamodel.ProductManager.fireEvent(ProductManager.java:310)
at org.esa.snap.core.datamodel.ProductManager.fireEvent(ProductManager.java:302)
at org.esa.snap.core.datamodel.ProductManager.addProduct(ProductManager.java:170)
at org.esa.snap.rcp.actions.file.ReadProductOperation.lambda$run$1(ReadProductOperation.java:59)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

For those who would experience the same problem:
This issue was solved by RUS User Service, who have informed me that the reason is having updated SNAP (update obviously causing this kind of problems); they have uninstalled SNAP and re-installed version 6.0.0 on my VM and now it’s working again without errors. Thanks!

@lenka, in fact the reason is not the update but an incompatibility of libraries on the VM machine with the WorldView in SNAP. If you close it, SNAP should work properly. So please, do not hesitate to update SNAP on your VM.

2 Likes