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

0

@jip Was an update put out for this? I am getting it as of this week. Tried a wipe of anything related to it but it is persistent

0

Not yet, I did not find the time to manage the release.

A work of art is never finished, merely abandoned

0

Looks like we had an update; however, this issue is still keeping me from playing the game at all. Please can someone assist?

I still get the error:

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:348)
at com.faforever.client.mod.ModService.overrideActivatedMods(ModService.java:304)
at com.faforever.client.mod.ModService.updateAndActivateModVersions(ModService.java:410)
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:330)
... 13 more

0

Does anyoen know a work around. I see lots of games going on, but I cannot play any. This is really frustrating.

0

What client version do you have?

If it is not 2022.12.0 then update it

0

@sheikah

I'm running the most current version 2022.12.0.

27afa3f1-965b-4187-8735-ec14f1861a20-image.png

Error Details:

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:348)
at com.faforever.client.mod.ModService.overrideActivatedMods(ModService.java:304)
at com.faforever.client.mod.ModService.updateAndActivateModVersions(ModService.java:410)
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:330)
... 13 more

0
This post is deleted!
0

I will delete everything again and reinstall. Maybe I just need a fresh copy of everything; however, I will not be back for a few days to test this out.

0

I don't understand?

Nothing is different fo me. Why am I the only one that this does it to. My brother can play on his PC, but I get this still. I'm erased (everything) and reinstalled multiple times. Tried just running without mods. Nada..

Running v2022.12.0

Code:
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:348)
at com.faforever.client.mod.ModService.overrideActivatedMods(ModService.java:304)
at com.faforever.client.mod.ModService.updateAndActivateModVersions(ModService.java:410)
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:330)
... 13 more

0

I am having the same problems as well I just did a clean wipe and reinstalled still I am getting this

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:348)
at com.faforever.client.mod.ModService.overrideActivatedMods(ModService.java:304)
at com.faforever.client.mod.ModService.updateAndActivateModVersions(ModService.java:410)
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:330)
... 13 more

0

Same thing here. Played a match just fine, and then without downloading any new mods or anything went to start a new match and started getting "could not update selected mods" message. I was getting the message whether I had any mods selected or not. Ended up deleting everything and uninstalling FAF, restarted my PC, reinstalled FAF. Even with no mods installed I still get "could not update selected mods". Very saddening.

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:348)
at com.faforever.client.mod.ModService.overrideActivatedMods(ModService.java:304)
at com.faforever.client.mod.ModService.updateAndActivateModVersions(ModService.java:410)
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:330)
... 13 more