marvk / vatprism

VATprism is a VATSIM Map and VATSIM Data Explorer, VATSIM being the Virtual Air Traffic Simulation Network. VATprism allows users to explore available ATC services, connected pilots, Airports, Flight and Upper Information Regions and more!
https://vatprism.org/
GNU Affero General Public License v3.0
66 stars 11 forks source link

Error during startup: Failed loading countries #97

Closed JimmyKudo1015 closed 2 years ago

JimmyKudo1015 commented 2 years ago

Additional context Please attach the latest log files. Information on how to obtain log files can be found here.

JimmyKudo1015 commented 2 years ago

2022-03-05 23:25:07,223 INFO [ 627] --- [ main] n.m.f.v.m.A.SystemInformationLogger : VATprism version: 0.3.4+1659fb.win64 2022-03-05 23:25:07,225 INFO [ 629] --- [ main] n.m.f.v.m.A.SystemInformationLogger : Operating system: Windows 10 (amd64) 2022-03-05 23:25:07,225 INFO [ 629] --- [ main] n.m.f.v.m.A.SystemInformationLogger : Available threads: 8 2022-03-05 23:25:07,226 INFO [ 630] --- [ main] n.m.f.v.m.A.SystemInformationLogger : JVM Free memory: 256MB 2022-03-05 23:25:07,226 INFO [ 630] --- [ main] n.m.f.v.m.A.SystemInformationLogger : JVM Maximum memory: 4273MB 2022-03-05 23:25:07,226 INFO [ 630] --- [ main] n.m.f.v.m.A.SystemInformationLogger : JVM Total memory: 268MB 2022-03-05 23:25:07,226 INFO [ 630] --- [ main] n.m.f.v.m.A.SystemInformationLogger : JRE Version 15.0.2 2022-03-05 23:25:07,227 INFO [ 631] --- [ main] n.m.f.v.m.A.SystemInformationLogger : JRE Vendor AdoptOpenJDK (https://adoptopenjdk.net/) 2022-03-05 23:25:07,227 INFO [ 631] --- [ main] n.m.f.v.m.A.SystemInformationLogger : JRE Home G:\Program Files\VATprism\runtime 2022-03-05 23:25:07,227 INFO [ 631] --- [ main] n.m.f.v.m.A.SystemInformationLogger : JVM Version 15.0.2+7 2022-03-05 23:25:07,227 INFO [ 631] --- [ main] n.m.f.v.m.A.SystemInformationLogger : JVM Vendor AdoptOpenJDK 2022-03-05 23:25:07,227 INFO [ 631] --- [ main] n.m.f.v.m.A.SystemInformationLogger : JVM Name OpenJDK 64-Bit Server VM 2022-03-05 23:25:07,228 INFO [ 632] --- [ main] n.m.f.v.m.A.SystemInformationLogger : Java Class Version 59.0 2022-03-05 23:25:07,267 ERROR [ 671] --- [ JavaFX-Launcher] S.err : 3月 05, 2022 11:25:07 下午 com.sun.javafx.application.PlatformImpl startup 2022-03-05 23:25:07,268 ERROR [ 672] --- [ JavaFX-Launcher] S.err : 警告: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @bc70a7e' 2022-03-05 23:25:07,797 INFO [ 1201] --- [ JavaFX-Launcher] n.m.f.v.m.App : Received parameters [] 2022-03-05 23:25:08,030 INFO [ 1434] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Creating config directory C:\Users\china\AppData\Local\VATprism 2022-03-05 23:25:08,031 INFO [ 1435] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Loading config from C:\Users\china\AppData\Local\VATprism\Config.json 2022-03-05 23:25:08,031 ERROR [ 1435] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Failed to load config java.nio.file.NoSuchFileException: C:\Users\china\AppData\Local\VATprism\Config.json at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) ~[?:?] at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) ~[?:?] at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) ~[?:?] at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source) ~[?:?] at java.nio.file.Files.newByteChannel(Unknown Source) ~[?:?] at java.nio.file.Files.newByteChannel(Unknown Source) ~[?:?] at java.nio.file.Files.readAllBytes(Unknown Source) ~[?:?] at java.nio.file.Files.readString(Unknown Source) ~[?:?] at java.nio.file.Files.readString(Unknown Source) ~[?:?] at net.marvk.fs.vatsim.map.data.ConfigFilePreferences.tryLoadConfig(ConfigFilePreferences.java:151) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at net.marvk.fs.vatsim.map.data.ConfigFilePreferences.(ConfigFilePreferences.java:42) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at net.marvk.fs.vatsim.map.data.ConfigFilePreferences$$FastClassByGuice$$30286197.GUICE$TRAMPOLINE() ~[?:0.3.4+1659fb.win64] at net.marvk.fs.vatsim.map.data.ConfigFilePreferences$$FastClassByGuice$$30286197.apply() ~[?:0.3.4+1659fb.win64] at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:60) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:213) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:186) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:113) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.Guice.createInjector(Guice.java:87) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.google.inject.Guice.createInjector(Guice.java:69) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at de.saxsys.mvvmfx.guice.MvvmfxGuiceApplication.init(MvvmfxGuiceApplication.java:72) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:825) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196) ~[vatsim-map-0.3.4+1659fb.win64-fat.jar:0.3.4+1659fb.win64] at java.lang.Thread.run(Unknown Source) [?:?] 2022-03-05 23:25:08,042 INFO [ 1446] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property general.use_map_data_cache from false to true 2022-03-05 23:25:08,043 INFO [ 1447] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property general.map_data_cache_ttl from 0 to 604800 2022-03-05 23:25:08,043 INFO [ 1447] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property general.social from false to true 2022-03-05 23:25:08,044 INFO [ 1448] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property general.font_size from 0 to 12 2022-03-05 23:25:08,044 INFO [ 1448] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property general.map_font_size from 0 to 12 2022-03-05 23:25:08,044 INFO [ 1448] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property general.scroll_speed from 0.0 to 2.25 2022-03-05 23:25:08,045 INFO [ 1449] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property general.delete_old_logs from false to true 2022-03-05 23:25:08,045 INFO [ 1449] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property meta.version from null to 0.0.0 2022-03-05 23:25:08,046 INFO [ 1450] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property ui.auto_color from false to true 2022-03-05 23:25:08,046 INFO [ 1450] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property ui.auto_shade from false to true 2022-03-05 23:25:08,048 INFO [ 1452] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property ui.background_base_color from null to 0x1a130aff 2022-03-05 23:25:08,049 INFO [ 1453] --- [ JavaFX-Launcher] n.m.f.v.m.d.ConfigFilePreferences : Changing value of property ui.text_base_color from null to 0x1a130aff 2022-03-05 23:25:08,058 INFO [ 1462] --- [JavaFX Application Thread] n.m.f.v.m.App : Loading fonts from /net/marvk/fs/vatsim/map/view/fonts/ 2022-03-05 23:25:08,126 INFO [ 1530] --- [JavaFX Application Thread] n.m.f.v.m.c.AppModule : User Agent: VATprism-Client/0.3.4+1659fb.win64 2022-03-05 23:25:09,049 INFO [ 2453] --- [ pool-3-thread-1] n.m.f.v.m.d.ConfigFilePreferences : Writing config to C:\Users\china\AppData\Local\VATprism\Config.json 2022-03-05 23:25:16,769 INFO [ 10173] --- [JavaFX Application Thread] n.m.f.v.m.a.HttpVatprismApi : Version response: {stable={version=0.3.4, windowsUrl=https://github.com/marvk/vatprism/releases/download/v0.3.4/VATprism-0.3.4.msi, macosUrl=https://github.com/marvk/vatprism/releases/download/v0.3.4/VATprism-0.3.4.dmg, body=### Fixed

Epse commented 2 years ago

Hah we must have written our issues simultaneously, I reported the same at #101 I guess one of these can be closed now

marvk commented 2 years ago

This is just a temporary issue with the API. Should be managed better in the future, see #76.