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

W7 sleep mode causes game to crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Incomplete
    • Affects Version/s: Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4
    • Fix Version/s: None
    • Labels:
    • Environment:

      Windows 7 Prof.
      Macbook Pro, Early 2012 / Bootcamp

    • Confirmation Status:
      Unconfirmed

      Description

      Closing the lid of my laptop puts it into sleep mode, this seems to cause the keyboard instance to be removed.

      'fun' facts:
      -I tested it on 1.6.1 pre-release, but I remember this happening before 1.6 too.
      -It only happens in full screen mode, not in windowed mode.
      -Only happened with sleep mode, hibernation didn't cause my minecraft client to crash
      -Happens with and without resource pack/texture pack(in previous versions)

      ---- Minecraft Crash Report ----
      // Uh... Did I do that?
      
      Time: 30-6-13 19:56
      Description: Unexpected error
      
      java.lang.IllegalStateException: Keyboard must be created before you can query key state
      	at org.lwjgl.input.Keyboard.isKeyDown(Keyboard.java:406)
      	at atn.S(SourceFile:714)
      	at atn.d(SourceFile:618)
      	at net.minecraft.client.main.Main.main(SourceFile:101)
      
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- System Details --
      Details:
      	Minecraft Version: 1.6.1
      	Operating System: Windows 7 (amd64) version 6.1
      	Java Version: 1.7.0_17, Oracle Corporation
      	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
      	Memory: 43493296 bytes (41 MB) / 113573888 bytes (108 MB) up to 954466304 bytes (910 MB)
      	JVM Flags: 1 total; -Xmx1G
      	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      	Suspicious classes: No suspicious classes found.
      	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
      	Launched Version: 1.6.1
      	LWJGL: 2.9.0
      	OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
      	Is Modded: Probably not. Jar signature remains and client brand is untouched.
      	Type: Client (map_client.txt)
      	Resource Pack: Default
      	Profiler Position: N/A (disabled)
      	Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
      

      I guess catching and waiting for the next available device should suffice, but that's for you guys to decide

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ikkentim Tim potze
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: