Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downlord’s FAF Client not starting , as it crashes reading server settings #1368
Downlord’s FAF Client not starting , as it crashes reading server settings #1368
Comments
Tried to start FAF client and got this java startup error.
Log;
Exception in Application start method
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:/D:/Program%20Dosyalar%c4%b1%20(x86)/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() 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$$d9340258.loadFxml() 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:/D:/Program%20Dosyalar%c4%b1%20(x86)/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
The text was updated successfully, but these errors were encountered:
Client java.lang.error fix
For those having issues with game.prefs and character encoding problems an alpha client has been released at https://github.com/FAForever/downlords-faf-client/releases/tag/v2023.2.0-alpha-1 Which you can try which should fix the problem.
Please, can you give feedback if it fixes your issue with the malformed exception you encountered for «Game.prefs»:
Пожалуйста, дайте обратную связь, если это исправит вашу проблему с неправильно сформированным исключением, с которым вы столкнулись для «Game.prefs»:
Want to become a Moderator? || Open volunteer positions
can confirm it works for me. Managing active mods in the mod tab and hosting custom games.
@magge I played solo 5 skating rinks and with a friend a couple on alpha, there were no problems with java
@magge Gave me a couple of errors when logging in (which I was unable to copy) but after getting in all worked great. So thank you for the help.
Спасибо огромное, вы спаситель)
I got same issue, it worked for me.
Thanks for the quick fix =D
@magge Установил и пока могу сказать, что проблема решена, Большое спасибо)
Mine seems to still have the same issue after the alpha update,
la0michael0 issue is not related to malformed stuff, just generic permission stuff
Want to become a Moderator? || Open volunteer positions
had the issue and this version worked for me
Sorry for the late reply this fix worked thank you
Having issues joining custom games :-
Client Version: 2023.1.2
java.lang.Error: java.nio.charset.MalformedInputException: Input length = 1
at java.base/java.lang.String.decodeWithDecoder(String.java:1212)
at java.base/java.lang.String.newStringNoRepl1(String.java:786)
at java.base/java.lang.String.newStringNoRepl(String.java:738)
at java.base/java.lang.System$2.newStringNoRepl(System.java:2390)
at java.base/java.nio.file.Files.readString(Files.java:3369)
at com.faforever.client.mod.ModService.readPreferencesFile(ModService.java:313)
at com.faforever.client.mod.ModService.readActiveMods(ModService.java:329)
at com.faforever.client.mod.ModService.enableSimMods(ModService.java:231)
The alpha client resolved the issue, however it reset all settings and blueprints.