Mojira Archive
MC-37463

Hopper: java.lang.NullPointerException: Initializing game @ azd.a(SourceFile:502) // setDisplayIcon

Possible solution

This bug is very likely caused by one or two corrupted asset files:

  • icons/icon_16x16.png
  • icons/icon_32x32.png

Solution (1.11.x and 1.12.x)

This is the solution which should work for 1.11.x and 1.12.x. This may also work for other versions. For a general way to solve this, see "Solution (general)".

Delete the following files and try to start Minecraft again.

  • .minecraft\objects\bd\bdf48ef6b5d0d23bbb02e17d04865216179f510a
  • .minecraft\objects\92\92750c5f93c312ba9ab413d546f32190c56d6f1f

Solution (general)

To solve this problem you have to do the following:

  1. Open the index file in the .minecraft\assets\indexes folder of the version which you are trying to play. The file is a normal text file and can be opened with for example Notepad++. The file has probably a name like 1.11.json (for 1.11)
  2. Search for the two file names listed above
  3. For each file name do the following:
    1. Remember the hash value
    2. Open the .minecraft\assets\objects folder
    3. Open the folder whose name is the first two letters of the hash value
    4. Delete the file with the hash value as name
  4. Try to start Minecraft again

If this did not solve your problem please comment on this report and mention that these steps did not help you.

This is an automatically generated report based from the following crash: http://hopper.minecraft.net/crashes/minecraft/MCX-465252/

Crash:

java.lang.NullPointerException: Initializing game
	at azd.a(SourceFile:502)
	at azd.Z(SourceFile:340)

The following is the first clean report made public about this crash:

---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 25/10/2556, 20:18 น.
Description: Initializing game

java.lang.NullPointerException: Initializing game
	at azd.a(SourceFile:502)
	at azd.Z(SourceFile:340)
	at azd.e(SourceFile:689)
	at net.minecraft.client.main.Main.main(SourceFile:103)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
	at azd.a(SourceFile:502)
	at azd.Z(SourceFile:340)

-- Initialization --
Details:
Stacktrace:
	at azd.e(SourceFile:689)
	at net.minecraft.client.main.Main.main(SourceFile:103)

-- System Details --
Details:
	Minecraft Version: 1.7.2
	Operating System: Windows XP (x86) version 5.1
	Java Version: 1.7.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
	Memory: 19864944 bytes (18 MB) / 44638208 bytes (42 MB) up to 518979584 bytes (494 MB)
	JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M
	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 1.7.2
	LWJGL: 2.9.0
	OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: []
	Current Language: ~~ERROR~~ NullPointerException: null
	Profiler Position: N/A (disabled)
	Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
	Anisotropic Filtering: Off (1)

You can see this full report at http://hopper.minecraft.net/crashes/minecraft/MCX-465252/21339690/

Awaiting Response

[Bot] Hopper

2013-10-26, 07:44 AM

2021-05-29, 09:28 PM

2018-10-02, 11:25 PM

5

8

Community Consensus

Minecraft 1.7.2 - Minecraft 1.12.2Minecraft 1.7.2, Minecraft 13w48b, Minecraft 1.7.4, Minecraft 1.7.5, Minecraft 1.7.9, Minecraft 1.8, Minecraft 1.9.4, Minecraft 16w21b, Minecraft 1.11, Minecraft 1.12.1, Minecraft 1.12.2

Minecraft 1.9.2