Skip to content
New issue

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

java.lang.NullPointerException when using map generator #326

Open
ghost opened this issue Dec 21, 2022 · 2 comments
Open

java.lang.NullPointerException when using map generator #326

ghost opened this issue Dec 21, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Dec 21, 2022

Describe the bug
Downloaded the FAF client a few days ago. Everything has been working pretty well, but I haven't been able to get the map generator to work. Every time I go to generate a map, it says it is generating in the bottom-right corner, but nothing happens, which led me to believe it was silently failing. I took a look at the logs and found the exception below relating to my issue.

To Reproduce

  1. Launch the FAF client
  2. Navigate to the Play tab.
  3. Select Create Game.
  4. Select Generate new map.
  5. Use the "Generate a new map using the following options:" section to generate a new map
  6. Generating map... message appears in bottom-right corner, but the map never appears

Log or error message
From my most recent login. In particular, I think the very end has the most pertinent exception:

2022-12-21 13:42:28.259  INFO 25856 --- [JavaFX-Launcher] o.s.boot.SpringApplication               : Starting application using Java 17.0.1 on %CPU_NAME% with PID 25856 (started by %USER% in C:\Program Files\FAF Client)
2022-12-21 13:42:28.269  INFO 25856 --- [JavaFX-Launcher] o.s.boot.SpringApplication               : The following 1 profile is active: "prod"
2022-12-21 13:42:29.036  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'faf-client-com.faforever.client.config.ClientProperties' of type [com.faforever.client.config.ClientProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.043  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'fafClientApplication' of type [com.faforever.client.FafClientApplication$$EnhancerBySpringCGLIB$$5ca163f5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.059  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'platformService' of type [com.faforever.client.fx.PlatformService] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.061  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'reportingService' of type [com.faforever.client.reporting.ReportingService] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.065  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'baseConfig' of type [com.faforever.client.config.BaseConfig$$EnhancerBySpringCGLIB$$8b39d012] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.072  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'messageSource' of type [org.springframework.context.support.ReloadableResourceBundleMessageSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.082  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'osConfiguration' of type [com.faforever.client.os.OsConfiguration$$EnhancerBySpringCGLIB$$400f7123] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.085  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'runtimeDetection' of type [com.faforever.client.os.OsWindows] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.257  INFO 25856 --- [JavaFX-Launcher] c.f.c.preferences.PreferencesService     : Reading preferences file `%USER_PROFILE%\AppData\Roaming\Forged Alliance Forever\client.prefs`
2022-12-21 13:42:29.270  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'preferencesService' of type [com.faforever.client.preferences.PreferencesService] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.289  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'i18n' of type [com.faforever.client.i18n.I18n] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.292  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'notificationService' of type [com.faforever.client.notification.NotificationService] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.294  INFO 25856 --- [JavaFX-Launcher] trationDelegate$BeanPostProcessorChecker : Bean 'asyncConfig' of type [com.faforever.client.config.AsyncConfig$$EnhancerBySpringCGLIB$$701cf72d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-12-21 13:42:29.395  INFO 25856 --- [JavaFX-Launcher] com.faforever.client.theme.UiService     : Changes detected, reloading stylesheets: [jar:file:/C:/Program%20Files/FAF%20Client/lib/fxstage-0.8.3.jar!/css/fxstage.css, jar:file:/C:/Program%20Files/FAF%20Client/lib/fxstage-0.8.3.jar!/css/fxstage-undecorated.css, jar:file:/C:/Program%20Files/FAF%20Client/lib/jfx-waitomo-theme-0.3.0.jar!/css/waitomo.css, jar:file:/C:/Program%20Files/FAF%20Client/lib/faf-client-2022.11.0-plain.jar!/theme/colors.css, jar:file:/C:/Program%20Files/FAF%20Client/lib/faf-client-2022.11.0-plain.jar!/theme/icons.css, jar:file:/C:/Program%20Files/FAF%20Client/lib/faf-client-2022.11.0-plain.jar!/theme/style.css, jar:file:/C:/Program%20Files/FAF%20Client/lib/faf-client-2022.11.0-plain.jar!/theme/style_extension.css]
2022-12-21 13:42:29.397  INFO 25856 --- [JavaFX-Launcher] com.faforever.client.theme.UiService     : style-webview14751283046649491424.css created and applied to all web views
2022-12-21 13:42:29.398  INFO 25856 --- [JavaFX-Launcher] com.faforever.client.theme.UiService     : style-webview17338741155118305431.css created and applied to all web views
2022-12-21 13:42:29.990  INFO 25856 --- [JavaFX-Launcher] c.f.client.logging.LoggingService        : Switching FA Forever logging configuration to DEBUG
2022-12-21 13:42:29.990 DEBUG 25856 --- [JavaFX-Launcher] c.f.client.logging.LoggingService        : Confirming debug logging
2022-12-21 13:42:30.028  INFO 25856 --- [pool-3-thread-3] com.faforever.client.mod.ModService      : Reading mod from `%USER_PROFILE%\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\mods\Oof`
2022-12-21 13:42:30.088  INFO 25856 --- [pool-3-thread-3] com.faforever.client.mod.ModService      : Reading mod from `%USER_PROFILE%\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\mods\rks_explosions`
2022-12-21 13:42:30.175 DEBUG 25856 --- [JavaFX-Launcher] c.f.client.os.FileOpeningHandler         : Registering file opening handler: com.faforever.client.os.FileOpeningHandler
2022-12-21 13:42:30.232  INFO 25856 --- [JavaFX-Launcher] com.faforever.client.steam.SteamService  : Starting the Steam API
2022-12-21 13:42:30.358 DEBUG 25856 --- [JavaFX-Launcher] com.faforever.client.steam.SteamService  : Steam API started
2022-12-21 13:42:30.513  INFO 25856 --- [JavaFX-Launcher] o.s.boot.SpringApplication               : Started application in 2.74 seconds (JVM running for 5.434)
2022-12-21 13:42:30.653  INFO 25856 --- [JavaFX Application Thread] com.faforever.client.update.Version      : The current application version is: 2022.11.0
2022-12-21 13:42:31.106  INFO 25856 --- [JavaFX Application Thread] c.f.client.update.ClientUpdateService    : Current version: 2022.11.0
2022-12-21 13:42:31.110  INFO 25856 --- [pool-3-thread-2] c.f.client.update.CheckForUpdateTask     : Checking for client update
2022-12-21 13:42:31.113  INFO 25856 --- [pool-3-thread-3] c.f.c.update.CheckForBetaUpdateTask      : Checking for client update (pre-release channel)
2022-12-21 13:42:31.922  INFO 25856 --- [ForkJoinPool.commonPool-worker-1] com.faforever.client.update.Version      : fromVersion '2022.8' is not newer than toVersion '2022.11'. No update is required.
2022-12-21 13:42:31.923  INFO 25856 --- [ForkJoinPool.commonPool-worker-1] com.faforever.client.user.UserService    : Logging in with refresh token
2022-12-21 13:42:32.127  WARN 25856 --- [reactor-http-nio-2] c.f.client.status.StatPingService        : Could not read StatPing from: https://status.faforever.com/api

org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET https://status.faforever.com/api/messages
	at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223)
	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
Error has been observed at the following site(s):
	*__checkpoint ? 404 from GET https://status.faforever.com/api/messages [DefaultWebClient]
Original Stack Trace:
		at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223)
		at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207)
		at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106)
		at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162)
		at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101)
		at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129)
		at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107)
		at reactor.core.publisher.FluxMapFuseable$MapFuseableConditionalSubscriber.onNext(FluxMapFuseable.java:299)
		at reactor.core.publisher.FluxFilterFuseable$FilterFuseableConditionalSubscriber.onNext(FluxFilterFuseable.java:337)
		at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1816)
		at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160)
		at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)
		at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260)
		at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)
		at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:400)
		at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:419)
		at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:473)
		at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:702)
		at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:113)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
		at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
		at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
		at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336)
		at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308)
		at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
		at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
		at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1373)
		at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1236)
		at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1285)
		at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:519)
		at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:458)
		at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:280)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
		at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
		at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
		at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
		at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
		at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
		at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
		at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
		at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
		at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
		at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
		at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
		at java.base/java.lang.Thread.run(Thread.java:833)

