mojira.dev
MCL-174

Minecraft won't open / Crashes because of trash files in assets

Temporary fix

[Mojang] Grum (Erik Broes) added a comment - 19/Apr/13 10:08 PM

Wipe the assets folder completely. (also then do not browse it anymore, almost all explorer/finder crap leaves files in it that causes a problem right now).

I start the game and it doesn't load. I have no mods installed and it just says this at the end:

Client> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Client> 	at java.lang.String.substring(String.java:1937)
Client> 	at asm.a(SourceFile:1469)
Client> 	at asm.a(SourceFile:1461)
Client> 	at asm.k(SourceFile:1452)
Client> 	at asm.K(SourceFile:300)
Client> 	at asm.c(SourceFile:503)
Client> 	at net.minecraft.client.main.Main.main(SourceFile:76)
Client> b@feeb372

Linked issues

Comments 13

This is what comes out of mine:
Client> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Client> at java.lang.String.substring(String.java:1937)
Client> at asm.a(SourceFile:1469)
Client> at asm.a(SourceFile:1461)
Client> at asm.k(SourceFile:1452)
Client> at asm.K(SourceFile:300)
Client> at asm.c(SourceFile:503)
Client> at net.minecraft.client.main.Main.main(SourceFile:76)
Client> b@228ca8ac
Client> 2013-04-18 17:10:13.751 java[54870:707] Unknown modifier with keycode: 0
Client> 2013-04-18 17:10:37.771 java[54870:707] Unknown modifier with keycode: 0
Client> 2013-04-18 17:11:53.238 java[54870:707] Unknown modifier with keycode: 0

The three "unknown modifier with keycode: 0" appear after I let the Mojang screen sit for a minute or two.

Please do not mark unreleased versions as affected. You do not have access to this yet.

If you retry is this still happening?

Nope, it was fixed

-Scott

im still having that problem what did you do to fix it or did they do?

3 more comments

Still having same problem, followed Grum's instructions but nothing's changed. I tried re-insatlling java, deleting my current minecraft folder and redownloading the launcher, but nothing's worked.

I'm having the same problem. I've wiped .minecraft, tried it, then wiped assets, nothing. Please fix!

@Mikety Cat: Please attach a current screenshot of the log output.

I couldn't take a screenshot.

Client> 2013-04-22 12:37:19 [CLIENT] [INFO] (Session ID is 7dcb1d987e868fed172340fa9f59486d13844d23)
Client> 2013-04-22 12:37:19 [CLIENT] [INFO] LWJGL Version: 2.9.0
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> 2013-04-22 12:37:23 [CLIENT] [INFO] Found animation info for: textures/blocks/lava_flow.txt
Client> 2013-04-22 12:37:23 [CLIENT] [INFO] Found animation info for: textures/blocks/water_flow.txt
Client> 2013-04-22 12:37:23 [CLIENT] [INFO] Found animation info for: textures/blocks/fire_0.txt
Client> 2013-04-22 12:37:23 [CLIENT] [INFO] Found animation info for: textures/blocks/fire_1.txt
Client> 2013-04-22 12:37:23 [CLIENT] [INFO] Found animation info for: textures/blocks/lava.txt
Client> 2013-04-22 12:37:23 [CLIENT] [INFO] Found animation info for: textures/blocks/portal.txt
Client> 2013-04-22 12:37:23 [CLIENT] [INFO] Found animation info for: textures/blocks/water.txt
Client> 2013-04-22 12:37:25 [CLIENT] [INFO] Found animation info for: textures/items/clock.txt
Client> 2013-04-22 12:37:25 [CLIENT] [INFO] Found animation info for: textures/items/compass.txt
Client> java.lang.NullPointerException
Client> at java.io.Reader.<init>(Unknown Source)
Client> at java.io.InputStreamReader.<init>(Unknown Source)
Client> at br.a(SourceFile:65)
Client> at br.a(SourceFile:101)
Client> at asm.K(SourceFile:303)
Client> at asm.c(SourceFile:503)
Client> at net.minecraft.client.main.Main.main(SourceFile:78)
Client> b@46fa9be4

Although I'm on Windows 7, but it still does the same thing, and all the Windows 7 were marked as duplicates.

Scott Taylor

(Unassigned)

Community Consensus

Retrieved