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

    Problems logging in to the launcher

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    3 Posts 3 Posters 179 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.
    • S Offline
      SpeznazGRU
      last edited by Brutus5000

      I downloaded the launcher from the site and run it and I get an error. I hope someone will help.
      Error:

      java.lang.RuntimeException: Exception in Application init method
      	at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:895)
      	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
      	at java.base/java.lang.Thread.run(Thread.java:832)
      Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fileOpeningHandler' defined in URL [jar:file:/C:/Users/%d0%ba%d1%80%d0%be%d1%81%d0%b0%d0%b2%d1%87%d0%b8%d0%ba/Desktop/%d0%9d%d0%be%d0%b2%d0%b0%d1%8f%20%d0%bf%d0%b0%d0%bf%d0%ba%d0%b0/Downlord's%20FAF%20Client/lib/downlords-faf-client-1.2.0.jar!/com/faforever/client/os/FileOpeningHandler.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'replayService' defined in URL [jar:file:/C:/Users/%d0%ba%d1%80%d0%be%d1%81%d0%b0%d0%b2%d1%87%d0%b8%d0%ba/Desktop/%d0%9d%d0%be%d0%b2%d0%b0%d1%8f%20%d0%bf%d0%b0%d0%bf%d0%ba%d0%b0/Downlord's%20FAF%20Client/lib/downlords-faf-client-1.2.0.jar!/com/faforever/client/replay/ReplayService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'preferencesService' defined in URL [jar:file:/C:/Users/%d0%ba%d1%80%d0%be%d1%81%d0%b0%d0%b2%d1%87%d0%b8%d0%ba/Desktop/%d0%9d%d0%be%d0%b2%d0%b0%d1%8f%20%d0%bf%d0%b0%d0%bf%d0%ba%d0%b0/Downlord's%20FAF%20Client/lib/downlords-faf-client-1.2.0.jar!/com/faforever/client/preferences/PreferencesService.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.faforever.client.preferences.PreferencesService]: Constructor threw exception; nested exception is java.lang.NullPointerException
      	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:797)
      	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:227)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:893)
      	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
      	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
      	at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140)
      	at com.faforever.client.FafClientApplication.init(FafClientApplication.java:97)
      	at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:824)
      	... 2 more
      Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'replayService' defined in URL [jar:file:/C:/Users/%d0%ba%d1%80%d0%be%d1%81%d0%b0%d0%b2%d1%87%d0%b8%d0%ba/Desktop/%d0%9d%d0%be%d0%b2%d0%b0%d1%8f%20%d0%bf%d0%b0%d0%bf%d0%ba%d0%b0/Downlord's%20FAF%20Client/lib/downlords-faf-client-1.2.0.jar!/com/faforever/client/replay/ReplayService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'preferencesService' defined in URL [jar:file:/C:/Users/%d0%ba%d1%80%d0%be%d1%81%d0%b0%d0%b2%d1%87%d0%b8%d0%ba/Desktop/%d0%9d%d0%be%d0%b2%d0%b0%d1%8f%20%d0%bf%d0%b0%d0%bf%d0%ba%d0%b0/Downlord's%20FAF%20Client/lib/downlords-faf-client-1.2.0.jar!/com/faforever/client/preferences/PreferencesService.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.faforever.client.preferences.PreferencesService]: Constructor threw exception; nested exception is java.lang.NullPointerException
      	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:797)
      	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:227)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
      	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1304)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1224)
      	at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:884)
      	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788)
      	... 21 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'preferencesService' defined in URL [jar:file:/C:/Users/%d0%ba%d1%80%d0%be%d1%81%d0%b0%d0%b2%d1%87%d0%b8%d0%ba/Desktop/%d0%9d%d0%be%d0%b2%d0%b0%d1%8f%20%d0%bf%d0%b0%d0%bf%d0%ba%d0%b0/Downlord's%20FAF%20Client/lib/downlords-faf-client-1.2.0.jar!/com/faforever/client/preferences/PreferencesService.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.faforever.client.preferences.PreferencesService]: Constructor threw exception; nested exception is java.lang.NullPointerException
      	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:313)
      	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:294)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
      	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1304)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1224)
      	at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:884)
      	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788)
      	... 35 more
      Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.faforever.client.preferences.PreferencesService]: Constructor threw exception; nested exception is java.lang.NullPointerException
      	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:217)
      	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117)
      	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:309)
      	... 49 more
      Caused by: java.lang.NullPointerException
      	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:98)
      	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
      	at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
      	at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
      	at java.base/java.nio.file.Path.of(Path.java:147)
      	at java.base/java.nio.file.Paths.get(Paths.java:69)
      	at com.faforever.client.preferences.PreferencesService.getPreferencesDirectory(PreferencesService.java:143)
      	at com.faforever.client.preferences.PreferencesService.<init>(PreferencesService.java:127)
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
      	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
      	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:204)
      	... 51 more
      
      1 Reply Last reply Reply Quote 0
      • Brutus5000B Offline
        Brutus5000 FAF Server Admin
        last edited by Brutus5000

        Looks like their is an issue with reading the preferences from your windows user directory.
        What is your windows username? It looks to be completely non-ASCII character set.

        "Nerds have a really complicated relationship with change: Change is awesome when WE'RE the ones doing it. As soon as change is coming from outside of us it becomes untrustworthy and it threatens what we think of is the familiar."
        – Benno Rice

        1 Reply Last reply Reply Quote 0
        • L Offline
          left_boy
          last edited by left_boy

          None ASCII Usernames cause issues and hard to fix that

          Soon™️

          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