2022-12-21 13:42:32.694  WARN 25856 --- [reactor-http-nio-2] c.f.client.status.StatPingService        : Could not read StatPing from: https://status.faforever.com/api

org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET https://status.faforever.com/api/services
	at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223)
	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
Error has been observed at the following site(s):
	*__checkpoint ? 404 from GET https://status.faforever.com/api/services [DefaultWebClient]
Original Stack Trace:
		at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223)
		at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207)
		at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106)
		at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162)
		at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101)
		at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129)
		at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107)
		at reactor.core.publisher.FluxMapFuseable$MapFuseableConditionalSubscriber.onNext(FluxMapFuseable.java:299)
		at reactor.core.publisher.FluxFilterFuseable$FilterFuseableConditionalSubscriber.onNext(FluxFilterFuseable.java:337)
		at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1816)
		at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160)
		at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)
		at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260)
		at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)
		at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:400)
		at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:419)
		at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:473)
		at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:702)
		at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:113)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
		at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
		at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
		at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336)
		at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308)
		at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
		at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
		at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1373)
		at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1236)
		at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1285)
		at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:519)
		at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:458)
		at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:280)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
		at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
		at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
		at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
		at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
		at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
		at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
		at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
		at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
		at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
		at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
		at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
		at java.base/java.lang.Thread.run(Thread.java:833)

