Steps to reproduce:
1. Clear your .minecraft folder
2. Head to the launcher, and while the resources are downloading:
a. Log-in using wrong account information (I used my MC username)
b. Log-in using right account information
This would be the result (after all resources finishes downloading):
Trying to log in...
Couldn't log in
java.lang.IllegalStateException: Cannot change username whilst logged in & online
at net.minecraft.launcher.authentication.BaseAuthenticationService.setUsername(BaseAuthenticationService.java:85)
at net.minecraft.launcher.ui.sidebar.login.NotLoggedInForm$1.run(NotLoggedInForm.java:157)
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$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Also, I'm surprised that the launcher is not async. Why is that?
Comments 3
Is this still a concern in the current Minecraft / Launcher version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Fixed. Now either the launcher waits for the assets being downloaded or there is no bandwidth for authentification while downloading:
Finished downloading C:\Users\AppData\Roaming\.minecraft\assets\sound\mob\sheep\step3.ogg for job 'Resources': Downloaded successfully and etag matched
Finished downloading C:\Users\AppData\Roaming\.minecraft\assets\sound\liquid\swim3.ogg for job 'Resources': Downloaded successfully and etag matched
Finished downloading C:\Users\AppData\Roaming\.minecraft\assets\lang\mi_NZ.lang for job 'Resources': Downloaded successfully and etag matched
Finished downloading C:\Users\AppData\Roaming\.minecraft\assets\sound\mob\bat\death.ogg for job 'Resources': Downloaded successfully and etag matched
Finished downloading C:\Users\AppData\Roaming\.minecraft\assets\sound\mob\bat\hurt4.ogg for job 'Resources': Downloaded successfully and etag matched
net.minecraft.launcher.authentication.exceptions.InvalidCredentialsException: Invalid credentials. Account migrated, use e-mail as username.
at net.minecraft.launcher.authentication.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:115)
at net.minecraft.launcher.authentication.yggdrasil.YggdrasilAuthenticationService.logInWithPassword(YggdrasilAuthenticationService.java:69)
at net.minecraft.launcher.authentication.yggdrasil.YggdrasilAuthenticationService.logIn(YggdrasilAuthenticationService.java:52)
at net.minecraft.launcher.ui.popups.login.LogInForm$3.run(LogInForm.java:156)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Finished downloading C:\Users\AppData\Roaming\.minecraft\assets\music\piano3.ogg for job 'Resources': Downloaded successfully and etag matched
Job 'Resources' finished successfully
Logging in with username & password
net.minecraft.launcher.authentication.exceptions.InvalidCredentialsException: Invalid credentials. Account migrated, use e-mail as username.
at net.minecraft.launcher.authentication.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:115)
at net.minecraft.launcher.authentication.yggdrasil.YggdrasilAuthenticationService.logInWithPassword(YggdrasilAuthenticationService.java:69)
at net.minecraft.launcher.authentication.yggdrasil.YggdrasilAuthenticationService.logIn(YggdrasilAuthenticationService.java:52)
at net.minecraft.launcher.ui.popups.login.LogInForm$3.run(LogInForm.java:156)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Logging in with username & password
Uh, I just figured out that there is a launcher-only bug tracker, can a mod move it over?