Navigation

    TripleA Logo

    TripleA Forum

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

    Game keeps crashing

    Player Help
    3
    7
    637
    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.
    • S
      shazbot182 last edited by

      Re: Twelve Clans - Official Thread

      My game continually crashes after a few turns, usually around turn 4 but sometimes at turn 6. Here is the error I get every time:

      Comparison method violates its general contract!
      java.lang.IllegalArgumentException: Comparison method violates its general contract!

      Why does this always happen, any way to fix?

      B 1 Reply Last reply Reply Quote 1
      • C
        Cernel Moderators last edited by

        Moved to Player Help.

        https://forums.triplea-game.org/topic/1708/how-to-submit-a-bug-report

        1 Reply Last reply Reply Quote 0
        • B
          beelee @shazbot182 last edited by

          Hi @shazbot182
          What triplea are you using ? The latest stable is "2.5.22294"

          Can you post a saved game right before the error happens ? Or even better after it happens if it will let you. If not, just proceed to your normal rd 4 moves and save before it usually happens.

          S 1 Reply Last reply Reply Quote 0
          • S
            shazbot182 @beelee last edited by shazbot182

            @beelee autosaveBeforeEndTurn.tsvg

            sure here it is, it is saved during the AI turn and will crash every time the next phase is loaded. And yeah I am using the latest version.

            B 1 Reply Last reply Reply Quote 1
            • B
              beelee @shazbot182 last edited by

              @shazbot182 right on this is what I got when I hit debug

              Mar 02, 2021 9:09:02 PM org.triplea.game.client.HeadedGameRunner lambda$initializeClientSettingAndLogging$0
              SEVERE: Comparison method violates its general contract!
              java.lang.IllegalArgumentException: Comparison method violates its general contract!
              at java.base/java.util.TimSort.mergeHi(TimSort.java:903)
              at java.base/java.util.TimSort.mergeAt(TimSort.java:520)
              at java.base/java.util.TimSort.mergeCollapse(TimSort.java:448)
              at java.base/java.util.TimSort.sort(TimSort.java:245)
              at java.base/java.util.Arrays.sort(Arrays.java:1515)
              at java.base/java.util.ArrayList.sort(ArrayList.java:1750)
              at games.strategy.triplea.ai.pro.util.ProSortMoveOptionsUtils.sortUnitNeededOptionsThenAttack(ProSortMoveOptionsUtils.java:117)
              at games.strategy.triplea.ai.pro.ProCombatMoveAi.tryToAttackTerritories(ProCombatMoveAi.java:1341)
              at games.strategy.triplea.ai.pro.ProCombatMoveAi.determineTerritoriesToAttack(ProCombatMoveAi.java:335)
              at games.strategy.triplea.ai.pro.ProCombatMoveAi.doCombatMove(ProCombatMoveAi.java:95)
              at games.strategy.triplea.ai.pro.AbstractProAi.move(AbstractProAi.java:139)
              at games.strategy.triplea.ai.AbstractAi.start(AbstractAi.java:514)
              at games.strategy.engine.framework.ServerGame.waitForPlayerToFinishStep(ServerGame.java:537)
              at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:407)
              at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:297)
              at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInternal(LocalLauncher.java:82)
              at games.strategy.engine.framework.startup.launcher.LocalLauncher.lambda$launch$0(LocalLauncher.java:56)
              at java.base/java.lang.Thread.run(Thread.java:834)

              I'll post it at the git issue you made as well. Unfortunately Idk what it is but one of the smart people will : )

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

                @shazbot182 are you on windows 10 ?

                S 1 Reply Last reply Reply Quote 0
                • S
                  shazbot182 @beelee last edited by

                  @beelee yes windows 10, thanks for the help!

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