TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Java Error

    Scheduled Pinned Locked Moved Bug Reports
    17 Posts 6 Posters 5.3k Views 6 Watching
    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.
    • RoiEXR Offline
      RoiEX Admin
      last edited by

      Hi,
      Unfortunately TripleA is currently incompatible with any java version greater than 8 because of a JDK Bug (and some minor issues we could easily fix, but are currently not important because the game won't work anyways).
      Using the Linux installer should install a java 8 version automatically so that's probably the easiest option.
      However the error log indicates that this is not a java version related issue. Instead this error tells us that your Internet connection is not secure: There are several reasons foe this to happen.

      1. AV (or similar monitoring-) software watches the connection and therefore has to break the encryption which makes TripleA refuse to connect
      2. Your Internet connection is behind a proxy. This might be a corporate proxy at work, or a local proxy for anonymity or something.
      3. Your Java version is outdated (probably not the case for you) and therefore it doesn't know what certificates to trust.

      So if switching to java 8 doesn't already do the trick I'll try to find a link of threads where other people had the same problems too.

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

        And btw. You can format code blocks using markdown I.e. In triple backticks.
        Not inside <quote> tags

        1 Reply Last reply Reply Quote 0
        • ArcticFoxA Offline
          ArcticFox
          last edited by

          Thanks for the game and posting help!

          I set Oracle 8 as default and that seems to help. I no longer get the long string of errors. I just get this:

          TripleA engine version 1.9.0.0.9687
          Warning!! 1 system checks failed. Some game features may not be available or may not work correctly.
          Can connect to github.com (check network connection): false
          Can create temporary files (check disk usage, file permissions): true
          

          I do not have any av running on this system that I am aware of.

          I checked for a proxy using https://whatismyipaddress.com/proxy-check and it did not detect a proxy. Once I get home I will test this again where I know my system.

          1 Reply Last reply Reply Quote 0
          • ArcticFoxA Offline
            ArcticFox
            last edited by

            Okay, I finally had a chance to test this out at home and still no luck with the game connecting to anything online. I can manually download maps and play them solo no problem so it's not the biggest issue but this will keep bugging me till I can get it figured out. Could it simply be some incompatibility between Linux Mint 19 Mate and Triple A? It almost seems like the OS is telling the game that there is no internet connection.

            This is still the error message when I start the program:

            TripleA engine version 1.9.0.0.9687
            Warning!! 1 system checks failed. Some game features may not be available or may not work correctly.
            Can connect to github.com (check network connection): false
            Can create temporary files (check disk usage, file permissions): true
            
            redrumR 1 Reply Last reply Reply Quote 0
            • redrumR Offline
              redrum Admin @ArcticFox
              last edited by

              @arcticfox Yeah, generally that means TripleA doesn't think it can access the internet (specifically github where the map listing is hosted). Usually means you have internet/firewall issues. I'd make sure any firewalls are turned off to see if that resolves it.

              TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

              1 Reply Last reply Reply Quote 0
              • ArcticFoxA Offline
                ArcticFox
                last edited by ArcticFox

                Unfortunately I have all software and hardware firewalls disabled and still get the same problem. I am also not using any proxies.

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Angelo Giordano
                  last edited by

                  Same problem for me: fresh install of Mint 19, of course no proxy, no antivirus, no firewall and perfect web access.
                  I can do a wget from https://github.com/triplea-maps and i have only oracle java 8 installed. Thanks

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

                    I dug a little bit deeper into this and this seems to be a java installation related issue.
                    Try running update-ca-certificates -f in the terminal and see if that helps.

                    1 Reply Last reply Reply Quote 2
                    • A Offline
                      Angelo Giordano
                      last edited by

                      Thank You very much,

                      update-ca-certificates -f

                      solved the issue for me.

                      1 Reply Last reply Reply Quote 1
                      • P Offline
                        papersun
                        last edited by

                        Can confirm there is an issue with the new Linux Mint 19
                        Have installed on clean install on Mint 19 - installs but won't run!
                        Have verified (Mint 19) being the problem by installing same versions on TripleA and Java(8)
                        on Mint 18 and all is well.

                        Running "update-ca-certificates -f" does not fix for me.

                        Here is my TripleA error log
                        TripleA engine version 1.9.0.0.9687
                        Failed while attempting to check for a new Version
                        javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
                        at java.base/sun.security.ssl.Alerts.getSSLException(Alerts.java:214)
                        at java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1974)
                        at java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1926)
                        at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1909)
                        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1436)
                        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
                        at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
                        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
                        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1581)
                        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
                        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245)
                        at java.base/java.net.URL.openStream(URL.java:1117)
                        at games.strategy.engine.auto.update.EngineVersionProperties.getProperties(EngineVersionProperties.java:76)
                        at games.strategy.engine.auto.update.EngineVersionProperties.<init>(EngineVersionProperties.java:34)
                        at games.strategy.engine.auto.update.EngineVersionProperties.lambda$contactServerForEngineVersionProperties$0(EngineVersionProperties.java:52)
                        at java.base/java.lang.Thread.run(Thread.java:844)
                        Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
                        at java.base/sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:89)
                        at java.base/sun.security.validator.Validator.getInstance(Validator.java:181)
                        at java.base/sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:330)
                        at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:180)
                        at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:192)
                        at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:133)
                        at java.base/sun.security.ssl.ClientHandshaker.checkServerCerts(ClientHandshaker.java:1947)
                        at java.base/sun.security.ssl.ClientHandshaker.certificateStatus(ClientHandshaker.java:1798)
                        at java.base/sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:276)
                        at java.base/sun.security.ssl.Handshaker.processLoop(Handshaker.java:1098)
                        at java.base/sun.security.ssl.Handshaker.processRecord(Handshaker.java:1026)
                        at java.base/sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137)
                        at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074)
                        at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
                        at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
                        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429)
                        ... 11 more
                        Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
                        at java.base/java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200)
                        at java.base/java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)
                        at java.base/java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104)
                        at java.base/sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:86)
                        ... 26 more
                        Warning!! 1 system checks failed. Some game features may not be available or may not work correctly.
                        Can connect to github.com (check network connection): false
                        Can create temporary files (check disk usage, file permissions): true

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

                          @papersun Looks like your issue is slightly different and related to Ubuntu 18.04 (which Linux mint 19 is based on)
                          Try the answers suggested here and see if that works for you.

                          1 Reply Last reply Reply Quote 3
                          • P Offline
                            papersun
                            last edited by

                            Thanks RoiEX, that fixed it!

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              papersun
                              last edited by

                              So it looks like I spoke too soon.
                              Game now runs but lots of errors on the 2 or 3 maps I tried

                              TripleA engine version 1.9.0.0.9687
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Loading map: world_war_ii_classic, from: /home/linux/triplea/downloadedMaps/world_war_ii_classic-master.zip
                              Loading resources from the following paths: [/home/linux/triplea/downloadedMaps/world_war_ii_classic-master.zip, /usr/local/TripleA/assets]
                              Loading map: world_war_ii_classic, from: /home/linux/triplea/downloadedMaps/world_war_ii_classic-master.zip
                              Loading resources from the following paths: [/home/linux/triplea/downloadedMaps/world_war_ii_classic-master.zip, /usr/local/TripleA/assets]
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Warning: serialization de-serialization error, m_name in DefaultNamed.java is null.
                              Current battle exists but is not on pending list: Battle in:China battle type:Battle defender:Americans attacked by:Japanese from:[Manchuria, Kwangtung] attacking with: [fighter owned by Japanese]
                              Error: Trying to add info to battle records that do not exist
                              java.lang.IllegalStateException: Trying to add info to battle records that do not exist
                              at games.strategy.triplea.delegate.dataObjects.BattleRecords.addResultToBattle(BattleRecords.java:203)
                              at games.strategy.triplea.delegate.MustFightBattle.defenderWins(MustFightBattle.java:2427)
                              at games.strategy.triplea.delegate.MustFightBattle.fight(MustFightBattle.java:301)
                              at games.strategy.triplea.delegate.BattleDelegate.fightCurrentBattle(BattleDelegate.java:195)
                              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.base/java.lang.reflect.Method.invoke(Method.java:564)
                              at games.strategy.engine.delegate.DelegateExecutionManager$1.invoke(DelegateExecutionManager.java:129)
                              at com.sun.proxy.$Proxy6.fightCurrentBattle(Unknown Source)
                              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.base/java.lang.reflect.Method.invoke(Method.java:564)
                              at games.strategy.engine.message.unifiedmessenger.EndPoint.invokeSingle(EndPoint.java:157)
                              at games.strategy.engine.message.unifiedmessenger.EndPoint.invokeMultiple(EndPoint.java:140)
                              at games.strategy.engine.message.unifiedmessenger.EndPoint.invokeLocal(EndPoint.java:126)
                              at games.strategy.engine.message.unifiedmessenger.UnifiedMessenger.invokeAndWait(UnifiedMessenger.java:105)
                              at games.strategy.engine.message.UnifiedInvocationHandler.invoke(UnifiedInvocationHandler.java:52)
                              at com.sun.proxy.$Proxy6.fightCurrentBattle(Unknown Source)
                              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.base/java.lang.reflect.Method.invoke(Method.java:564)
                              at games.strategy.engine.gamePlayer.DefaultPlayerBridge$GameOverInvocationHandler.invoke(DefaultPlayerBridge.java:151)
                              at com.sun.proxy.$Proxy6.fightCurrentBattle(Unknown Source)
                              at games.strategy.triplea.TripleAPlayer.battle(TripleAPlayer.java:459)
                              at games.strategy.triplea.TripleAPlayer.start(TripleAPlayer.java:130)
                              at games.strategy.engine.framework.ServerGame.waitForPlayerToFinishStep(ServerGame.java:515)
                              at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:404)
                              at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:263)
                              at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:58)
                              at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
                              at java.base/java.lang.Thread.run(Thread.java:844)
                              at games.strategy.engine.message.UnifiedInvocationHandler.invoke(UnifiedInvocationHandler.java:64)
                              at com.sun.proxy.$Proxy6.fightCurrentBattle(Unknown Source)
                              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.base/java.lang.reflect.Method.invoke(Method.java:564)
                              at games.strategy.engine.gamePlayer.DefaultPlayerBridge$GameOverInvocationHandler.invoke(DefaultPlayerBridge.java:151)
                              at com.sun.proxy.$Proxy6.fightCurrentBattle(Unknown Source)
                              at games.strategy.triplea.TripleAPlayer.battle(TripleAPlayer.java:459)
                              at games.strategy.triplea.TripleAPlayer.start(TripleAPlayer.java:130)
                              at games.strategy.engine.framework.ServerGame.waitForPlayerToFinishStep(ServerGame.java:515)
                              at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:404)
                              at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:263)
                              at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:58)
                              at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
                              at java.base/java.lang.Thread.run(Thread.java:844)

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

                                @papersun your java version is too new, the game needs java 8 to work.
                                You might want to try a more recent version which should prevent starting triplea with an invalid java version.
                                @prastle Can you recommend a pre-release?

                                prastleP 1 Reply Last reply Reply Quote 0
                                • prastleP Offline
                                  prastle Moderators Admin @RoiEX
                                  last edited by prastle

                                  @roiex 10182 was working ok for me. Try this one. @papersun
                                  https://github.com/triplea-game/triplea/releases/tag/1.9.0.0.10182

                                  If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

                                  P 1 Reply Last reply Reply Quote 3
                                  • P Offline
                                    papersun @prastle
                                    last edited by

                                    @prastle That's working, thanks for the link.

                                    1 Reply Last reply Reply Quote 2

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    • 1 / 1
                                    • First post
                                      Last post
                                    Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums