Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
at net.minecraft.client.Minecraft.al(Unknown Source)
at net.minecraft.client.Minecraft.run(Unknown Source)
at java.lang.Thread.run(Thread.java:679)
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)
... 3 more
Why??????
Rollback Post to RevisionRollBack
Eons ago, there was only void. Then came the big bang. Voxels colliding with voxels, cubes with cubes. Blocks were forming, each texture unique from the rest. That was when our universe was born.
MC is having problems interacting with X or one of the associated drivers. Your video card and drivers needs to support OpenGL 1.1 (or 1.4) acceleration, and that Java is fairly recent (Official Sun/Oracle builds from JRE 6 are preferred since 7 is still buggy).
MC is having problems interacting with X or one of the associated drivers. Your video card and drivers needs to support OpenGL 1.1 (or 1.4) acceleration, and that Java is fairly recent (Official Sun/Oracle builds from JRE 6 are preferred since 7 is still buggy).
It only recently started doing so. Since, about a week ago
Rollback Post to RevisionRollBack
Eons ago, there was only void. Then came the big bang. Voxels colliding with voxels, cubes with cubes. Blocks were forming, each texture unique from the rest. That was when our universe was born.
Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
at net.minecraft.client.Minecraft.a(SourceFile:184)
at net.minecraft.client.Minecraft.run(SourceFile:657)
at java.lang.Thread.run(Thread.java:679)
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)
... 3 more
Eons ago, there was only void. Then came the big bang. Voxels colliding with voxels, cubes with cubes. Blocks were forming, each texture unique from the rest. That was when our universe was born.
Make sure your graphics drivers are up to date, and you are using the correct version of java. Took me four tries to find the correct one and to get minecraft running. Best of luck.
Eons ago, there was only void. Then came the big bang. Voxels colliding with voxels, cubes with cubes. Blocks were forming, each texture unique from the rest. That was when our universe was born.
Since this is the top result at google for this problem, and no solution has been offered yet...
For me, the problem only happened when I attached an external screen and start Minecraft on that. The ArrayIndexOutOfBoundsException seems to indicate that an invalid XRandR (X11) Screen was referenced. It seems this is a problem with the older LWJGL version that is shipped with Minecraft. The solution for me was to either:
That's the exact experience I had. Worked fine on the laptop built-in display, but not in the dock with monitors. Upgrading LWJGL fixed it perfectly, THANKS!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError at net.minecraft.client.Minecraft.al(Unknown Source) at net.minecraft.client.Minecraft.run(Unknown Source) at java.lang.Thread.run(Thread.java:679) 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) ... 3 moreWhy??????
MC is having problems interacting with X or one of the associated drivers. Your video card and drivers needs to support OpenGL 1.1 (or 1.4) acceleration, and that Java is fairly recent (Official Sun/Oracle builds from JRE 6 are preferred since 7 is still buggy).
It only recently started doing so. Since, about a week ago
Ummm, no. Didn't help
Check youtube for similar problems.
Linux pici 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux
(II) NVIDIA GLX Module 304.43 Sun Aug 19 20:41:51 PDT 2012
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
jre1.7.0_06
That's the exact experience I had. Worked fine on the laptop built-in display, but not in the dock with monitors. Upgrading LWJGL fixed it perfectly, THANKS!