Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-136763

Game crashes when monitor is off with error: java.lang.NullPointerException: Unexpected error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.13.1
    • None
    • Contained in crash logs
    • Unconfirmed

      In two instances so far about 10 minutes after the screen saver starts the game crashes and reports "error: java.lang.NullPointerException: Unexpected error." This is similar to MC-134282 but distinct because the crash doesn't happen when the screen is turned back on. The crash occurs while the monitor is off.

      The description is exactly the same for both:

      java.lang.NullPointerException: Unexpected errorjava.lang.NullPointerException: Unexpected error at org.lwjgl.system.Checks.check(Checks.java:99) at org.lwjgl.glfw.GLFW.nglfwGetVideoMode(GLFW.java:1340) at org.lwjgl.glfw.GLFW.glfwGetVideoMode(GLFW.java:1363) at cfs.a(SourceFile:1837) at adu.b(SourceFile:101) at cfs.c(SourceFile:910) at cfs.a(SourceFile:395) at net.minecraft.client.main.Main.main(SourceFile:144)

       

      I've attached both crash logs

            Unassigned Unassigned
            lukei4655 Gabriel Mosher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: