jogl
  1. jogl
  2. JOGL-357

JOGLInteroperability demo fails on openjdk

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: jogl
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: PC

    • Issuezilla Id:
      357

      Description

      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)
      ...

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jogl-issues
            Reporter:
            boris_kolar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: