mojira.dev
MC-15564

start up failure: IllegalStateException: "Cannot determine close requested state of uncreated window"

Put the summary of the bug you're having here

What I expected to happen was...:
For the launcher to start up

What actually happened was...:
it failed and put up the bug report

Steps to Reproduce:
1. download the MinecraftDev
2. make sure it is 13w19a
3. press play button ( with criteria inserted )


Client> org.lwjgl.LWJGLException: Failed to set display mode (-1).
Client> 	at org.lwjgl.opengl.WindowsDisplay.nSwitchDisplayMode(Native Method)
Client> 	at org.lwjgl.opengl.WindowsDisplay.switchDisplayMode(WindowsDisplay.java:332)
Client> 	at org.lwjgl.opengl.Display.switchDisplayMode(Display.java:359)
Client> 	at org.lwjgl.opengl.Display.setDisplayModeAndFullscreenInternal(Display.java:507)
Client> 	at org.lwjgl.opengl.Display.setFullscreen(Display.java:475)
Client> 	at ats.j(SourceFile:1105)
Client> 	at ats.O(SourceFile:395)
Client> 	at ats.d(SourceFile:599)
Client> 	at net.minecraft.client.main.Main.main(SourceFile:101)
Client> java.lang.IllegalStateException: Cannot determine close requested state of uncreated window
Client> 	at org.lwjgl.opengl.Display.isCloseRequested(Display.java:549)
Client> 	at ats.S(SourceFile:647)
Client> 	at ats.d(SourceFile:619)
Client> 	at net.minecraft.client.main.Main.main(SourceFile:101)

Linked issues

MC-4979 Pig Control Bug Resolved MC-17161 When updating, I cannot go in Minecraft. The opening of Minecraft gives me an error for some unexplained reason. Resolved MC-17799 Crash Resolved MC-19143 Crash Resolved MC-19871 MInecraft 1.5.2 crashes on login Resolved

Attachments

Comments 16

Can you attach the output of the development console ?

Note:

Description: Unexpected error

java.lang.IllegalStateException: Cannot determine close requested state of uncreated window
	at org.lwjgl.opengl.Display.isCloseRequested(Display.java:549)
	at asm.O(SourceFile:572)
	at asm.c(SourceFile:544)
	at net.minecraft.client.main.Main.main(SourceFile:78)

Please attach the output of the Development Console tab.

Can anyone having this issue please attach the complete output of the "Development console" of the launcher. CTRL-A, CTRL-C there, CTRL-V in the ticket

