Client Version: 2024.6.2
java.util.concurrent.CompletionException: java.lang.UnsupportedOperationException: Unable to patch Forged Alliance to the required version due to conflicting version running
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:994)
at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:974)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2194)
at com.faforever.client.task.CompletableTask.lambda$new$1(CompletableTask.java:19)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189)
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:1332)
at javafx.concurrent.Task.setState(Task.java:709)
at javafx.concurrent.Task$TaskCallable.lambda$call$2(Task.java:1429)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
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$runLoop$3(WinApplication.java:185)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.UnsupportedOperationException: Unable to patch Forged Alliance to the required version due to conflicting version running
at com.faforever.client.patch.GameUpdaterImpl.lambda$update$5(GameUpdaterImpl.java:90)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:990)
... 23 more
Caused by: java.lang.RuntimeException: java.nio.file.AccessDeniedException: C:\ProgramData\FAForever\cache\featured_mod\bin\0c8d8862c86d30e72a866820dd2b9707 -> C:\ProgramData\FAForever\bin\ForgedAlliance.exe
at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.lambda$call$0(SimpleHttpFeaturedModUpdaterTask.java:107)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.call(SimpleHttpFeaturedModUpdaterTask.java:83)
at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.call(SimpleHttpFeaturedModUpdaterTask.java:31)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1399)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
... 1 more
Caused by: java.nio.file.AccessDeniedException: C:\ProgramData\FAForever\cache\featured_mod\bin\0c8d8862c86d30e72a866820dd2b9707 -> 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.copy(WindowsFileCopy.java:220)
at java.base/sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:282)
at java.base/java.nio.file.Files.copy(Files.java:1304)
at com.faforever.client.io.FeaturedModFileCacheService.copyFeaturedModFileFromCache(FeaturedModFileCacheService.java:66)
at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.lambda$call$0(SimpleHttpFeaturedModUpdaterTask.java:102)
... 8 more
error joining custom games
Based on the second line "Unable to patch Forged Alliance to the required version due to conflicting version running" i would try to reinstall the game through stream or wherever you got it from
@nuggets thanks for the reply! So reinstalling the game rather than the client could solve the issue?
@specialk I think so. Doesnt hurt to try. Maybe want to save your game.prefs file for your ingame settings
Hi there, I have had the same error. I've uninstalled SC and FAF client, reinstalled both, same error (copied below for reference). Any other idea what it could be?
Client Version: 2024.8.0
java.lang.UnsupportedOperationException: Unable to patch Forged Alliance to the required version due to conflicting version running
at com.faforever.client.patch.GameUpdaterImpl.lambda$update$5(GameUpdaterImpl.java:92)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:990)
at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:974)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2194)
at com.faforever.client.task.CompletableTask.lambda$new$1(CompletableTask.java:19)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189)
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:1332)
at javafx.concurrent.Task.setState(Task.java:709)
at javafx.concurrent.Task$TaskCallable.lambda$call$2(Task.java:1429)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
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$runLoop$3(WinApplication.java:185)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.RuntimeException: java.nio.file.AccessDeniedException: C:\ProgramData\FAForever\cache\featured_mod\bin\a49c1003ae57850b13ccf561070c77a7 -> C:\ProgramData\FAForever\bin\ForgedAlliance.exe
at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.lambda$call$0(SimpleHttpFeaturedModUpdaterTask.java:107)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.call(SimpleHttpFeaturedModUpdaterTask.java:83)
at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.call(SimpleHttpFeaturedModUpdaterTask.java:31)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1399)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
... 1 more
Caused by: java.nio.file.AccessDeniedException: C:\ProgramData\FAForever\cache\featured_mod\bin\a49c1003ae57850b13ccf561070c77a7 -> 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.copy(WindowsFileCopy.java:220)
at java.base/sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:282)
at java.base/java.nio.file.Files.copy(Files.java:1304)
at com.faforever.client.io.FeaturedModFileCacheService.copyFeaturedModFileFromCache(FeaturedModFileCacheService.java:66)
at com.faforever.client.patch.SimpleHttpFeaturedModUpdaterTask.lambda$call$0(SimpleHttpFeaturedModUpdaterTask.java:102)
... 8 more
Sorry, just checked between the two, they are not the same error. Am I better off starting a new thread or just continuing this one here? thanks!
It boils down to be the same issue
Caused by: java.nio.file.AccessDeniedException:
Could be related to:
- Security Settings
- User/Folder Permission
- Maybe malformed files in FAForever\cache
You can try to install the client outside a "protected" Windows folder like another disc D:/FAF, or C:/FAF for testing purpose, or/and clear the cache folder and retry again.
(Usually and by default FAF works out of the box with most common environments, but there are so many users with so many different cases ...)
As a last resort, you can follow 2.1 from this guide to uninstall FAF and Supreme Commander completely and remove any leftover files, just to be sure´and try to install it again.