First time running faf client on a new pc Windows 11
-
Dear team could you please help me with this error:
java.lang.RuntimeException: Exception in Application init method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:888)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'friendJoinedGameNotifier' defined in URL [jar:file:/C:/Program%20Files/FAF%20Client/lib/faf-client-2025.2.1-plain.jar!/com/faforever/client/player/FriendJoinedGameNotifier.class]: Unsatisfied dependency expressed through constructor parameter 3: Error creating bean with name 'audioService' defined in URL [jar:file:/C:/Program%20Files/FAF%20Client/lib/faf-client-2025.2.1-plain.jar!/com/faforever/client/audio/AudioService.class]: no gstreamer-lite in java.library.path: .
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1381)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1218)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:563)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:523)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:307)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1122)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1093)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1030)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:987)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:149)
at com.faforever.client.FafClientApplication.init(FafClientApplication.java:59)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:817)
... 2 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'audioService' defined in URL [jar:file:/C:/Program%20Files/FAF%20Client/lib/faf-client-2025.2.1-plain.jar!/com/faforever/client/audio/AudioService.class]: no gstreamer-lite in java.library.path: .
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1812)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:601)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:523)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:307)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1573)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1519)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
... 22 more
Caused by: java.lang.UnsatisfiedLinkError: no gstreamer-lite in java.library.path: .
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2458)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:916)
at java.base/java.lang.System.loadLibrary(System.java:2059)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:168)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:56)
at com.sun.media.jfxmediaimpl.NativeMediaManager.lambda$new$0(NativeMediaManager.java:115)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
at com.sun.media.jfxmediaimpl.NativeMediaManager.<init>(NativeMediaManager.java:108)
at com.sun.media.jfxmediaimpl.NativeMediaManager$NativeMediaManagerInitializer.<clinit>(NativeMediaManager.java:78)
at com.sun.media.jfxmediaimpl.NativeMediaManager.getDefaultInstance(NativeMediaManager.java:90)
at com.sun.media.jfxmedia.MediaManager.canPlayProtocol(MediaManager.java:78)
at com.sun.media.jfxmedia.locator.Locator.<init>(Locator.java:240)
at com.sun.media.jfxmediaimpl.NativeMediaAudioClip.<init>(NativeMediaAudioClip.java:53)
at com.sun.media.jfxmediaimpl.NativeMediaAudioClip.load(NativeMediaAudioClip.java:63)
at com.sun.media.jfxmediaimpl.AudioClipProvider.load(AudioClipProvider.java:66)
at com.sun.media.jfxmedia.AudioClip.load(AudioClip.java:135)
at javafx.scene.media.AudioClip.<init>(AudioClip.java:83)
at com.faforever.client.audio.AudioService.loadSound(AudioService.java:74)
at com.faforever.client.audio.AudioService.loadSounds(AudioService.java:60)
at com.faforever.client.audio.AudioService.afterPropertiesSet(AudioService.java:56)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1859)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1808)
... 32 more -
I have the exact same Issue, same stacktrace and all after i upgraded from Windows 10 to Windows 11. Updating the existing install with the installer and installing the Client a second time in a new dir didnt work either.
@fabry180384 did you manage to fix the issue?
I have attached the client log -
Uninstalling (with all settings) also did not help. Same issue
-
The issue persists also with older versions of the FAF Client
Reinstalling Forged Alliance through steam also did not help, i cant even start the the game trough steam.
Fuckin Microsoft again -.- -
Okay wow i finally fixed it. The issue with starting the Forged Alliance through steam was a missing ResampleDmo.dll
I tried fixing that by installing the Media Feature Pack for Windows 11 (i had a Windows 11 N version that is missing the media stuff), but the installation failed.
Then i just got a mate to send me the missing ResampleDmo.dll files from
C:\Windows\SysWOW64\RESAMPLEDMO.DLL
C:\Windows\System32\RESAMPLEDMO.DLL
and placed them in both directories (they are different files).This also fixed the error i got when starting the FAFClient
Hope this helps someone else. I will also upload the dll files here. Use at your own risk, but better yet get them from someone you trust.
ResampleDmo.zip -
Better solution is to keep trying to install the Media Feature Pack for Windows 11 (missing in Windows 11 N version and the cause for the error):
From reddit: https://www.reddit.com/r/Intune/comments/18bm21f/windows_11_enterprise_n_missing_media_feature_pack/The 2nd command might fail simply retry and it should succeed and a reboot is required to complete this.
Open an Elevated Command Prompt and run the following command:
dism /online /add-capability /capabilityname:Media.WindowsMediaPlayer~~~~0.0.12.0
And then run (the following command is only for N and KN Editions:)
dism /online /add-capability /capabilityname:Media.MediaFeaturePack~~~~0.0.1.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