LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: llama on September 07, 2006, 18:29:08

Title: NullPointerException in getVersion
Post by: llama on September 07, 2006, 18:29:08
It's caused by this recent commit:

http://svn.sourceforge.net/viewvc/java-game-lib/trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsDisplay.java?r1=2499&r2=2520

For some reason (maybe WinXP64 weirdness?) getVersion has always returned null with me. However now the WindowsFileVersion object is null, so you can see there problem there.. a simple null check should fix it.

For those wondering, the graphics card is an Ati X700 with the most up to date Catalyst drivers.
Title: NullPointerException in getVersion
Post by: elias on September 08, 2006, 08:29:32
Thanks, fixed.

- elias