2.4.2 fails on 64 bit Ubuntu (9.10)

Started by raft, June 23, 2010, 20:57:34

Previous topic - Next topic

raft

hi,

Display.getAvailableDisplayModes()


fails throwing:

Exception in thread "main" java.lang.ExceptionInInitializerError
	at tmp.LWTest.main(LWTest.java:17)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.lwjgl.opengl.XRandR$Screen.<init>(XRandR.java:234)
	at org.lwjgl.opengl.XRandR$Screen.<init>(XRandR.java:196)
	at org.lwjgl.opengl.XRandR.populate(XRandR.java:87)
	at org.lwjgl.opengl.XRandR.access$100(XRandR.java:52)
	at org.lwjgl.opengl.XRandR$1.run(XRandR.java:110)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:108)
	at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
	... 1 more


any ideas ?