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
- is duplicated by
-
MC-24464 0fps,than crash
- Resolved
-
MC-31683 Hopper: java.lang.IllegalStateException: Keyboard must be created before you can query key state
- Resolved
-
MC-33374 Crashing all the flipping time...
- Resolved
-
MC-33888 crash
- Resolved
-
MC-35316 Hopper: java.lang.IllegalStateException: Keyboard must be created before you can query key state
- Resolved
- relates to
-
MC-5520 Crash when toggling fullscreen mode: Keyboard must be created before you can read events
- Resolved