Bug 290

Summary: GLJPanel throws NullPointerExceptions with Java 2D/JOGL bridge
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:50:21 CET


---- Reported by kbr 2007-03-23 00:10:22 ----

User GKW reports that:

> I found a couple minor bugs in GLJPanel.  Calling getAutoSwapBufferMode and
> setAutoSwapBufferMode if you are using the j2d/opengl pipeline you will throw
> null pointer exceptions.  Currently they both just check the
> hardwareAccelerationDisabled flag and don't check to see if oglPipelineEnabled
> is true.



---- Additional Comments From kbr 2007-04-16 22:33:37 ----

Fixed NPEs in setAutoSwapBufferMode and swapBuffers if Java 2D / JOGL
bridge is enabled. These methods are essentially no-ops on the
GLJPanel anyway because of how the copying to the Swing rendering area
(be it a BufferedImage or the Swing back buffer) is done.




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

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