Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-9735

Launching 1.12.2 throws java.lang.ExceptionInInitializerError while initializing OpenGL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 2.1.1216 (Windows) / 2.1.1217 (Mac OS) / 2.1.1218 (Linux)
    • Fix Version/s: None
    • Component/s: None
    • Environment:
    • Confirmation Status:
      Community Consensus

      Description

      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>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Kepler_22b Kepler_22b
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: