mojira.dev
MC-109239

Launcher recognizes account but won't launch game

I am passing my laptop to my son and created a user account for him so he wouldn't be logged in as Admin and screw anything up. After I set up his profile, I had to install Minecraft under his username. It successfully installed and downloaded the launcher but when I start it up, it makes him log in. When he does, it shows his account / username but when you press the PLAY button it just sits there. I thought perhaps the game required to be ran as admin so I changed that setting to give it admin rights when it launched. Same thing, it just sits there. I've ran the repair utility and re-installed the game and after it downloads the launcher, it still doesn't launch. I have logged in under my account (which it recognizes and gives my username) but the game still doesn't launch.

I have NO problems with the game under my Admin profile and can log in as either him or I with no problems there. This is VERY frustrating and shouldn't be this difficult.

Here is the launcher log, where I do see several error statements:

[16:57:08 INFO]: Minecraft Launcher 1.6.69 (through bootstrap 100) started on windows...
[16:57:08 INFO]: Current time is Oct 26, 2016 4:57:08 PM
[16:57:08 INFO]: System.getProperty('os.name') == 'Windows 8'
[16:57:08 INFO]: System.getProperty('os.version') == '6.2'
[16:57:08 INFO]: System.getProperty('os.arch') == 'amd64'
[16:57:08 INFO]: System.getProperty('java.version') == '1.8.0_25'
[16:57:08 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
[16:57:08 INFO]: System.getProperty('sun.arch.data.model') == '64'
[16:57:08 INFO]: proxy == DIRECT
[16:57:08 INFO]: JFX is already initialized
[16:57:08 INFO]: Refreshing local version list...
[16:57:08 INFO]: Refreshing remote version list...
[16:57:09 INFO]: Refresh complete.
[16:57:09 INFO]: Loaded 2 profile(s); selected 'Dragon_Master_T'
[16:57:09 INFO]: Refreshing auth...
[16:57:09 INFO]: Logging in with access token
[16:57:09 ERROR]: Exception whilst logging into profile
com.mojang.authlib.exceptions.InvalidCredentialsException: Invalid token.
	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:63) ~[launcher.jar:1.6.69]
	at com.mojang.authlib.yggdrasil.YggdrasilUserAuthentication.logInWithToken(YggdrasilUserAuthentication.java:132) ~[launcher.jar:1.6.69]
	at com.mojang.authlib.yggdrasil.YggdrasilUserAuthentication.logIn(YggdrasilUserAuthentication.java:55) ~[launcher.jar:1.6.69]
	at net.minecraft.launcher.Launcher.ensureLoggedIn(Launcher.java:215) [launcher.jar:1.6.69]
	at net.minecraft.launcher.Launcher$2.run(Launcher.java:169) [launcher.jar:1.6.69]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_25]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_25]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_25]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_25]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
[16:57:09 ERROR]: Couldn't save profiles before logging in!
java.io.FileNotFoundException: C:\Users\tms_0\AppData\Roaming\.minecraft\launcher_profiles.json (Access is denied)
	at java.io.FileOutputStream.open(Native Method) ~[?:1.8.0_25]
	at java.io.FileOutputStream.<init>(FileOutputStream.java:213) ~[?:1.8.0_25]
	at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:367) ~[launcher.jar:1.6.69]
	at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1928) ~[launcher.jar:1.6.69]
	at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1962) ~[launcher.jar:1.6.69]
	at net.minecraft.launcher.profile.ProfileManager.saveProfiles(ProfileManager.java:53) ~[launcher.jar:1.6.69]
	at net.minecraft.launcher.SwingUserInterface.showLoginPrompt(SwingUserInterface.java:182) [launcher.jar:1.6.69]
	at net.minecraft.launcher.Launcher.ensureLoggedIn(Launcher.java:224) [launcher.jar:1.6.69]
	at net.minecraft.launcher.Launcher$2.run(Launcher.java:169) [launcher.jar:1.6.69]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_25]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_25]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_25]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_25]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
[16:57:13 INFO]: Logging in with access token
[16:57:13 ERROR]: Couldn't save profiles whilst removing Dragon_Master_T / 36d8be94c1824bffa9c5f1917803d83f from database
java.io.FileNotFoundException: C:\Users\tms_0\AppData\Roaming\.minecraft\launcher_profiles.json (Access is denied)
	at java.io.FileOutputStream.open(Native Method) ~[?:1.8.0_25]
	at java.io.FileOutputStream.<init>(FileOutputStream.java:213) ~[?:1.8.0_25]
	at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:367) ~[launcher.jar:1.6.69]
	at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1928) ~[launcher.jar:1.6.69]
	at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1962) ~[launcher.jar:1.6.69]
	at net.minecraft.launcher.profile.ProfileManager.saveProfiles(ProfileManager.java:53) ~[launcher.jar:1.6.69]
	at net.minecraft.launcher.ui.popups.login.ExistingUserListForm.removeUser(ExistingUserListForm.java:157) [launcher.jar:1.6.69]
	at net.minecraft.launcher.ui.popups.login.ExistingUserListForm$2.run(ExistingUserListForm.java:149) [launcher.jar:1.6.69]
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_25]
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) [?:1.8.0_25]
	at java.awt.EventQueue.access$400(EventQueue.java:97) [?:1.8.0_25]
	at java.awt.EventQueue$3.run(EventQueue.java:697) [?:1.8.0_25]
	at java.awt.EventQueue$3.run(EventQueue.java:691) [?:1.8.0_25]
	at java.security.AccessController.doPrivileged(Native Method) [?:1.8.0_25]
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) [?:1.8.0_25]
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) [?:1.8.0_25]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [?:1.8.0_25]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_25]
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_25]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_25]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_25]
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_25]
[16:57:22 INFO]: Logging in with username & password
[16:57:23 ERROR]: Couldn't save profiles after logging in!
java.io.FileNotFoundException: C:\Users\tms_0\AppData\Roaming\.minecraft\launcher_profiles.json (Access is denied)
	at java.io.FileOutputStream.open(Native Method) ~[?:1.8.0_25]
	at java.io.FileOutputStream.<init>(FileOutputStream.java:213) ~[?:1.8.0_25]
	at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:367) ~[launcher.jar:1.6.69]
	at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1928) ~[launcher.jar:1.6.69]
	at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1962) ~[launcher.jar:1.6.69]
	at net.minecraft.launcher.profile.ProfileManager.saveProfiles(ProfileManager.java:53) ~[launcher.jar:1.6.69]
	at net.minecraft.launcher.SwingUserInterface$5.onLogIn(SwingUserInterface.java:211) [launcher.jar:1.6.69]
	at net.minecraft.launcher.ui.popups.login.LogInPopup.setLoggedIn(LogInPopup.java:120) [launcher.jar:1.6.69]
	at net.minecraft.launcher.ui.popups.login.LogInForm$4.run(LogInForm.java:198) [launcher.jar:1.6.69]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_25]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_25]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
[16:57:25 INFO]: Getting syncinfo for selected version
[16:57:25 INFO]: Queueing library & version downloads
[16:57:25 ERROR]: Couldn't save version info to install PartialVersion{id='1.10.2', updateTime=Sat Oct 22 15:28:03 CDT 2016, releaseTime=Thu Jun 23 04:17:32 CDT 2016, type=RELEASE, url=https://launchermeta.mojang.com/mc/game/1920a2b4e996bae0af1a67d38d63706bac10ac47/1.10.2.json}
java.io.FileNotFoundException: C:\Users\tms_0\AppData\Roaming\.minecraft\versions\1.10.2\1.10.2.json (Access is denied)
	at java.io.FileOutputStream.open(Native Method) ~[?:1.8.0_25]
	at java.io.FileOutputStream.<init>(FileOutputStream.java:213) ~[?:1.8.0_25]
	at java.io.FileOutputStream.<init>(FileOutputStream.java:162) ~[?:1.8.0_25]
	at java.io.PrintWriter.<init>(PrintWriter.java:263) ~[?:1.8.0_25]
	at net.minecraft.launcher.updater.LocalVersionList.saveVersion(LocalVersionList.java:77) ~[launcher.jar:1.6.69]
	at net.minecraft.launcher.updater.MinecraftVersionManager.installVersion(MinecraftVersionManager.java:340) ~[launcher.jar:1.6.69]
	at com.mojang.launcher.game.runner.AbstractGameRunner.playGame(AbstractGameRunner.java:101) [launcher.jar:1.6.69]
	at net.minecraft.launcher.game.GameLaunchDispatcher$1.run(GameLaunchDispatcher.java:111) [launcher.jar:1.6.69]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_25]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_25]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]

Comments 1

I don't see where to cancel cases. It seems it was a profile issue and for whatever reason, the repairs and re-installs weren't overwriting whatever the issue was. I deleted all of the files in the .minecraft folder and launched the game. It downloaded all new directories and launched with no problems. It looks like this issue is resolved.

Michael Sutton

(Unassigned)

Unconfirmed

Minecraft 1.10.2

Retrieved