java.util.concurrent.CompletionException

java.lang.IllegalStateException: username has not been set

Solutions on the web37

  • via GitHub by micheljung
    , 11 months ago
    java.lang.IllegalStateException: username has not been set
  • java.lang.IllegalStateException: Tried to remove the EntityManager, but none was set.
  • java.lang.IllegalStateException: Tried to remove the EntityManager, but none was set.
  • Stack trace

    • java.util.concurrent.CompletionException: java.lang.IllegalStateException: username has not been set at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) at java.util.concurrent.CompletableFuture.complete(Unknown Source) at com.faforever.client.task.CompletableTask.lambda$new$2(CompletableTask.java:18) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.event.Event.fireEvent(Event.java:198) at javafx.concurrent.EventHelper.fireEvent(EventHelper.java:219) at javafx.concurrent.Task.fireEvent(Task.java:1356) at javafx.concurrent.Task.setState(Task.java:723) at javafx.concurrent.Task$TaskCallable.lambda$call$500(Task.java:1434) at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalStateException: username has not been set at com.faforever.client.fa.LaunchCommandBuilder.build(LaunchCommandBuilder.java:141) at com.faforever.client.fa.ForgedAllianceServiceImpl.startReplay(ForgedAllianceServiceImpl.java:76) at com.faforever.client.game.GameServiceImpl.lambda$runWithReplay$10(GameServiceImpl.java:229) ... 24 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.