FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    The current pre-release of the client ("pioneer" in the version) is only compatible to itself. So you can only play with other testers. Please be aware!

    Error after game is closed

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    3 Posts 2 Posters 273 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      Complex
      last edited by

      When I return to the FAF client after quitting the game, I am given this error message: 4d4dc2c9-6b35-4134-ae2c-e5221bd0da24-image.png

      The game itself runs without any issues, and this error is just a minor annoyance, but I don't know what causes it.

      The relevant part of the log file is this:

      2024-01-02T21:30:24.425-08:00 DEBUG 12580 --- [FAF Client] [JJsonPeer] c.f.c.fa.relay.ice.IceAdapterCallbacks   : ICE adapter connection state changed to: Disconnected
      2024-01-02T21:30:24.815-08:00  INFO 12580 --- [FAF Client] [ForkJoinPool.commonPool-worker-9] com.faforever.client.game.GameRunner     : Forged Alliance terminated with exit code 0
      2024-01-02T21:30:24.822-08:00  INFO 12580 --- [FAF Client] [ForkJoinPool.commonPool-worker-9] c.f.client.fa.relay.ice.IceAdapterImpl   : Ignoring call to ICE adapter as we are not connected: quit([])
      2024-01-02T21:30:24.823-08:00 ERROR 12580 --- [FAF Client] [JavaFX Application Thread] com.faforever.client.game.GameRunner     : Game could not be hosted
      
      java.lang.NullPointerException: Cannot invoke "com.faforever.client.domain.GameBean.getTitle()" because "game" is null
      	at com.faforever.client.game.GameRunner.askForGameRate(GameRunner.java:425)
      	at com.faforever.client.game.GameRunner.handleTermination(GameRunner.java:417)
      	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718)
      	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
      	at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
      	at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:914)
      	at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
      	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
      	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
      	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
      	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
      	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
      
      2024-01-02T21:30:25.227-08:00  INFO 12580 --- [FAF Client] [ForkJoinPool.commonPool-worker-9] c.f.client.fa.relay.ice.IceAdapterImpl   : ICE adapter terminated normally
      

      I can post my entire log file if it is needed. This happens if I quit from the lobby, quit from the game, or the game completes normally. The error message is the same every time.

      From my limited understanding of the FAF client's code, this looks like a race condition between threads to me. But I could easily be mistaken.

      1 Reply Last reply Reply Quote 0
      • AmygdalaA Offline
        Amygdala
        last edited by

        @complex From what I heared, there seems to be a client bug related to notifications which causes that error message. Till its fixed, you can try to deactivate the replay review notifications in your client settings.

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          Complex @Amygdala
          last edited by Complex

          @amygdala That is very interesting because I had disabled all notifications. Unchecking the box for the "After game review" notification in the notification settings in FAF did resolve this issue though.

          Thank you for your help.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post