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/

Related issues

MC-53997 Initializing game MC-1910 Netherportal MC-2051 No Wither Skeleton Egg? MC-3545 Low FPS nether MC-3705 You can break non-solid blocks in Adventure Mode MC-4380 Swords Destroy Tall Grass in Adventure MC-6689 The block aren't loaded, as in the video MC-8246 when spawning cannot move until breaking the block below you also yo bounce up and down very very fast MC-9174 You can't place torch on stair MC-9436 Blocks that must be supported by other blocks, such as torches, doors, and levers, have strange behavior on certain blocks MC-38316 Hopper: java.lang.NullPointerException: Initializing game MC-41429 Hopper: java.lang.NullPointerException: Initializing game MC-41445 Whenever I hit the play button for 1.7.2 the game crashes and for any older updates the game just shuts down; no crash report is given MC-41455 Minecraft won't start MC-41460 Game begins to load but fails to download certain files MC-41467 I clicked play, and after the launcher dissappeared, It would reappear and give a crash report. MC-41504 game crashed, will not load MC-41579 Hopper: java.lang.NullPointerException: Initializing game MC-41604 Launcher - slow crash MC-41769 Crashing MC-41778 Started Minecraft, Issue Popped Up MC-41819 Can't get past the laucher stage MC-41827 Crash when Initializing game - root cause unknown MC-41842 Still crashes but after launcher disappears MC-41847 Minecraft launcher still crashes after updating drivers MC-41923 Every time I have tried to start minecraft 1.7.2, 1.6.4, or 1.6.2, It crashes. I've tried other versions too like 1.0 and 1.4.7 and they worked. This also happened to me a while ago but I got a new computer. MC-42068 Minecraft 1.6 and up will not work on either of my pc's MC-42113 Whenever I try to open Minecraft 1.6.2+, it crashes. This same thing happened to me before, but one of my friends fixed it, and he moved away. MC-42203 Won't load the game MC-42217 press 'Play' on Launcher, programme crashes MC-42647 Minecraft doesn't open after a pc format. MC-43778 Minecraft crashes after i press play MC-43942 Minecraft Launcher 1.3.7 starts up, I click play, and the launcher immediately displays the crash tab. MC-44241 Error launching game MC-45093 The game will not start. It states the game has crashed MC-45418 Crash MC-46145 Reinstalling due to no sound, but crashed MC-48204 I tried to launch my minecraft and it launches but crashes 2 seconds later MC-48941 The new minecraft launcher crashes after I click play. MC-49748 Crash Report - get all the time MC-49941 I can't get into Minecraft MC-50200 Minecraft (.jar) crashed for no known reason MC-51212 Minecraft Won't Start MC-53028 minecraft crash at start MC-53223 Game crashes when I load it for first time MC-68094 Whenever I try to start up the game it crashes MC-68099 Whenever I start up Minecraft and push the PLAY button it crashes. MC-73311 crash 16-10-2014 MC-81541 java.lang.NullPointerException: Initializing game MC-89153 Startup MC-92360 Crash MC-92495 Crash MC-101687 HELP!!! My minecraft can Not launch! the launcher says i cant launch minecraft because of a crash! Please help! MC-102805 Hopper: java.lang.NullPointerException: Initializing game MC-105200 Minecraft Crashes Upon Launch MC-107246 Minecraft does not launch MC-111347 java.lang.NullPointerException: Initializing game MC-114226 i dont understand this 1.6.73-j issue please help MC-118903 I downloaded the new minecraft launcher and it is not letting me play. all it says is an unexpected error occurred. I've tried the nvidia thing and it wont let me download it MC-132261 Game crashes upon launch. Unable to get past launcher MC-133879 Minecraft will not launch MCL-1910 Can't download resources MCL-2051 Minecraft will not run. an unreported crash report is produced. MCL-3545 Please help MCL-3705 Can't start the game MCL-4380 Game doesn't even launch, I press play and it instantly crashes. MCL-6689 Minecraft crashes after loading splash screen MCL-8246 My launcher says that the game has crashed. It started doing this recently after the new launcher was launched. I have already tried all the suggestions that other players on youtube have suggested and nothing has worked to fix the problem. MCL-9174 Minecraft Launcher crashed MCL-9436 The game crashed whilst initializing game Error: java.lang.NullPointerException: Initializing game