2022-12-21 13:42:33.126 DEBUG 25856 --- [reactor-http-nio-5] com.faforever.commons.lobby.FafLobbyApi  : Starting session listener
2022-12-21 13:42:33.127 DEBUG 25856 --- [reactor-http-nio-5] com.faforever.commons.lobby.FafLobbyApi  : Starting login listener
2022-12-21 13:42:33.323  INFO 25856 --- [reactor-tcp-nio-1] com.faforever.commons.lobby.FafLobbyApi  : Connected to lobby.faforever.com on port 8002
2022-12-21 13:42:34.103 DEBUG 25856 --- [reactor-tcp-nio-1] c.f.client.chat.KittehChatService        : Joining channel: #newbie
2022-12-21 13:42:34.109  INFO 25856 --- [JavaFX Application Thread] com.faforever.client.update.Version      : fromVersion '2022.11' is not newer than toVersion '2022.11'. No update is required.
2022-12-21 13:42:34.617 DEBUG 25856 --- [JavaFX Application Thread] c.f.client.chat.KittehChatService        : Joining channel: #MasterofTofu'sParty
2022-12-21 13:42:34.858 DEBUG 25856 --- [reactor-tcp-nio-1] c.f.client.chat.KittehChatService        : Joining channel: #aeolus
2022-12-21 13:42:35.110 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\red_ravine.v0006.png
2022-12-21 13:42:35.117  INFO 25856 --- [Discord RPC] c.f.client.discord.DiscordEventHandler   : Discord is ready with user 'MasterofTofu'
2022-12-21 13:42:35.177 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\forbidden%20passv4.png
2022-12-21 13:42:35.182 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\twin_cities.v0002.png
2022-12-21 13:42:35.185 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\vertical_frenzy.v0001.png
2022-12-21 13:42:35.206 DEBUG 25856 --- [KICL Input Processor (Unnamed)] c.f.client.chat.KittehChatService        : Joining channel: #MasterofTofu'sParty
2022-12-21 13:42:35.273 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\dualgap_adaptive.v0012.png
2022-12-21 13:42:35.320 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\the_pass_to_valhalla.v0013.png
2022-12-21 13:42:35.324 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\survival_defense_atoll.v0001.png
2022-12-21 13:42:35.330 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\gap%20of%20rohan%205v5.v0001.png
2022-12-21 13:42:35.334 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\rainmakers_survival.v0065.png
2022-12-21 13:42:35.339 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\scmp_039.png
2022-12-21 13:42:35.343 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\(-x-).v0001.png
2022-12-21 13:42:35.347 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\x1mp_011.png
2022-12-21 13:42:35.353 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\small\12%20fields%20of%20isis%20v13.png
2022-12-21 13:42:35.797 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\x1ca_coop_001.v0027.png
2022-12-21 13:42:35.822 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Fetching image from https://content.faforever.com/maps/previews/small/faf_coop_operation_blockade.v0002.png
2022-12-21 13:42:35.828 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Fetching image from https://content.faforever.com/maps/previews/small/faf_coop_operation_yath_aez.v0005.png
2022-12-21 13:42:36.218  WARN 25856 --- [JavaFX Application Thread] com.faforever.client.fx.JavaFxUtil       : Could not read image from https://content.faforever.com/maps/previews/small/faf_coop_operation_blockade.v0002.png for C:\ProgramData\FAForever\cache\maps\small\faf_coop_operation_blockade.v0002.png
2022-12-21 13:42:36.220  WARN 25856 --- [JavaFX Application Thread] com.faforever.client.fx.JavaFxUtil       : Could not read image from https://content.faforever.com/maps/previews/small/faf_coop_operation_yath_aez.v0005.png for C:\ProgramData\FAForever\cache\maps\small\faf_coop_operation_yath_aez.v0005.png
2022-12-21 13:42:39.165 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-2] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\survival_5thdimension.v0001.png
2022-12-21 13:42:39.165 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-1] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\dualgap_adaptive.v0012.png
2022-12-21 13:42:39.165 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-6] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\astro_crater_battles_4x4_rich_v2.v0001.png
2022-12-21 13:42:39.165 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-3] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\astro_crater_battles.png
2022-12-21 13:42:39.165 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-5] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\gap%20of%20rohan.v0001.png
2022-12-21 13:42:39.166 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-4] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\twin%20rivers.v0001.png
2022-12-21 13:42:39.169 DEBUG 25856 --- [reactor-http-nio-7] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\scmp_015.v0002.png
2022-12-21 13:42:40.248 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-1] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\cadmium_green.v0001.png
2022-12-21 13:42:40.248 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-3] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\paradisebay.v0007.png
2022-12-21 13:42:40.248 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-7] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\serenity_reef_5v5.v0008.png
2022-12-21 13:42:40.248 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-5] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\8%20-%20badlands_v4.v0001.png
2022-12-21 13:42:40.248 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-6] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\bbf_blacksundefense.png
2022-12-21 13:42:40.249 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-4] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\dunes_of_arracis.v0005.png
2022-12-21 13:42:41.672 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-4] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\funeral_plains.v0001.png
2022-12-21 13:42:41.672 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-1] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\festea_vii.v0011.png
2022-12-21 13:42:41.673 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-7] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\kappa.v0031.png
2022-12-21 13:42:41.673 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-6] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\ditch%20reborn.v0001.png
2022-12-21 13:42:41.673 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-3] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\frithen.v0004.png
2022-12-21 13:42:41.674 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-5] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\the_drunken_beetles_dance.v0001.png
2022-12-21 13:42:41.678 DEBUG 25856 --- [reactor-http-nio-7] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\virmire.v0002.png
2022-12-21 13:42:42.393 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-4] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\adaptive_cheese_in_a_mousetrap.v0001.png
2022-12-21 13:42:42.393 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-7] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\balance.v0002.png
2022-12-21 13:42:42.394 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-6] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\erroneous_judgment.v0004.png
2022-12-21 13:42:42.394 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-3] c.faforever.client.remote.AssetService   : Fetching image from https://content.faforever.com/maps/previews/large/red_ravine.v0006.png
2022-12-21 13:42:42.395 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-5] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\bluelands.v0002.png
2022-12-21 13:42:42.395 DEBUG 25856 --- [ForkJoinPool.commonPool-worker-2] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\esgaroths_ruins_-_faf_version.v0002.png
2022-12-21 13:42:42.398 DEBUG 25856 --- [reactor-http-nio-7] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\imperial_221.v0001.png
2022-12-21 13:42:44.848 DEBUG 25856 --- [JavaFX Application Thread] c.faforever.client.remote.AssetService   : Using cached image: C:\ProgramData\FAForever\cache\maps\large\dunes_of_arracis.v0005.png
2022-12-21 13:42:46.806  INFO 25856 --- [reactor-http-nio-8] c.f.c.map.generator.MapGeneratorService  : Found MapGenerator version: 1.8.8
2022-12-21 13:42:46.811  INFO 25856 --- [pool-3-thread-2] c.f.c.m.generator.GeneratorOptionsTask   : Starting map generator in directory: `null` with command: `c:\program files\faf client\jre\bin\java.exe -jar C:\ProgramData\FAForever\map_generator\MapGenerator_1.8.8.jar --styles`
2022-12-21 13:42:49.306  INFO 25856 --- [JavaFX Application Thread] c.f.c.map.generator.MapGeneratorService  : Found MapGenerator version: 1.8.8
2022-12-21 13:42:49.309  INFO 25856 --- [pool-3-thread-2] c.f.c.map.generator.GenerateMapTask      : Starting map generator in directory: `%USER_PROFILE%\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\maps` with command: `c:\program files\faf client\jre\bin\java.exe -jar C:\ProgramData\FAForever\map_generator\MapGenerator_1.8.8.jar --map-size 1024 --spawn-count 16 --num-teams 16 --style SMALL_ISLANDS`
2022-12-21 13:42:53.258  WARN 25856 --- [pool-3-thread-2] com.faforever.client.config.BaseConfig   : Exception in 'class com.faforever.client.map.MapService#onMapGenerated' while handling event: MapGeneratedEvent(mapName=neroxis_map_generator_1.8.8_ipomcsaffifsy_caibacy)

