mojira.dev
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/

Linked issues

MC-1910 Netherportal Resolved MC-2051 No Wither Skeleton Egg? Resolved MC-3545 Low FPS nether Resolved MC-3705 You can break non-solid blocks in Adventure Mode Resolved MC-4380 Swords Destroy Tall Grass in Adventure Resolved

Comments 33

This issue popped up for me just yesterday, interestingly it's occurring on both my WinXP desktop and on a Fedora/Gnome desktop. Quite reproduceable, as in the game never starts. However, the launcher continued to work fine at another location on a Mac and a PC. May get around to trying more thorough testing today, e.g. remove .minecraft folder and re-install.

OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.

This states that your current video card driver doesn't support Open GL. Please update your drivers if you get this issue.

I have tried this solution, it does not work

Yeah, that solution doesn't work... My video card/Graphics card drivers are fully updated....

If you have the exact same error, try remove the JVM Arguments.

23 more comments

I had to litterally go into my Minecraft File and take out my saves. After I did that I backed out of the Minecraft file and deleted. I didn't delete the launcher, instead, I opened the launcher and allowed it to create a new minecraft folder. I took the old minecraft folder out of the recycling bin and put it on my desktop. I then deleted the new saves folder from the new minecraft folder and placed the old saves folder inside of it. The first time I tried to open the launcher it froze too, but I just backed out and tried it agian and it worked. It works now, but I can no longer use the old versions. I have my save worlds, though, so I guess that is alright. I really did like 1.8 and 1.10, though, so that sucks.

Uriel Salischiker

Is this still a issue in the latest version of the game(currently 1.13.1)?

If so, please add it to the affected versions, thanks!

This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, you can contact the Mojira staff on Discord or Reddit.
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit

This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, you can contact the Mojira staff on Discord or Reddit.
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit

This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, you can contact the Mojira staff on Discord or Reddit.
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

[Bot] Hopper

(Unassigned)

Community Consensus

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

Minecraft 1.9.2

Retrieved