NullPointerException in getVersion

Started by llama, September 07, 2006, 18:29:08

Previous topic - Next topic

llama

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.

elias