trying to run Minecraft on my daughter's Yoga 11e Chromebook. The Crouton install took a while but was successful. Got the Java Runtime from http://www.howtogeek.com/198476/how-to-install-minecraft-on-ubuntu-or-any-other-linux-distribution/
Ubuntu restricted extras were also installed. Then I made my first mistake. I accidentally downloaded and installed the server for minecraft 1.8.3. I couldn't use apt-get remove on the server, so I dumped the files in the trash and tossed it.
I then found and downloaded minecraft.1.8.3.jar and installed it without issue. Upon logging in to play however we get this Exception Initializer Error.
I've visited a number of sites reporting same, however the initializer error seems to have any number of causes. Here the issue appears to be a java.lang.ArrayIndexOutOfBoundsException, but what's the cure?
Time: 3/24/15 8:54 PM
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.XRandR.findPrimary(XRandR.java:326)
at org.lwjgl.opengl.XRandR.ScreentoDisplayMode(XRandR.java:315)
at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:746)
at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:743)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:743)
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.3
Operating System: Linux (amd64) version 3.10.18
CPU: 4x Intel(R) Celeron(R) CPU N2930 @ 1.83GHz
Java Version: 1.8.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 31463624 bytes (30 MB) / 154341376 bytes (147 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.3
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)
The Open GL code is having trouble finding the primary display. It's trying to find the first display (the 0th display), but the array doesn't have a 0th entry, so IndexOutOfBounds. This is a problem because it means Open GL knows about no displays at all.
Gerbil thanks for the feedback! I appreciate your diagnosis here. What would the first display be? And how do I identify it and the rest for the Open GL? Should I just remove and reload the JRE?
The Meaning of Life, the Universe, and Everything.
Join Date:
4/2/2013
Posts:
130
Minecraft:
Flamealchamist
Xbox:
Flamealcamist
PSN:
Flamealchamist
Member Details
You can indeed run programs on chrome OS it just has to be in developer mode im pretty sure... Chrome OS is just linux as its base with their edits added to it...
Gerbil I had Minecraft running before, but my daughter accidentally activated OS Verification and took us out of Developer Mode, leading to the deletion of my first install. I'm running the JRE and Minecraft within the xfce side of Crouton. Should I delete the JRE, Minecraft or all? Open to your conjectures!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
trying to run Minecraft on my daughter's Yoga 11e Chromebook. The Crouton install took a while but was successful. Got the Java Runtime from http://www.howtogeek.com/198476/how-to-install-minecraft-on-ubuntu-or-any-other-linux-distribution/
Ubuntu restricted extras were also installed. Then I made my first mistake. I accidentally downloaded and installed the server for minecraft 1.8.3. I couldn't use apt-get remove on the server, so I dumped the files in the trash and tossed it.
I then found and downloaded minecraft.1.8.3.jar and installed it without issue. Upon logging in to play however we get this Exception Initializer Error.
I've visited a number of sites reporting same, however the initializer error seems to have any number of causes. Here the issue appears to be a java.lang.ArrayIndexOutOfBoundsException, but what's the cure?
Time: 3/24/15 8:54 PM
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.XRandR.findPrimary(XRandR.java:326)
at org.lwjgl.opengl.XRandR.ScreentoDisplayMode(XRandR.java:315)
at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:746)
at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:743)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:743)
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.3
Operating System: Linux (amd64) version 3.10.18
CPU: 4x Intel(R) Celeron(R) CPU N2930 @ 1.83GHz
Java Version: 1.8.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 31463624 bytes (30 MB) / 154341376 bytes (147 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.3
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)
The Open GL code is having trouble finding the primary display. It's trying to find the first display (the 0th display), but the array doesn't have a 0th entry, so IndexOutOfBounds. This is a problem because it means Open GL knows about no displays at all.
You cannot run programs on Chrome OS.
Gerbil thanks for the feedback! I appreciate your diagnosis here. What would the first display be? And how do I identify it and the rest for the Open GL? Should I just remove and reload the JRE?
http://www.howtogeek.com/162120/how-to-install-ubuntu-linux-on-your-chromebook-with-crouton/
You can indeed run programs on chrome OS it just has to be in developer mode im pretty sure... Chrome OS is just linux as its base with their edits added to it...
Interesting, cool fact. Wish I had a chromebook, the school ones are the only ones ive been on.
I don't know. Probably the Chrome OS doesn't set up things the way that the Open GL driver expects and so it can't find the display.
Gerbil I had Minecraft running before, but my daughter accidentally activated OS Verification and took us out of Developer Mode, leading to the deletion of my first install. I'm running the JRE and Minecraft within the xfce side of Crouton. Should I delete the JRE, Minecraft or all? Open to your conjectures!