Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    2.3 is Released!

    News
    8
    50
    7087
    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.
    • T
      Trevan @Schulz last edited by

      @Schulz The error looks like it is occurring because the last map you played isn't liked by 2.3 or 2.4. That's why I'm asking you to load a saved game, play it, and then close triplea completely and reopen it. Each time you load a saved game, it changes the last map you played. And when you exit triplea and then reopen triplea, it should try and load the map from the saved game you just played.

      You said that you have several saved games from different maps. Did you try each one of them (load the game, play it, exit triplea, open triplea)? Did they all cause the error? What are the maps of the saved games that cause the error when you open triplea?

      And once you've found a map that "fixes" the error, then you should be able to load maps without any problem.

      1 Reply Last reply Reply Quote 0
      • Schulz
        Schulz last edited by

        All load games work.

        T 1 Reply Last reply Reply Quote 0
        • T
          Trevan @Schulz last edited by

          @Schulz said in 2.3 is Released!:

          All load games work.

          I'm not asking if the load games work. I'm asking you to load the game, then quit triplea and then restart triplea. Does that fix the problem?

          1 Reply Last reply Reply Quote 0
          • Schulz
            Schulz last edited by

            It didn't fix the problem.

            T 1 Reply Last reply Reply Quote 0
            • LaFayette
              LaFayette Admin last edited by

              Spent the last 4 hours investigating issues loading save games and am turning up not a lot.

              I'm seeing two issues:

              1. Stack Overflow on bot loading save
              2. Save game hangs

              (1) looks to be 'fixable' by setting XSS on the bots to match the value we have for the headed game running

              For (2), I've narrowed the hang down to the client side on these lines in GameDataManager.java:

                public static GameData loadGame(final InputStream is) throws IOException {
                  checkNotNull(is);
              
                  final ObjectInputStream input = new ObjectInputStream(new GZIPInputStream(is));
                  try {
                    final Object version = input.readObject();
              

              I launched a bot in 2.2 with a headed client on 2.2 and the hang happened. Sometimes the hang did not happen and I was not able to deterministically determine what that was.

              I'm attaching a save-game I was sent that gets a hang when you launch the game via save-game on bots.

              aktuell.tsvg

              1 Reply Last reply Reply Quote 1
              • T
                Trevan @Schulz last edited by

                @Schulz said in 2.3 is Released!:

                It didn't fix the problem.

                Does it fix the exception showing in the UI? I've manually replicated the error by changing the code to throw an exception at the same point but I can still see select a new map to play. So this error appears to not be related to the map selection issue. Do you get a different error when you click on the "Select Map" button? What maps do you have downloaded? Can you try deleting all of them (or moving them to a different directory) and then downloading one again and see if that map can be selected?

                1 Reply Last reply Reply Quote 0
                • LaFayette
                  LaFayette Admin last edited by

                  @Schulz , @Trevan , this update should help: https://github.com/triplea-game/triplea/pull/8031

                  It looks like a map is dying in an unexpected way during parse and that is killing the whole game. Deleting all maps should be a very blunt force way of fixing that. If you download the very latest @Schulz , you should get an error message telling which XML is generating a problem and then you should be able to continue to select a different map. As-is, the validation during parse is going uncaught and I would imagine is killing the whole client.

                  DanVanAtta created this issue in triplea-game/triplea

                  closed Catch any exception when a map fails to load #8031

                  1 Reply Last reply Reply Quote 0
                  • Schulz
                    Schulz last edited by

                    Even temporarily removing maps from "downloadedMaps" folder didn't help. Its all the same error message. I've downloaded most of maps from repository. I have never experiences similar thing before.

                    1 Reply Last reply Reply Quote 0
                    • LaFayette
                      LaFayette Admin last edited by

                      @Schulz , would you mind installing the very latest and see if you get any different behavior: https://github.com/triplea-game/triplea/releases/tag/2.5.22237

                      1 Reply Last reply Reply Quote 0
                      • Schulz
                        Schulz last edited by

                        The same issue is still present unfortunately.

                        1 Reply Last reply Reply Quote 0
                        • LaFayette
                          LaFayette Admin last edited by LaFayette

                          @Schulz , kindly click the 'report to triplea' when you hit the error. That will give us more error information and hopefully something further to work on.

                          1 Reply Last reply Reply Quote 0
                          • Schulz
                            Schulz last edited by

                            https://github.com/triplea-game/triplea/issues/8047

                            tripleabuilderbot created this issue in triplea-game/triplea

                            closed 2.5.22237: GameChooser#buildGameNotesText:202 - java.lang.NullPointerException #8047

                            1 Reply Last reply Reply Quote 0
                            • LaFayette
                              LaFayette Admin last edited by

                              Thanks @Schulz , it's a slightly different error there.

                              Please give: https://github.com/triplea-game/triplea/releases/tag/2.5.22257 a try.

                              1 Reply Last reply Reply Quote 0
                              • Schulz
                                Schulz last edited by

                                error.png

                                Now, "select map" works fine but all maps are shown with this same error message. Not possible to open them.

                                Load games are still work.

                                1 Reply Last reply Reply Quote 0
                                • LaFayette
                                  LaFayette Admin last edited by

                                  Does the reported file path exist?

                                  If you open the console @Schulz , is there more information? The console is available from 'settings > game', toggle the option of 'show console' to yes and then restart. Specifically i'm curious if the console has further information on game launch.

                                  1 Reply Last reply Reply Quote 0
                                  • Schulz
                                    Schulz last edited by

                                    https://github.com/triplea-game/triplea/issues/8051
                                    error2.png

                                    1 Reply Last reply Reply Quote 0
                                    • LaFayette
                                      LaFayette Admin last edited by

                                      @Schulz would you mind also checking the console? I'm really wondering if there is a preceding error we're not seeing.

                                      1 Reply Last reply Reply Quote 0
                                      • Schulz
                                        Schulz last edited by

                                        How do I do that?

                                        1 Reply Last reply Reply Quote 0
                                        • LaFayette
                                          LaFayette Admin last edited by

                                          Ah, I'm not sure where my original comment went about the console.

                                          In engine settings > game > show console = yes

                                          Then restart the game. I'm most curious if there are any interesting error messages there on startup.

                                          1 Reply Last reply Reply Quote 0
                                          • Schulz
                                            Schulz last edited by

                                            error3.png

                                            F 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums