I can't connect to the game or create my own game
-
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 -
I reinstalled the client. The error remained.
-
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