Crash when toggling fullscreen mode: Keyboard must be created before you can read events
The bug
Minecraft crashes when you toggle fullscreen mode.
Description: Updating screen events java.lang.IllegalStateException: Keyboard must be created before you can read events at org.lwjgl.input.Keyboard.next(Keyboard.java:475) at bho.p(SourceFile:386) at bes.t(SourceFile:1586) at bes.av(SourceFile:970) at bes.a(SourceFile:398) at net.minecraft.client.main.Main.main(SourceFile:124)
Possible causes
This list contains some of the possible causes for this bug. It is not recommended to skip GPU driver updates or similar since it is not guaranteed that this is really causing this bug.
- Adding or removing monitors (on OS X?)
- Specific refresh rates (see this comment, this comment and
MC-113713) - Upgrade of GPU driver (see this comment and
MC-81258) - Rotating monitor output (see this comment)
Workaround
This comment, this comment and MC-113713 suggest setting the refresh rate to exactly 60 hz fixes this problem.
Maybe: Comments in this reddit post suggest that resizing the window while the main menu is open before enabling fullscreen mode prevents this issue from happening.
2012-12-29, 03:03 PM
2018-04-07, 09:12 PM
2017-10-25, 04:44 PM
14
18
client, crash, fullscreen, fullscreen-mode, lwjgl, monitor
Minecraft 1.4.6 - Minecraft 1.12
Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w09a, Snapshot 13w09b, Minecraft 1.5, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w21b, Snapshot 13w22a, Snapshot 13w24a, Snapshot 13w24b, Snapshot 13w25a, Snapshot 13w25b, Snapshot 13w25c, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w36a, Minecraft 13w36b, Minecraft 13w39b, Minecraft 13w41b, Minecraft 13w42b, Minecraft 1.7.2, Minecraft 13w48b, Minecraft 1.7.4, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w34a, Minecraft 1.8.9, Minecraft 15w50a, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.10.2, Minecraft 1.11.2, Minecraft 1.12