<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>405</bug_id>
          
          <creation_ts>2010-07-21 02:18:39 +0200</creation_ts>
          <short_desc>Exception running 2 of the JOGL 2 demos</short_desc>
          <delta_ts>2010-11-22 17:57:36 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>opengl</component>
          <version>2</version>
          <rep_platform>pc_x86_64</rep_platform>
          <op_sys>windows</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>397</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ozemale</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>7262641429b542929efc699e392f410f1dee2187</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>475</commentid>
    <comment_count>0</comment_count>
    <who name="">ozemale</who>
    <bug_when>2010-07-21 02:18:39 +0200</bug_when>
    <thetext>I get the following exception when running the Hardware Shadow Mapping and High Dynamic Range Rendering demos on the JogAmp web site.  The machine is running 64-bit Windows 7 with Java 6 Update 21 and has a high-end Quadro FX-5800 GPU which should be more than capable of running the demos. 

Exception in thread &quot;AWT-EventQueue-0&quot; javax.media.opengl.GLException: Error making context current: 0x0, com.jogamp.opengl.impl.windows.wgl.WindowsWGLContext [OpenGL 3.2, options 0x22, 3.2 (compatibility profile, any, old) - 3.2.0, com.jogamp.opengl.impl.gl4.GL4bcImpl@2ba11b, 
        Drawable Read/Write: com.jogamp.opengl.impl.windows.wgl.WindowsDummyWGLDrawable[Realized true, 
        Factory   com.jogamp.opengl.impl.windows.wgl.WindowsWGLDrawableFactory@5e179a, 
        Window    NullWindow[config WindowsWGLGraphicsConfiguration[class javax.media.nativewindow.DefaultGraphicsScreen[class javax.media.nativewindow.DefaultGraphicsDevice[type default, handle 0x0], idx 0], pfdID -1, wglChoosen true, 
        requested GLCapabilities[Capabilities[Onscreen: true, Red: 8, Green: 8, Blue: 8, Alpha: 0, Opaque: true], GL profile: GLProfile[GL2/GL2], PBuffer: true, DoubleBuffered: true, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 0, Red Accum: 0, Green Accum: 0, Blue Accum: 0, Alpha Accum: 0, Multisample: false, Num samples: 0, PBuffer-FloatingPointBuffers: false, PBuffer-RenderToTexture: false, PBuffer-RenderToTextureRectangle: false], 
        chosen    GLCapabilities[Capabilities[Onscreen: true, Red: 8, Green: 8, Blue: 8, Alpha: 0, Opaque: true], GL profile: GLProfile[GL2/GL2], PBuffer: true, DoubleBuffered: false, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 0, Red Accum: 16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16, Multisample: false, Num samples: 0, PBuffer-FloatingPointBuffers: true, PBuffer-RenderToTexture: false, PBuffer-RenderToTextureRectangle: false]], displayHandle 0x0, surfaceHandle 0x7301489d, size 0x0]]] 
        at com.jogamp.opengl.impl.windows.wgl.WindowsWGLContext.makeCurrentImpl(WindowsWGLContext.java:313) 
        at com.jogamp.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:288) 
        at com.jogamp.opengl.impl.windows.wgl.WindowsWGLDrawableFactory$1.run(WindowsWGLDrawableFactory.java:154) 
        at com.jogamp.opengl.impl.GLDrawableFactoryImpl.maybeDoSingleThreadedWorkaround(GLDrawableFactoryImpl.java:208) 
        at com.jogamp.opengl.impl.windows.wgl.WindowsWGLDrawableFactory.createGLPbufferDrawableImpl(WindowsWGLDrawableFactory.java:169) 
        at com.jogamp.opengl.impl.GLDrawableFactoryImpl.createGLPbufferDrawable(GLDrawableFactoryImpl.java:115) 
        at com.jogamp.opengl.impl.GLDrawableFactoryImpl.createGLPbufferDrawable(GLDrawableFactoryImpl.java:129) 
        at com.jogamp.opengl.impl.GLDrawableFactoryImpl.createGLPbuffer(GLDrawableFactoryImpl.java:137) 
        at demos.hwShadowmapsSimple.HWShadowmapsSimple.init(HWShadowmapsSimple.java:282) 
        at com.jogamp.opengl.impl.GLDrawableHelper.init(GLDrawableHelper.java:88) 
        at javax.media.opengl.awt.GLCanvas$InitAction.run(GLCanvas.java:603) 
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:149) 
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:553) 
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:290) 
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:368) 
        at sun.awt.RepaintArea.paintComponent(Unknown Source) 
        at sun.awt.RepaintArea.paint(Unknown Source) 
        at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source) 
        at java.awt.Component.dispatchEventImpl(Unknown Source) 
        at java.awt.Component.dispatchEvent(Unknown Source) 
        at java.awt.EventQueue.dispatchEvent(Unknown Source) 
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) 
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) 
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) 
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
        at java.awt.EventDispatchThread.run(Unknown Source)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>592</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-11-19 04:23:19 +0100</bug_when>
    <thetext>caused by capabilities/WGL, .. hence #397

*** This bug has been marked as a duplicate of bug 397 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>