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

    Error entering the lobby(java.lang.Error:)

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    11 Posts 9 Posters 1.0k 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.
    • F
      FerGanec
      last edited by

      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 common frames omitted

      1 Reply Last reply Reply Quote 0
      • F
        FerGanec
        last edited by

        Occurred after updating the client to version 2023.1.2

        1 Reply Last reply Reply Quote 0
        • F
          FerGanec
          last edited by

          Solution found

          1 Reply Last reply Reply Quote 0
          • H
            Ha6agAHrA
            last edited by

            There's a special rung in hell reserved for people who writes "Solution found" without details.

            1 Reply Last reply Reply Quote 3
            • X
              XuMuK_911
              last edited by

              And what is the solution? I have the same issue.

              1 Reply Last reply Reply Quote 0
              • B
                Benderulas
                last edited by

                try to remove game.prefs file, it helper for me

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

                  @benderulas это только на 1 раз

                  1 Reply Last reply Reply Quote 0
                  • H
                    Hellpers
                    last edited by

                    У меня такая же проблема.

                    1 Reply Last reply Reply Quote 0
                    • P
                      Player351 @Benderulas
                      last edited by

                      @benderulas said in Error entering the lobby(java.lang.Error:):

                      try to remove game.prefs file, it helper for me

                      Привет а где найти этот файл?

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

                        @Player351RU75

                        https://forum.faforever.com/post/41558

                        Join a FAFtastic Team

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sonofibis
                          last edited by

                          Was having issues with java in the menus, error said was to do with mod mod manager couldn't look or reset the mods, was unable to join games.

                          Followed "magge" post there

                          https://forum.faforever.com/post/41558

                          new alpha fixed it! Many thanks and hope the FerGanec guy found hell!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post