mojira.dev
MC-18640

Crash when language file of currently selected language is missing

When the language file of the currently selected language is deleted on the harddisk, the game crashes on startup.

What I expected to happen was...:
To fall back to en_US

What actually happened was...:
It crashed.

Steps to Reproduce:
1. Make a copy of a language file, e.g. ./minecraft/assets/lang/aa_aa.lang
2. Select that new language ingame
3. Stop Minecraft
4. Delete the language file
5. Go to sleep (not sure if step is necessary 😉 )
6. Restart Minecraft the other day and wonder about the crash

Linked issues

Attachments

Comments 4

Description: Initializing game

java.lang.NullPointerException
	at java.io.Reader.<init>(Unknown Source)
	at java.io.InputStreamReader.<init>(Unknown Source)
	at bt.a(SourceFile:68)
	at bt.a(SourceFile:110)
	at atl.O(SourceFile:375)
	at atl.d(SourceFile:593)
	at net.minecraft.client.main.Main.main(SourceFile:101)

Maybe the cause of MC-4947

Fixed etc.

kumasasa

Erik Broes

Unconfirmed

crash, file, language, missing

Minecraft 1.5.2, Snapshot 13w24a, Snapshot 13w25c

Snapshot 13w26a

Retrieved