Forged Alliance Forever Forged Alliance Forever Forums 2019-06-22T14:51:46+02:00 /feed.php?f=3&t=17685 2019-06-21T03:07:14+02:00 2019-06-21T03:07:14+02:00 /viewtopic.php?t=17685&p=175750#p175750 <![CDATA[Re: Client stopped working (win 10 update?) -- Java error]]>
For anyone having similar problems here is what happened.

Problem:
Everything is working, then suddenly after a Windows 10 update, can't launch FAF client with error above.
Error is access denied to the files in c:users/schwartz/xxx

Analysis
This is what I think happened.
  • Windows 10 installed, with Schwartz being the default original account created and named Schwartz (instead of Administrator)
  • When windows 10 does certain upgrades, it re-creates the default Administrator account which shares the same SSID as my original one
  • During this process a new c:users/schwartz folder is created and the old folder renamed c:users/schwartz.001 and the registry profile key pointing to the new directory. Of course, this FUBARS everything that references any directory by name under c:users.
  • So I end up with some applications using c:users/schwartz and others using c:users/schwartz.001

Solution
  • created new administrator account (adminbackup), made a backup of the c:users/schwartz folders (both of them)
  • renamed schwartz user to admin
  • deleted the old c:/user/schwartz directories
  • created a new user schwartz, reset all my applications, preferences, and tried to copy some of the configuration over. I ended up saving the game prefs and mods, but had to delete my main FAF directory and fully re-install the client to get it to work.
Lesson: Don't use the default user that gets installed with Windows 10 as your main userid because it is "special" and you never know what windows is going to do with it.

Statistics: Posted by schwartz1030 — 21 Jun 2019, 03:07


]]>
2019-06-22T14:51:46+02:00 2019-06-21T02:27:11+02:00 /viewtopic.php?t=17685&p=175749#p175749 <![CDATA[Client stopped working (win 10 update?) -- Java error]]>
I think windows 10 updated overnight, and now the Downlord client gives the following Java error on startup:

Any ideas?

java.lang.RuntimeException: Exception in Application init method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'featuredModUpdaterConfig' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/config/FeaturedModUpdaterConfig.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'modService' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/mod/ModService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fafService' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/remote/FafService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fafServerAccessorImpl' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/remote/FafServerAccessorImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'preferencesService' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/preferences/PreferencesService.class]: Invocation of init method failed; nested exception is java.nio.file.AccessDeniedException: C:\Users\schwartz\AppData\Local\Gas Powered Games
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:767)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1154)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:846)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:771)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
at com.faforever.client.FafClientApplication.init(FafClientApplication.java:93)
... 3 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'modService' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/mod/ModService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fafService' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/remote/FafService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fafServerAccessorImpl' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/remote/FafServerAccessorImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'preferencesService' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/preferences/PreferencesService.class]: Invocation of init method failed; nested exception is java.nio.file.AccessDeniedException: C:\Users\schwartz\AppData\Local\Gas Powered Games
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:767)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1154)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:273)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1239)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1166)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:855)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:758)
... 20 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fafService' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/remote/FafService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fafServerAccessorImpl' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/remote/FafServerAccessorImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'preferencesService' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/preferences/PreferencesService.class]: Invocation of init method failed; nested exception is java.nio.file.AccessDeniedException: C:\Users\schwartz\AppData\Local\Gas Powered Games
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:767)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1154)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:273)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1239)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1166)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:855)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:758)
... 34 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fafServerAccessorImpl' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/remote/FafServerAccessorImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'preferencesService' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/preferences/PreferencesService.class]: Invocation of init method failed; nested exception is java.nio.file.AccessDeniedException: C:\Users\schwartz\AppData\Local\Gas Powered Games
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:767)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1154)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:273)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1239)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1166)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:855)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:758)
... 48 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'preferencesService' defined in URL [jar:file:/G:/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.6-beta.jar!/com/faforever/client/preferences/PreferencesService.class]: Invocation of init method failed; nested exception is java.nio.file.AccessDeniedException: C:\Users\schwartz\AppData\Local\Gas Powered Games
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1745)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:273)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1239)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1166)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:855)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:758)
... 62 more
Caused by: java.nio.file.AccessDeniedException: C:\Users\schwartz\AppData\Local\Gas Powered Games
at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsFileSystemProvider.createDirectory(Unknown Source)
at java.base/java.nio.file.Files.createDirectory(Unknown Source)
at java.base/java.nio.file.Files.createAndCheckIsDirectory(Unknown Source)
at java.base/java.nio.file.Files.createDirectories(Unknown Source)
at com.faforever.client.preferences.PreferencesService.afterPropertiesSet(PreferencesService.java:142)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1804)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1741)
... 73 more

Statistics: Posted by schwartz1030 — 21 Jun 2019, 02:27


]]>