Mod Error without any mod

0

Every time i try to create a game in get this error:error.png

java.util.concurrent.CompletionException: NotifiableException(i18nKey=mod.errorUpdatingMods, i18nArgs=[])
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.lambda$doSubmit$3(AsyncExecutionAspectSupport.java:281)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
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)
Caused by: NotifiableException(i18nKey=mod.errorUpdatingMods, i18nArgs=[])
at com.faforever.client.mod.ModService.writeActiveMods(ModService.java:349)
at com.faforever.client.mod.ModService.overrideActivatedMods(ModService.java:305)
at com.faforever.client.mod.ModService.updateAndActivateModVersions(ModService.java:411)
at com.faforever.client.mod.ModService$$FastClassBySpringCGLIB$$aae9cfd3.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.lambda$doSubmit$3(AsyncExecutionAspectSupport.java:278)
... 4 more
Caused by: java.nio.charset.MalformedInputException: Input length = 1
at java.base/java.lang.String.throwMalformed(String.java:1240)
at java.base/java.lang.String.decodeUTF8_UTF16(String.java:1191)
at java.base/java.lang.String.newStringUTF8NoRepl(String.java:728)
at java.base/java.lang.String.newStringNoRepl1(String.java:756)
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.writeActiveMods(ModService.java:331)
... 13 more

0

btw, i've deleted the mod folder (next the complete Supreme Commander Forged Alliance folder) , but still the same error

0

It is an error with the encoding of the prefs file. It sometimes is utf8 and sometimes ANSI

0

i get the same error

0

Get the same error here as well when I try to create a game.
It does not matter which mods I have selected, even without any mods this happens.
Using game client 2022.11.0.

Where is this prefs file mentioned above? Can it be fixed?

java.util.concurrent.CompletionException: NotifiableException(i18nKey=mod.errorUpdatingMods, i18nArgs=[])
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.lambda$doSubmit$3(AsyncExecutionAspectSupport.java:281)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
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)
Caused by: NotifiableException(i18nKey=mod.errorUpdatingMods, i18nArgs=[])
at com.faforever.client.mod.ModService.writeActiveMods(ModService.java:349)
at com.faforever.client.mod.ModService.overrideActivatedMods(ModService.java:305)
at com.faforever.client.mod.ModService.updateAndActivateModVersions(ModService.java:411)
at com.faforever.client.mod.ModService$$FastClassBySpringCGLIB$$aae9cfd3.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.lambda$doSubmit$3(AsyncExecutionAspectSupport.java:278)
... 4 more
Caused by: java.nio.charset.MalformedInputException: Input length = 1
at java.base/java.lang.String.throwMalformed(String.java:1240)
at java.base/java.lang.String.decodeUTF8_UTF16(String.java:1191)
at java.base/java.lang.String.newStringUTF8NoRepl(String.java:728)
at java.base/java.lang.String.newStringNoRepl1(String.java:756)
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.writeActiveMods(ModService.java:331)
... 13 more

0

Same issue:
java.util.concurrent.CompletionException: NotifiableException(i18nKey=mod.errorUpdatingMods, i18nArgs=[])
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.lambda$doSubmit$3(AsyncExecutionAspectSupport.java:281)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
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)
Caused by: NotifiableException(i18nKey=mod.errorUpdatingMods, i18nArgs=[])
at com.faforever.client.mod.ModService.writeActiveMods(ModService.java:349)
at com.faforever.client.mod.ModService.overrideActivatedMods(ModService.java:305)
at com.faforever.client.mod.ModService.updateAndActivateModVersions(ModService.java:411)
at com.faforever.client.mod.ModService$$FastClassBySpringCGLIB$$aae9cfd3.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.lambda$doSubmit$3(AsyncExecutionAspectSupport.java:278)
... 4 more
Caused by: java.nio.charset.MalformedInputException: Input length = 1
at java.base/java.lang.String.throwMalformed(String.java:1240)
at java.base/java.lang.String.decodeUTF8_UTF16(String.java:1191)
at java.base/java.lang.String.newStringUTF8NoRepl(String.java:728)
at java.base/java.lang.String.newStringNoRepl1(String.java:756)
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.writeActiveMods(ModService.java:331)
... 13 more

0

Isn't it this file?

Make up a backup before you delete, just in case.

e185ae20-a8b6-47f3-b92e-9664194ab17c-image.png

0

The issue is that the file gets encoded as ANSI at some point and the client can't read it anymore

2

We may have found the source of this issue, and we'll try to fix it somewhere this week.

A work of art is never finished, merely abandoned