Comments

migrated

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.

galaxy_2alex
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.

migrated

I have tried this solution, it does not work

migrated

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

galaxy_2alex

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

kumasasa

Has anyone having this issue a modified desktop (inofficial skin) ?

migrated

@Kumasasa Yes I have an Alienware theme modified desktop.

migrated

Is it just me being stupid, or is there no way of getting any simple guidance on how to resolve this without needing a degree in computer programming - any guidance would be appreciated. I have bought a brand new laptop, the technicians have checked the laptop and tell me the issue is with Minecraft and to escalate with them, which I thought I had done but I am absolutely no further forward.

kumasasa

@Ciara Camp: Does the crash still occur, if you switch off (uninstall ?) the desktop theme ?

kumasasa

@Tracy Joy: There is currently no solution for this issue.

migrated

Why does your reply - not just say that ? So are you going to refund the monies that I paid up you ? Thanks

Sent from my iPhone

Ezekiel

We cannot refund your money, however you may email support here

migrated

I will be reporting this as a fraudulent debit from my account, you have told me that you are unable to fix the problem and yet you will not refund my monies - how can you justify that ? !!!!!!

Sent from my iPhone

migrated

And the link you have sent me does not work - this is a complete joke !!!!!!

Sent from my iPhone

Ezekiel

It works for me, try going directly to http://help.mojang.com/customer/portal/emails/new

We are not Mojang, we are volunteer's who organize the bug reports and crashes. We cannot refund you money, you must contact Mojang support

migrated

Apologies I thought u were Mojang - sick to death of it all!! Apologies again !!

Sent from my iPhone

migrated

Alright so, if your crash report has this in the crash report at
azd.a(SourceFile:502)
at azd.Z(SourceFile:340)
at azd.e(SourceFile:689)
at net.minecraft.client.main.Main.main(SourceFile:103)
you fix it by uninstalling your minecraft and reinstalling it, (im not sure why it does it in the first place but on my schools network its blocked but i uninstalled and reinstalled it on a diff network it worked again) P.S this fix is guaranteed ONLY if the source files match up, if not I can not be sure if it will work for you

migrated

Uninstalling did not work for i cannot get in.

kumasasa

No longer an issue with 1.9.2

migrated

Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.

This is an automated comment on any open or reopened issue with out-of-date affected versions.

marcono1234

Added 1.11 as affected version because of MC-111347

marcono1234

@@unknown this is very likely not a OpenGL problem. If I modify the assets in a way that they create the exact same report all OpenGL data in the crash report is empty as well. But without modifying the assets I can play Minecraft just fine.

migrated

Oke, tried this yesterday. Didn't work!
Still can not launch Minecraft in any version, with any launcher.
Please fix this - even better, roll back this great new launcher, that is causing so much problems for so many people!

marcono1234

@unknown please try the provided workaround (big yellow box) and see if it solves your problem

migrated

Like I said: I already tried that and it doesn't solve the problem.
Besides that, on the other two pc's in my house, those of my sons, with their own, completely different configuration as mine, Minecraft can also not be started since the introduction of your socalled improved launcher!
Furthermore I have heard from 3 different friends that they have the same problem.
So you see, this problem is not ours to fix, it is Mojangs' to fix, so please fix it as soon as possible!

marcono1234

You can follow these steps to get the old launcher while this issue remains with the new launcher.

migrated

This did not work for me.
Here is my crash report :

https://paste.ubuntu.com/24933944/

migrated

This did not help me. I deleted the 92750 file and the bdf file, but it still crashed. The only thing I can think of is that Minecraft Forge is broken or something.

It keeps saying, "The game crashed whilst initializing game. Error: java.lang.NullPointerException: Initializing game", and it won't let me view the crash report.

migrated

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!

Arisa Bot

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

Arisa Bot

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

Arisa Bot

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

migrated

(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