mojira.dev
MCL-1215

"java.lang.NullPointerException @ GameLauncher.cleanOldNatives" - Can't login on the new launcher.

I have fixed it now, see bottom of description.

1.5.2 Worked perfectly fine. I've only tried updating to 1.6.2 today and that has crashed my launcher. It says:

java.lang.NullPointerException
	at net.minecraft.launcher.GameLauncher.cleanOldNatives(GameLauncher.java:317)
	at net.minecraft.launcher.GameLauncher.launchGame(GameLauncher.java:167)
	at net.minecraft.launcher.GameLauncher.onDownloadJobFinished(GameLauncher.java:459)
	at net.minecraft.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:112)
	at net.minecraft.launcher.updater.download.DownloadJob.access$000(DownloadJob.java:10)
	at net.minecraft.launcher.updater.download.DownloadJob$1.run(DownloadJob.java:84)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

And I'm not a Java person so I don't have a clue what that means... In-fact, I'm barely a computer person.

Have tried:
-Running as administrator
-Deleting all files from the '.minecraft' folder and running the Minecraft launcher again
-Changing the game directory using 'Edit Profile'

I've fixed it!
I restarted my computer, deleted everything from the '.minecraft' folder and opened the launcher, logged in and it opened the game perfectly fine!

Linked issues

MC-71893 when i press the play button on mine craft it freezes Resolved MC-72091 Cannot played Resolved MC-75204 what apened??? Resolved MC-75737 Won't update Resolved MC-79492 minecraft Resolved

Attachments

Comments 2

Resolved by reporter.

I came across similar issue in an "unofficial" launcher.

This exception occurred in GameLauncher.java:
Line 515: for (File folder : version.listFiles())

pool-1-thread-14[1] print version.listFiles
com.sun.tools.example.debug.expr.ParseException: No instance field or method with the name listFiles in net.minecraft.launcher.versions.CompleteVersion
version.listFiles = NULL

Maybe it's a real issue in official launcher or not.
I hope this may help you.

migrated

(Unassigned)

Unconfirmed

crash

Retrieved