java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.getFileSystem()" because "path" is null
	at java.base/java.nio.file.Files.provider(Files.java:105)
	at java.base/java.nio.file.Files.isDirectory(Files.java:2316)
	at com.faforever.client.map.MapService.readMap(MapService.java:285)
	at com.faforever.client.map.MapService.tryAddInstalledMap(MapService.java:267)
	at com.faforever.client.map.MapService.onMapGenerated(MapService.java:279)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:85)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:142)
	at com.google.common.eventbus.Subscriber.lambda$dispatchEvent$0(Subscriber.java:71)
	at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:31)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:68)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:109)
	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
	at com.faforever.client.map.generator.GenerateMapTask.call(GenerateMapTask.java:110)
	at com.faforever.client.map.generator.GenerateMapTask.call(GenerateMapTask.java:25)
	at javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

Expected behavior
I should be able to generate a map or receive an error message that something went wrong.

OS
Windows

Wanna have the bug fixed quickly?
Visit Issue hunt...
Issue hunt

@ghost ghost added the bug Something isn't working label Dec 21, 2022
@Sheikah45
Copy link
Member

There is a specific map generator log that you can post that would have more information

@ghost
Copy link
Author

ghost commented Dec 22, 2022

From the map generator logs:

neroxis_map_generator_1.8.8_ipomcsaffifsy_caibacy
Starting pipeline
java.util.concurrent.CompletionException: java.lang.reflect.InvocationTargetException
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at com.faforever.neroxis.mask.Mask.copy(Mask.java:890)
	at com.faforever.neroxis.mask.Mask.copy(Mask.java:877)
	at com.faforever.neroxis.mask.Mask.getFinalMask(Mask.java:882)
	at com.faforever.neroxis.generator.texture.TextureGenerator.lambda$generatePreview$2(TextureGenerator.java:79)
	at com.faforever.neroxis.util.DebugUtil.timedRun(DebugUtil.java:68)
	at com.faforever.neroxis.generator.texture.TextureGenerator.generatePreview(TextureGenerator.java:76)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
	... 6 more
Caused by: java.lang.NullPointerException: Cannot invoke "com.faforever.neroxis.util.vector.Vector.copy()" because "value" is null
	at com.faforever.neroxis.mask.VectorMask.set(VectorMask.java:147)
	at com.faforever.neroxis.mask.VectorMask.fill(VectorMask.java:211)
	at com.faforever.neroxis.mask.VectorMask.lambda$copyFrom$7(VectorMask.java:96)
	at com.faforever.neroxis.mask.Mask.enqueue(Mask.java:230)
	at com.faforever.neroxis.mask.VectorMask.copyFrom(VectorMask.java:96)
	at com.faforever.neroxis.mask.VectorMask.copyFrom(VectorMask.java:22)
	at com.faforever.neroxis.mask.Mask.init(Mask.java:82)
	at com.faforever.neroxis.mask.Mask.<init>(Mask.java:51)
	at com.faforever.neroxis.mask.OperationsMask.<init>(OperationsMask.java:16)
	at com.faforever.neroxis.mask.VectorMask.<init>(VectorMask.java:59)
	at com.faforever.neroxis.mask.Vector4Mask.<init>(Vector4Mask.java:43)
	... 18 more

@Sheikah45 Sheikah45 transferred this issue from FAForever/downlords-faf-client Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant