FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Unmappable Character Exception or MalformedInputException - create button does not work

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    create gamejava
    14 Posts 4 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Custos_StSpC
      Custos_StSp
      last edited by magge

      tap on button "Create game" - non effects
      tap "Join" - error:
      Client Version: 2023.1.2
      java.lang.Error: java.nio.charset.UnmappableCharacterException: Input length = 2
      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)
      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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
      at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:699)
      at com.faforever.client.mod.ModService$$SpringCGLIB$$0.enableSimMods(<generated>)
      at com.faforever.client.game.GameService.lambda$joinGame$10(GameService.java:332)
      at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787)
      at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
      at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147)
      at com.faforever.client.task.CompletableTask.lambda$new$2(CompletableTask.java:19)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:198)
      at javafx.concurrent.EventHelper.fireEvent(EventHelper.java:219)
      at javafx.concurrent.Task.fireEvent(Task.java:1359)
      at javafx.concurrent.Task.setState(Task.java:725)
      at javafx.concurrent.Task$TaskCallable.lambda$call$1(Task.java:1437)
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184)
      at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: java.nio.charset.UnmappableCharacterException: Input length = 2
      at java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:275)
      at java.base/java.lang.String.decodeWithDecoder(String.java:1205)
      ... 38 more
      3d8cda93-4037-4ba7-a039-d98f871d9f68-image.png

      This problem start to v 2023.1.1
      I'm del "C:\ProgramData\FAForever" and "C:\Program Files\FAF Client"
      Not helped

      1 Reply Last reply Reply Quote 0
      • maggeM
        magge Global Moderator
        last edited by magge

        Try to remove Game.prefs - make a backup before

        Join a FAFtastic Team

        Custos_StSpC 1 Reply Last reply Reply Quote 0
        • Custos_StSpC
          Custos_StSp @magge
          last edited by

          @magge
          After deleting Game.prefs, it turns out to play 1 game, after which the error reappears.
          8c43a700-b351-4ac6-bd63-ec7ee8627939-image.png
          The only thing I change in the game settings is 1920* 1280 60 and sound
          P.S. it's hard to play without hotkeys

          1 Reply Last reply Reply Quote 0
          • maggeM
            magge Global Moderator
            last edited by

            Can you attach that Game.prefs - Thanks in advance

            Join a FAFtastic Team

            Custos_StSpC 1 Reply Last reply Reply Quote 0
            • Custos_StSpC
              Custos_StSp @magge
              last edited by

              @magge
              this file is after 1 game
              Game_prefs.zip

              1 Reply Last reply Reply Quote 0
              • maggeM
                magge Global Moderator
                last edited by magge

                Thank you, this helps to test it even more - I am sorry that you are affected by this issue, I know it can be very frustrating when it simply breaks all of a sudden. It is being actively worked on to fix it, the status can be followed here:

                https://github.com/FAForever/downlords-faf-client/issues/2905

                edit: Fix available: https://forum.faforever.com/topic/5589/client-java-lang-error-fix

                Join a FAFtastic Team

                Custos_StSpC 2 Replies Last reply Reply Quote 0
                • Custos_StSpC
                  Custos_StSp
                  last edited by

                  @magge
                  thx, I will be waiting for good news

                  1 Reply Last reply Reply Quote 0
                  • maggeM magge referenced this topic on
                  • Custos_StSpC Custos_StSp referenced this topic on
                  • I
                    Iku-Turso
                    last edited by

                    Game.prefs.zip

                    1 Reply Last reply Reply Quote 0
                    • Custos_StSpC
                      Custos_StSp @magge
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • D
                        DEWOSTATOR23
                        last edited by

                        у меня тоже в лоби не заходит и не создаёт.

                        1 Reply Last reply Reply Quote 0
                        • D
                          DEWOSTATOR23
                          last edited by

                          так же удаляю Game.prefs даёт зайти в одно лоби а дальше вновь ошибка.

                          1 Reply Last reply Reply Quote 0
                          • Custos_StSpC
                            Custos_StSp @magge
                            last edited by

                            @magge
                            I did not change the language to Russian and was able to create a game for the 2nd time

                            @DEWOSTATOR23
                            не стал менять язык на русский и смог 2й раз создать игру

                            D 2 Replies Last reply Reply Quote 0
                            • D
                              DEWOSTATOR23 @Custos_StSp
                              last edited by

                              @custos_stsp Сейчас тоже попробую

                              1 Reply Last reply Reply Quote 0
                              • D
                                DEWOSTATOR23 @Custos_StSp
                                last edited by

                                @Custos_StSp создал с английским языком 4 игры с ботами и опять ошибка.

                                1 Reply Last reply Reply Quote 0
                                • maggeM magge referenced this topic on
                                • maggeM magge referenced this topic on
                                • First post
                                  Last post