Navigation

    TripleA Logo

    TripleA Forum

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

    Errors

    Player Help
    errors
    4
    7
    567
    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.
    • J
      joshprogrammer last edited by joshprogrammer

      Hello. I've been playing TripleA for several months now and really enjoy it. I've never had problems on my MX linux machine with the game before, but for some reason when I download the game .sh file from the website and install it, then go to open the game in my menu, it just sits there doing nothing while the TripleA logo is on my screen. I did a little investigation by going to my /opt/TripleA folder and opening in terminal, then typing ./TripleA to run the file directly from the terminal. That's when this error came up:

      java.lang.ClassNotFoundException: org.triplea.game.client.HeadedGameRunner
      	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
      	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
      	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
      	at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:80)
      	at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:66)
      	at install4j.org.triplea.game.client.HeadedGameRunner.main(Unknown Source)
      Uncaught error fetching image:
      java.lang.NullPointerException: Cannot invoke "java.net.URL.openConnection()" because "this.url" is null
      	at java.desktop/sun.awt.image.URLImageSource.getConnection(URLImageSource.java:103)
      	at java.desktop/sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:113)
      	at java.desktop/sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:264)
      	at java.desktop/sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:212)
      	at java.desktop/sun.awt.image.ImageFetcher.run(ImageFetcher.java:176)
      

      I have a little programming experience but none with Java, so I'm practically clueless.
      Any help is appreciated! Thanks in advance.

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

        Hi @joshprogrammer

        Welcome to the site !

        What version are you on ? I think a recent fix may have had this happen to me as well but then was fixed quickly by @Myrd . Idk tho. Could be something different.

        I'm on linux running ubuntu and it works for me. 2.6+14586

        You may want to file a bug report at git.

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

        M 1 Reply Last reply Reply Quote 1
        • M
          Myrd @beelee last edited by

          What version of Java do you have installed?

          I think someone else reported that for some reason the Linux TripleA version may not be running with a bundled java, like it does on other platforms, but with whatever you have on your system, which can have problems if there's a mismatch.

          What does java -version say on the command line? And what version of TripleA?

          Also, if you download the triplea-game-headed.zip version and run java -jar <path to .jar file in the bin folder of the zip>, does that run into the same problem?

          J 1 Reply Last reply Reply Quote 0
          • J
            joshprogrammer @Myrd last edited by

            @myrd I cannot access the 2.6 version download - both the download version and the latest source code release are for version 2.5.22294. Where can I find a download for a newer version? And I did check, my computer is running Java 17.09.

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

              @joshprogrammer yea i think you need java 21. Here's prerelease https://github.com/triplea-game/triplea/releases/

              there was a thread not too long ago about this i think. I'll see if i can find it

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

                @joshprogrammer

                https://forums.triplea-game.org/topic/3675/failure-to-launch/10?_=1702080437139

                Edit

                so java 19 it looks like. I think those guys were having trouble with 21. Idk. You'd have to read the whole thread.

                J 1 Reply Last reply Reply Quote 1
                • J
                  joshprogrammer @beelee last edited by

                  @beelee Thanks so much for the link! I downloaded the .sh file and installed it to my system. Version 2.6 runs fine! It came up with an error when I clicked on the button to download maps, but this isn't a big deal since I can download them manually - at least the game is playable now. If that more issues turn up I can report them.
                  Anyway, thanks so much for your help!

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