Mod note: Potential fix in this comment: https://bugs.mojang.com/browse/MCL-9735?focusedCommentId=475718&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-475718
I deleted and reinstalled minecraft twice. The new linux launcher downloads the version 1.12.2 and starts it but there it stops. Any version below 1.13 crashes on launch.
Why I thought it's a game bug? 1.13 launches properly.
I downloaded minecraft from snap since there's no other way due to a so called "os bug" -> you sayed me that wasn't your problem
---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!
Time: 7/24/18 8:57 PM
Description: Initializing game
java.lang.ExceptionInInitializerError
at bib.av(SourceFile:661)
at bib.aq(SourceFile:456)
at bib.a(SourceFile:404)
at net.minecraft.client.main.Main.main(SourceFile:123)
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 –
Thread: Client thread
Stacktrace:
at bib.av(SourceFile:661)
at bib.aq(SourceFile:456)
– Initialization –
Details:
Stacktrace:
at bib.a(SourceFile:404)
at net.minecraft.client.main.Main.main(SourceFile:123)
– System Details –
Details:
Minecraft Version: 1.12.2
Operating System: Linux (amd64) version 4.15.0-29-generic
Java Version: 1.8.0_171, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 138472512 bytes (132 MB) / 201326592 bytes (192 MB) up to 2147483648 bytes (2048 MB)
JVM Flags: 7 total; -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.12.2
LWJGL: 2.9.4
OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
GL Caps:
Using VBOs: Yes
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)
CPU: <unknown>
Linked issues
is duplicated by 4
Comments 13
I'ma try reinstall minecraft this time erasing settings and other stuff... I found a crash report even if there's no crash message. I'm sorry for this, last time I searched for stuff in minecraft folders was long ago, I will see if this fixes the issure...
It came to my mind that optifine settings file broke the game
didnt work
I tryed to open othr versions. They all crash the same way. No version works below 1.13
feel dump for not finding the error report... hope it helps a bit
---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!
Time: 7/24/18 8:57 PM
Description: Initializing game
java.lang.ExceptionInInitializerError
at bib.av(SourceFile:661)
at bib.aq(SourceFile:456)
at bib.a(SourceFile:404)
at net.minecraft.client.main.Main.main(SourceFile:123)
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 –
Thread: Client thread
Stacktrace:
at bib.av(SourceFile:661)
at bib.aq(SourceFile:456)
– Initialization –
Details:
Stacktrace:
at bib.a(SourceFile:404)
at net.minecraft.client.main.Main.main(SourceFile:123)
– System Details –
Details:
Minecraft Version: 1.12.2
Operating System: Linux (amd64) version 4.15.0-29-generic
Java Version: 1.8.0_171, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 138472512 bytes (132 MB) / 201326592 bytes (192 MB) up to 2147483648 bytes (2048 MB)
JVM Flags: 7 total; -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.12.2
LWJGL: 2.9.4
OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
GL Caps:
Using VBOs: Yes
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)
CPU: <unknown>
Kepler; I am having the same issue on my Ubuntu 18.04 using SNAP.
I went to Minecraft.net and downloaded it from there.
I am able to launch Minecraft using that download (not the snap version); but I cannot connect to any servers: The authentication servers are currently down for maintenance. (but my Windows machines and other Ubuntu connect just fine)
If you have time; would you mind installing from Minecraft.net and see if it works and if you can connect to an online server?
Hopefully this will either fix your issue or restore some of my sanity in knowing that someone else is having the same issue.
*EDIT: I should note that the Minecraft.net version requires libgconf2-4 to be installed.
Mojang? Any word on a fix? Still getting the following error when attempting to connect to an MC server.
Failed to connect to the server
Failed to login: The authentication servers are currently down for maintenance.
@kumasasa thanks for the link, I'll keep track of that issue as well.
But since it's "just" a note regarding the mentioned workaround, the original error still persists here.
I encountered this issue while setting up Minecraft on a new PC running Gentoo Linux (not Debian-based, so using the deb file as a workaround is not an option), using the new linux launcher v2.1.3676. No version of the game prior to 1.13 would start, citing the same "Initializing gamejava.lang.ExceptionInInitializerError" caused by opengl context errors others have listed above.
I found the actual fix under MCL-9378 which is marked as a duplicate of this bug, it was provided in a comment by @urielsalis: fix is to install xrandr.
Commenting here so the information is available in the currently open bug.
Not at all... Does Ubuntu 18.04 look like windows?...
Game bar of "loading" gets to 100% but the game never starts