Mojira Archive
MC-79573

Hopper: java.lang.ExceptionInInitializerError (Crash on Linux, Bug in LWJGL)

Fix

Install xrandr.

Debian: sudo apt-get install x11-xserver-utils
Arch: sudo pacman -S xorg-xrandr

If that does not help, or you are having trouble installing it, please contact community support.

This is an automatically generated report based from the following crash: http://hopper.minecraft.net/crashes/minecraft/MCX-2390971/

Crash:

java.lang.ExceptionInInitializerError
	at avf.ar(SourceFile:560)
	at avf.am(SourceFile:361)

The following is the first clean report made public about this crash:

---- Minecraft Crash Report ----
// Ooh. Shiny.

Time: 2/20/15 12:06 AM
Description: Initializing game

java.lang.ExceptionInInitializerError
	at avf.ar(SourceFile:560)
	at avf.am(SourceFile:361)
	at avf.a(SourceFile:310)
	at net.minecraft.client.main.Main.main(SourceFile:124)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:951)
	at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
	... 4 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
	at avf.ar(SourceFile:560)
	at avf.am(SourceFile:361)

-- Initialization --
Details:
Stacktrace:
	at avf.a(SourceFile:310)
	at net.minecraft.client.main.Main.main(SourceFile:124)

-- System Details --
Details:
	Minecraft Version: 1.8.2
	Operating System: Linux (amd64) version 3.18.6-1-ARCH
	CPU: 2x Intel(R) Pentium(R) CPU 2117U @ 1.80GHz
	Java Version: 1.8.0_31, Oracle Corporation
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 57026200 bytes (54 MB) / 158343168 bytes (151 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 5 total; -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 1.8.2
	LWJGL: 2.9.4
	OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	GL Caps: 
	Using VBOs: No
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: []
	Current Language: ~~ERROR~~ NullPointerException: null
	Profiler Position: N/A (disabled)

You can see this full report at http://hopper.minecraft.net/crashes/minecraft/MCX-2390971/73762569/

Invalid

[Bot] Hopper

2015-04-14, 03:41 AM

2018-01-07, 09:15 AM

2016-04-08, 11:08 PM

0

4

Unconfirmed

Minecraft 1.8.2

-