FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    I can't connect to the game or create my own game

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    3 Posts 2 Posters 162 Views
    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.
    • V Offline
      VSM
      last edited by

      I can't connect to the game or create my own game.
      At the time of my connection to the game, it gives an error with the following text:
      java.util.concurrent.CompletionException: java.lang.RuntimeException: java.nio.file.AccessDeniedException: C:\ProgramData\FAForever\cache\featured_mod\bin\f603e4e8390522eb98ff54f524c001c9 -> C:\ProgramData\FAForever\bin\ForgedAlliance.exe
      at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)
      at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346)
      at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:704)
      at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
      at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2152)
      at com.faforever.client.task.CompletableTask.lambda$new$1(CompletableTask.java:18)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234)
      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:1358)
      at javafx.concurrent.Task.setState(Task.java:709)
      at javafx.concurrent.Task$TaskCallable.lambda$call$2(Task.java:1455)
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
      at java.base/java.lang.Thread.run(Thread.java:832)
      Caused by: java.lang.RuntimeException: java.nio.file.AccessDeniedException: C:\ProgramData\FAForever\cache\featured_mod\bin\f603e4e8390522eb98ff54f524c001c9 -> C:\ProgramData\FAForever\bin\ForgedAlliance.exe
      at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.lambda$call$0(SimpleHttpFeaturedModUpdaterTask.java:80)
      at java.base/java.lang.Iterable.forEach(Iterable.java:75)
      at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.call(SimpleHttpFeaturedModUpdaterTask.java:64)
      at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.call(SimpleHttpFeaturedModUpdaterTask.java:24)
      at javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
      ... 1 more
      Caused by: java.nio.file.AccessDeniedException: C:\ProgramData\FAForever\cache\featured_mod\bin\f603e4e8390522eb98ff54f524c001c9 -> C:\ProgramData\FAForever\bin\ForgedAlliance.exe
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:395)
      at java.base/sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:292)
      at java.base/java.nio.file.Files.move(Files.java:1426)
      at com.faforever.client.io.FeaturedModFileCacheService.moveFeaturedModFileFromCache(FeaturedModFileCacheService.java:64)
      at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.lambda$call$0(SimpleHttpFeaturedModUpdaterTask.java:73)
      ... 8 more

      08cc682d-8dd4-4cf7-b530-4d061b2ef177-image.png

      1 Reply Last reply Reply Quote 0
      • V Offline
        VSM
        last edited by

        I reinstalled the client. The error remained.

        1 Reply Last reply Reply Quote 0
        • K Offline
          Katharsas
          last edited by Katharsas

          AccessDeniedException: C:\ProgramData\FAForever\cache\featured_mod\bin\f603e4e8390522eb98ff54f524c001c9

          Looks like the client is not able to rename/copy files because of file rights issues. Try uninstalling, then delete C:\ProgramData\FAForever as well, then reinstall.

          Maybe you tried to run the client as admin some time ago, that can cause problems

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post