Error when starting client [SOLVED]

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Error when starting client

Postby justawesome » 27 Jul 2019, 13:19

When starting, after the initial splash screen, a startup error appears

Code: Select all
java.lang.RuntimeException: Exception in Application start 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: com.github.nocatch.NoCatchException: javafx.fxml.LoadException:
file:/C:/Program%20Files/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.7.jar!/theme/login.fxml

   at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
   at com.github.nocatch.NoCatch.wrapException(NoCatch.java:61)
   at com.github.nocatch.NoCatch.noCatch(NoCatch.java:53)
   at com.github.nocatch.NoCatch.noCatch(NoCatch.java:34)
   at com.faforever.client.theme.UiService.loadFxml(UiService.java:412)
   at com.faforever.client.theme.UiService$$FastClassBySpringCGLIB$$2b0b2208.invoke(<generated>)
   at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
   at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
   at com.faforever.client.theme.UiService$$EnhancerBySpringCGLIB$$3e31faa3.loadFxml(<generated>)
   at com.faforever.client.main.MainController.enterLoggedOutState(MainController.java:389)
   at com.faforever.client.main.MainController.display(MainController.java:371)
   at com.faforever.client.FafClientApplication.showMainWindow(FafClientApplication.java:116)
   at com.faforever.client.FafClientApplication.start(FafClientApplication.java:100)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(Unknown Source)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$11(Unknown Source)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(Unknown Source)
   at java.base/java.security.AccessController.doPrivileged(Native Method)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
   at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
   at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
   at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
   ... 1 more
Caused by: javafx.fxml.LoadException:
file:/C:/Program%20Files/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.7.jar!/theme/login.fxml

   at javafx.fxml/javafx.fxml.FXMLLoader.constructLoadException(Unknown Source)
   at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
   at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
   at javafx.fxml/javafx.fxml.FXMLLoader.load(Unknown Source)
   at com.github.nocatch.NoCatch.noCatch(NoCatch.java:49)
   ... 19 more
Caused by: java.lang.reflect.InvocationTargetException
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.base/java.lang.reflect.Method.invoke(Unknown Source)
   at com.sun.javafx.reflect.Trampoline.invoke(Unknown Source)
   at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.base/java.lang.reflect.Method.invoke(Unknown Source)
   at javafx.base/com.sun.javafx.reflect.MethodUtil.invoke(Unknown Source)
   at javafx.fxml/com.sun.javafx.fxml.MethodHelper.invoke(Unknown Source)
   ... 23 more
Caused by: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
   at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:226)
   at com.google.gson.Gson.fromJson(Gson.java:927)
   at com.google.gson.Gson.fromJson(Gson.java:865)
   at com.faforever.client.preferences.PreferencesService.getRemotePreferences(PreferencesService.java:351)
   at com.faforever.client.login.LoginController.initialize(LoginController.java:150)
   ... 33 more
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
   at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
   at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:215)
   ... 37 more


I have already tried to uninstall/reinstall the client without success.
justawesome
 
Posts: 6
Joined: 14 Apr 2019, 16:33
Has liked: 0 time
Been liked: 0 time
FAF User Name: justawesome

Re: Error when starting client

Postby user900 » 27 Jul 2019, 13:22

I have the same problem.
user900
 
Posts: 2
Joined: 10 Aug 2018, 18:00
Has liked: 0 time
Been liked: 0 time

Re: Error when starting client

Postby Fenix1991722 » 27 Jul 2019, 13:22

I have this same issue on 2 PCs
Fenix1991722
 
Posts: 2
Joined: 27 Jul 2019, 13:20
Has liked: 0 time
Been liked: 0 time
FAF User Name: Fenix1991722

Re: Error when starting client

Postby Boxer_Roo » 27 Jul 2019, 13:34

Also having the same error. Re downloaded and installed client with the same error.
Boxer_Roo
 
Posts: 1
Joined: 27 Jul 2019, 13:31
Has liked: 0 time
Been liked: 0 time
FAF User Name: Boxer_Roo

Re: Error when starting client

Postby mcjointx » 27 Jul 2019, 13:51

I hvae same problem :/

I tried:

reinstall FAF client and game - still not working
delete client.prefs - still not working

what else can i/we do?
mcjointx
 
Posts: 1
Joined: 27 Jul 2019, 13:46
Has liked: 0 time
Been liked: 0 time

Re: Error when starting client

Postby Iskhander » 27 Jul 2019, 14:00

same here.
Iskhander
 
Posts: 1
Joined: 27 Jul 2019, 13:58
Has liked: 0 time
Been liked: 0 time
FAF User Name: Iskhander

Re: Error when starting client

Postby Typo91 » 27 Jul 2019, 14:01

Same problem, can't start client
User avatar
Typo91
Avatar-of-War
 
Posts: 95
Joined: 05 Jul 2012, 18:56
Has liked: 0 time
Been liked: 8 times
FAF User Name: Typo91

Re: Error when starting client

Postby Typo91 » 27 Jul 2019, 14:05

Brutus5000
Server maintenance on Saturday (27. July) - Forged Alliance Forever
Hi everyone, on Saturday we will perform some server maintenance. Due to personal constraints, I cannot give an exact time. As we are performing changes to the replay server, all replays on the running
User avatar
Typo91
Avatar-of-War
 
Posts: 95
Joined: 05 Jul 2012, 18:56
Has liked: 0 time
Been liked: 8 times
FAF User Name: Typo91

Re: Error when starting client  [SOLVED]

Postby Brutus5000 » 27 Jul 2019, 14:08

Problem is fixed.
I enforced https-redirect for our content server, but the client reads a file on startup from http. Instead of following the redirect it crashes :(
The 9th Doctor wrote:You think it'll last forever, the people and cars and concrete. But it won't. One day it's all gone, even the sky.
Brutus5000
Councillor - DevOps
 
Posts: 366
Joined: 05 Aug 2016, 23:32
Has liked: 29 times
Been liked: 288 times
FAF User Name: brutus5000


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest