Bug 357

Summary: JOGLInteroperability demo fails on openjdk
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED INVALID    
Severity: normal CC: bienator
Priority: P3    
Version: 1   
Hardware: All   
OS: linux   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:51:29 CET


---- Reported by boris_kolar 2008-06-04 01:24:30 ----

Exception "Error making context current" is thrown when I launch
JOGLInteroperability demo, using openjdk on linux.

Steps to reproduce:

Using HP laptop with ATI Mobility Radeon X1600 running Ubuntu 8.04 desktop with
openjdk-6-jdk installed. The issue is not related to Netbeans or opengl plugin
(I tried running anything using GLJPanel and the same issue appears).

OPTIONAL: 1. Download Netbeans 6.1
OPTIONAL: 2. Install https://netbeans-opengl-pack.dev.java.net/
3. Run JOGLInteroperabilityDemo and select something from "Actions" menu

Exception will be thrown. Details:

Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Error
making context current
        at
com.sun.opengl.impl.x11.X11GLContext.makeCurrentImpl(X11GLContext.java:141)
        at
com.sun.opengl.impl.x11.X11OffscreenGLContext.makeCurrentImpl(X11OffscreenGLContext.java:74)
        at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
        at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
        at javax.media.opengl.GLJPanel.paintComponent(GLJPanel.java:661)
        at demos.jgears.JGears.paintComponent(JGears.java:56)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:875)
        at javax.swing.JComponent.paint(JComponent.java:1047)
        at javax.swing.JComponent.paintChildren(JComponent.java:875)
        at javax.swing.JComponent.paint(JComponent.java:1047)
        at javax.swing.JComponent.paintChildren(JComponent.java:875)
        at javax.swing.JComponent.paint(JComponent.java:1047)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:581)
        at javax.swing.JComponent.paintChildren(JComponent.java:875)
        at javax.swing.JComponent.paint(JComponent.java:1047)
        at javax.swing.JComponent.paintChildren(JComponent.java:875)
        at javax.swing.JComponent.paint(JComponent.java:1047)
        at javax.swing.JComponent.paintChildren(JComponent.java:875)
        at javax.swing.JComponent.paint(JComponent.java:1047)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:581)
        at javax.swing.JComponent.paintChildren(JComponent.java:875)
        at javax.swing.JComponent.paint(JComponent.java:1047)
        at javax.swing.JComponent.paintChildren(JComponent.java:875)
        at javax.swing.JComponent.paint(JComponent.java:1047)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:581)
        at javax.swing.JComponent.paintChildren(JComponent.java:875)
        at javax.swing.JComponent.paint(JComponent.java:1047)
        at javax.swing.JComponent.paintToOffscreen(JComponent.java:5147)
        at
javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:302)
        at javax.swing.RepaintManager.paint(RepaintManager.java:1145)
        at javax.swing.JComponent._paintImmediately(JComponent.java:5095)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4905)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:740)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:696)
        at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:676)
        at javax.swing.RepaintManager.access$700(RepaintManager.java:57)
        at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1550)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1000)
        at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
        at com.sun.opengl.util.Animator.display(Animator.java:158)
        at com.sun.opengl.util.FPSAnimator$1.run(FPSAnimator.java:95)
        at java.util.TimerThread.mainLoop(Timer.java:534)
        at java.util.TimerThread.run(Timer.java:484)
...



--- Bug imported by sgothel@jausoft.com 2010-03-24 07:51 EDT  ---

This bug was previously known as _bug_ 357 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=357