Launcher 1.0.10 (through bootstrap 5) started on windows...
Current time is Jul 17, 2013 1:47:12 AM
System.getProperty('os.name') == 'Windows 7'
System.getProperty('os.version') == '6.1'
System.getProperty('os.arch') == 'x86'
System.getProperty('java.version') == '1.7.0_25'
System.getProperty('java.vendor') == 'Oracle Corporation'
System.getProperty('sun.arch.data.model') == '32'
Going to log in with legacy stored username & password...
Loaded 1 profile(s); selected 'Lost World'
Delta time to compare resources: 34264 ms 
Download job 'Resources' skipped as there are no files to download
Job 'Resources' finished successfully
Trying to log in...
Logging in with access token
Logged in successfully
Getting syncinfo for selected version
Queueing library & version downloads
Download job 'Version & Libraries' started (8 threads, 19 files)
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-1.47.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\14.0\guava-14.0.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\argo\argo\2.25_fixed\argo-2.25_fixed.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\owner\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2.jar for job 'Version & Libraries': Used own copy as it matched etag
Job 'Version & Libraries' finished successfully
Launching game
Looking for old natives to clean up...
Unpacking natives to C:\Users\owner\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-4068188998040
Launching in C:\Users\owner\AppData\Roaming\.minecraft
Running C:\Program Files (x86)\Java\jre7\bin\javaw.exe -Xmx512M -Djava.library.path=C:\Users\owner\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-4068188998040 -cp C:\Users\owner\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\argo\argo\2.25_fixed\argo-2.25_fixed.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-1.47.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\14.0\guava-14.0.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;C:\Users\owner\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;C:\Users\owner\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2.jar net.minecraft.client.main.Main --username Scavien --session token:add4013957f5472c820eccc63a3de420:9ae502c4109f40daba03b371cd71ed6f --version 1.6.2 --gameDir C:\Users\owner\AppData\Roaming\.minecraft --assetsDir C:\Users\owner\AppData\Roaming\.minecraft\assets --width 800 --height 600
---- YOU CAN CLOSE THIS LAUNCHER IF THE GAME STARTED OK ----
---- YOU CAN CLOSE THIS LAUNCHER IF THE GAME STARTED OK ----
---- YOU CAN CLOSE THIS LAUNCHER IF THE GAME STARTED OK ----
---- (We'll do this automatically later ;D) ----
Client> 2013-07-17 01:48:00 [CLIENT] [INFO] Setting user: Scavien
Client> 2013-07-17 01:48:00 [CLIENT] [INFO] (Session ID is token:add4013957f5472c820eccc63a3de420:9ae502c4109f40daba03b371cd71ed6f)
Client> 2013-07-17 01:48:01 [CLIENT] [INFO] LWJGL Version: 2.9.0
Client> 2013-07-17 01:48:02 [CLIENT] [INFO] Reloading ResourceManager: Default
Client> 
Client> Starting up SoundSystem...
Client> Initializing LWJGL OpenAL
Client>     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
Client> OpenAL initialized.
Client> 
Client> org.lwjgl.LWJGLException: Failed to set display mode (-1).
Client> 	at org.lwjgl.opengl.WindowsDisplay.nSwitchDisplayMode(Native Method)
Client> 	at org.lwjgl.opengl.WindowsDisplay.switchDisplayMode(WindowsDisplay.java:332)
Client> 	at org.lwjgl.opengl.Display.switchDisplayMode(Display.java:359)
Client> 	at org.lwjgl.opengl.Display.setDisplayModeAndFullscreenInternal(Display.java:507)
Client> 	at org.lwjgl.opengl.Display.setFullscreen(Display.java:475)
Client> 	at ats.j(SourceFile:1105)
Client> 	at ats.O(SourceFile:395)
Client> 	at ats.d(SourceFile:599)
Client> 	at net.minecraft.client.main.Main.main(SourceFile:101)
Client> java.lang.IllegalStateException: Cannot determine close requested state of uncreated window
Client> 	at org.lwjgl.opengl.Display.isCloseRequested(Display.java:549)
Client> 	at ats.S(SourceFile:647)
Client> 	at ats.d(SourceFile:619)
Client> 	at net.minecraft.client.main.Main.main(SourceFile:101)
Client> ---- Minecraft Crash Report ----
Client> // You're mean.
Client> 
Client> Time: 7/17/13 1:48 AM
Client> Description: Unexpected error
Client> 
Client> java.lang.IllegalStateException: Cannot determine close requested state of uncreated window
Client> 	at org.lwjgl.opengl.Display.isCloseRequested(Display.java:549)
Client> 	at ats.S(SourceFile:647)
Client> 	at ats.d(SourceFile:619)
Client> 	at net.minecraft.client.main.Main.main(SourceFile:101)
Client> 
Client> 
Client> A detailed walkthrough of the error, its code path and all known details is as follows:
Client> ---------------------------------------------------------------------------------------
Client> 
Client> -- System Details --
Client> Details:
Client> 	Minecraft Version: 1.6.2
Client> 	Operating System: Windows 7 (x86) version 6.1
Client> 	Java Version: 1.7.0_25, Oracle Corporation
Client> 	Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
Client> 	Memory: 27565896 bytes (26 MB) / 69484544 bytes (66 MB) up to 518979584 bytes (494 MB)
Client> 	JVM Flags: 1 total; -Xmx512M
Client> 	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Client> 	Suspicious classes: No suspicious classes found.
Client> 	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Client> 	Launched Version: 1.6.2
Client> 	LWJGL: 2.9.0
Client> 	OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Client> 	Is Modded: Probably not. Jar signature remains and client brand is untouched.
Client> 	Type: Client (map_client.txt)
Client> 	Resource Pack: Default
Client> 	Current Language: English (US)
Client> 	Profiler Position: N/A (disabled)
Client> 	Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Client> #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\owner\AppData\Roaming\.minecraft\crash-reports\crash-2013-07-17_01.48.10-client.txt
Client> AL lib: (EE) alc_cleanup: 1 device not closed
Game ended with bad state (exit code -1)
Crash report detected, opening: C:\Users\owner\AppData\Roaming\.minecraft\crash-reports\crash-2013-07-17_01.48.10-client.txt
Deleting C:\Users\owner\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-4068188998040
6 more comments

Try updating your Minecraft by deleting your Minecraft.exe and .Minecraft files and download the new launcher at: www.minecraft.net/download

That's the laucher i'm useing

MC-31997 is 1.6.4, this is fixed in the 1.7 snapshots.

Mathew Wolfenden

Erik Broes

Unconfirmed

crash

Snapshot 13w19a, Snapshot 13w21b, Snapshot 13w22a, Snapshot 13w24a, Snapshot 13w26a, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4

Minecraft 13w36a

Retrieved