The game can only be launched once. After, it always crashes. I'm forced to delete .minecraft directory to be able to launch it again. It works well with 1.7.2 version, but not 1.7.4/1.7.5.
I've just bought Minecraft 1 week ago, it doesn't start very well...
Here is the end of the log :
[16:48:01 INFO]: Client> [16:48:01] [main/INFO]: Setting user: Diamantix
[16:48:01 INFO]: Client> [16:48:01] [main/INFO]: (Session ID is token:1575b443b7a14d0dbce86de25b76be30:b05ea6f04236401e97b4f802d25394b7)
[16:48:01 INFO]: Client> Exception in thread "main" java.lang.RuntimeException: Duplicate stat id: "TranslatableComponent{key='stat.useItem', args=[TextComponent{text='[', siblings=[TextComponent{text='Monster Spawner', siblings=[], style=Style{hasParent=true, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=HoverEvent{action=SHOW_ITEM, value='TextComponent{text='{id:52s,Damage:0s,Count:1b,}', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}'}}}, TextComponent{text=']', siblings=[], style=Style{hasParent=true, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=HoverEvent{action=SHOW_ITEM, value='TextComponent{text='{id:52s,Damage:0s,Count:1b,}', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}'}}}], style=Style{hasParent=true, color=§f, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=HoverEvent{action=SHOW_ITEM, value='TextComponent{text='{id:52s,Damage:0s,Count:1b,}', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}'}}}], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}" and "TranslatableComponent{key='stat.useItem', args=[TextComponent{text='[', siblings=[TextComponent{text='Milk', siblings=[], style=Style{hasParent=true, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=HoverEvent{action=SHOW_ITEM, value='TextComponent{text='{id:52s,Damage:0s,Count:1b,}', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}'}}}, TextComponent{text=']', siblings=[], style=Style{hasParent=true, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=HoverEvent{action=SHOW_ITEM, value='TextComponent{text='{id:52s,Damage:0s,Count:1b,}', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}'}}}], style=Style{hasParent=true, color=§f, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=HoverEvent{action=SHOW_ITEM, value='TextComponent{text='{id:52s,Damage:0s,Count:1b,}', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}'}}}], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}" at id stat.useItem.52
[16:48:01 INFO]: Client> at oe.h(SourceFile:42)
[16:48:01 INFO]: Client> at om.d(SourceFile:109)
[16:48:01 INFO]: Client> at om.a(SourceFile:60)
[16:48:01 INFO]: Client> at kk.b(SourceFile:359)
[16:48:01 INFO]: Client> at azl.<init>(SourceFile:201)
[16:48:01 INFO]: Client> at net.minecraft.client.main.Main.main(SourceFile:129)
[16:48:01 ERROR]: Game ended with bad state (exit code 1)
[16:48:01 INFO]: Deleting C:\Users\Alexandre\AppData\Roaming\.minecraft\versions\1.7.5\1.7.5-natives-6261800694786
[16:48:01 INFO]: Ignoring visibility rule and showing launcher due to a game crash
Linked issues
is duplicated by 2
Attachments
Comments 14
I have been getting a similar issue. However, if I hit the play button again after the game crashes back to the launcher, eventually it will start up without crashing. I have provided the log from the launcher here with two failed attempts to start the game, with the profile set to use 1.7.4.
The game doesn't download at all through the launcher for me it keeps crashing. I've pressed play over a half dozen times and it keeps reverting back to the launcher. I will include the log.
Workaround:
Delete .minecraft/saves/<WORLDNAME>/stats/<PLAYERNAME>.dat
resp. .minecraft/saves/<WORLDNAME>/stats/<UUID>.dat
I'm not sure how to use this workaround - my minecraft installation has no stats subdirectories under any of the directories under "saves".
So I located the stats_unsent files under .minecraft/stats/, they have a modification date of August 2013. Removed them but the issue still occurs.
I still think this has to be some sort of race condition - there is nothing different the third (or sixth) time I launch the game that would make it start up when it failed all the times before that.
I have deleted everything under both saves/ and stats/ directories. Does not seem to have helped.
Today was particularly uncooperative, took 27 tries to get the game to launch. Usually it's only in the single digits.
My kids were given a laptop to play Minecraft on but the launcher would only start the game once. Future attempts to launch the game resulted in the launcher just being reloaded. The Development Console tab displayed the error reported above about "Duplicate stat id".
Here are the specifics:
Minecraft 1.7.9
Minecraft Launcher 1.4.4 (through bootstrap 5) started on windows...
Current time is Jun 23, 2014 9:39:44 PM
System.getProperty('os.name') == 'Windows 7'
System.getProperty('os.version') == '6.1'
System.getProperty('os.arch') == 'x86'
System.getProperty('java.version') == '1.6.0_14'
System.getProperty('java.vendor') == 'Sun Microsystems Inc.'
System.getProperty('sun.arch.data.model') == '32'
After investigating this issue for a while I found that clearing the ".minecraft\logs" directory prior to starting the launcher would allow Minecraft to start successfully. I then wrote a batch file to automate this workaround, and I have had no additional failures.
@ECHO OFF
CLS
SET log_dir=[GAME DIRECTORY PATH]\logs
DEL "%log_dir%\*.*"
Minecraft.exe
USAGE
Assuming you know how to create a batch file:
Place batch file in a directory with Minecraft.exe.
Copy example code into the batch file.
Update the log_dir variable and set appropriate Game Directory path.
Note: The full Game Directory path will be displayed in the Minecraft Launcher Profile Editor.
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.
Please attach the complete output of the "Development console" which can be found on the second tab of the launcher.