Navigation

    TripleA Logo

    TripleA Forum

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

    strange bug with the latest triple version on a new windows

    (ARCHIVED) Bug Reports
    4
    10
    850
    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.
    • G
      Gully last edited by

      Hi,

      I get a strange bug that triggers every time I try to load a game already started with the newest engine as well as older ones that were Play by Forum. It also triggers in a new game as soon as the game would reallly get going. So in the first round of Vasall rounds in TWW and before Combat move in Global 40. The bug message reads:
      Apr 01, 2019 6:50:22 PM games.strategy.engine.framework.GameRunner lambda$start$0
      SEVERE: null
      java.lang.StackOverflowError
      at java.util.zip.Deflater.deflate(Unknown Source)
      at java.util.zip.Deflater.deflate(Unknown Source)
      at java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
      at java.util.zip.DeflaterOutputStream.write(Unknown Source)
      at java.util.zip.GZIPOutputStream.write(Unknown Source)
      at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source)
      at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(Unknown Source)
      at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      at java.io.ObjectOutputStream.writeObject(Unknown Source)
      at games.strategy.engine.data.GameDataComponent.writeObject(GameDataComponent.java:36)
      And it goes on and on but it won't let me post it because it get's flagged as spam.

      1 Reply Last reply Reply Quote 0
      • G
        Gully last edited by

        Here's the error log:

        [0_1554138983433_error.log](Uploading 100%)

        1 Reply Last reply Reply Quote 0
        • G
          Gully last edited by

          And again as txt. So uploading it works:
          error.txt

          Panther 1 Reply Last reply Reply Quote 0
          • Panther
            Panther Admin Moderators @Gully last edited by

            @Gully Which Java version are you running on your newly installed windows?

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

              @Gully
              Hi, you're experiencing a very system-specific issue that we can't easily fix.
              A StackOverflowError always means that the stack ran out of space (also the reason the error message is so long, it somehow has to take up all of the space).
              I'd assume your error is happening when the game tries to create an auto-save.
              There is a workaround to this that might do the trick.
              If you go to the folder you installed TripleA to (usually C:\Program Files\TripleA on Windows) you should find a file called TripleA.vmoptions. If you open this file with a Text editor (such as Notepad on windows), you can add a line -Xss4m, save the file and check if the problem still exists.

              1 Reply Last reply Reply Quote 2
              • G
                Gully last edited by

                Thanks. That makes it go away. So what did I do by editing that file?

                redrum 1 Reply Last reply Reply Quote 0
                • RoiEX
                  RoiEX Admin last edited by

                  Well as I meantioned before this error occurs because the Stack runs out of space (hence the name StackOverflow).
                  By adding this line you increase the Stack size to 4 mb

                  1 Reply Last reply Reply Quote 1
                  • redrum
                    redrum Admin @Gully last edited by

                    @Gully Out of curiosity, can you provide a bit more detail specs on your system and OS?

                    As @RoiEX mentioned, the error occurs because for some reason your system isn't allocating enough memory for the Java stack that TripleA uses by default so it runs of out space. Adding that line to the file sets an explicit amount of memory for the Java stack.

                    1 Reply Last reply Reply Quote 0
                    • G
                      Gully last edited by

                      It's an ancient machine with singel core 3,4 GHz 4MB Ram and newly installled Windows 7

                      redrum 1 Reply Last reply Reply Quote 0
                      • redrum
                        redrum Admin @Gully last edited by

                        @Gully Ah. I'm guessing its just not cooperating well with Java given its that old.

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