Every time i try to launch a modpack through prismlauncher, i keep getting this error:
java.lang.ExceptionInInitializerError
at net.minecraft.client.Minecraft.func_175594_ao(Minecraft.java:680)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:456)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
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)
... 13 more
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Linux (amd64) version 6.15.2-arch1-1
Java Version: 1.8.0_452, Temurin
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Temurin
Memory: 1532571728 bytes (1461 MB) / 1930952704 bytes (1841 MB) up to 3817865216 bytes (3641 MB)
JVM Flags: 2 total; -Xms512m -Xmx4096m
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: