Jump to content
Age of History 3
  • 0
Gamer Jole

MapEditor_2 cant open.

Question

Hello,

I tried to make my own custom map but as I opened the MapEditor_2 Executable Jar File, it just wouldn't open or would make an error message (I linked the 2 also 1 is in German). I will list the following things I tried:

  • Deleting the file and copying one from the example folder
  • downloading jarfix (it just gets rid of the error message)
  • downloading JDK Development Kit 23.0.1 (it just gets rid of the error message)
  • trying to open it with javaw
  • updating java
  • deinstalling and reinstalling java
  • done lots of stuff with cdm command 
  • restarting my pc

I did eventually ask ChatGPT to help and it found out what was wrong, I will send what ChatGPT sent:

"Analysis:

  1. NullPointerException: This indicates that a null value is being accessed where an object is expected. Specifically:

    • The java.util.List.get(int) method is returning null.
    • The returned null is being used to call getWidth() on an Image object.
  2. Context in Code:

    • The issue occurs in the GamePanel class, specifically at line 395 in its constructor.
    • The problem propagates from the GamePanel initialization to the main class's init method at line 8 and its main method at line 13."

 

I also have the same layout of the folders like Lukasz in his video on custom maps (I also copied the example custom map folder). I can't fix this issue on my own so I'm asking for anyone to help me with this.

image.png

image.png

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
39 minutes ago, Łukasz Jakowski said:

You need to uninstall your current version of Java, then download the latest version and install it.

Hello Lukasz,

I tried uninstalling my current version of Java and downloading and installing the latest but it still isn't working, it still gives me the 2 error messages. Do you have any more tips?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Age of History 3 - October 23rd, 2024 - Official release date
      Age of History 3 - Official release date

       

      Steam: October 23rd, 2024

      Android: When it's ready

      iOS: When it's ready

      Epic: When it's ready

       
    • Campaign: Small Scenarios
      In this topic, share your ideas for Campaign scenarios.

      These scenarios focus on a small part of the map, with the rest designated as wasteland.

       

      For example, a scenario of the Reconquista in 1054, where gameplay takes place only on the Iberian Peninsula.

      What are your ideas for small historical scenarios?

       


       
    • Events - Common events for every civilization in the game
      Hi,
      in this topic, I am interested in your ideas for events that can happen for every Civilization in the game.
      I'm also interested in Missions for every Civilization.

      Here is some example, have more than 10k army, have more than 5000 gold, build 10 buildings, recruit an Advisor, increase tax efficiency 20 times, be largest  producer of some resource in the world, unlock 5 Civilization legacies etc.
      • 196 replies
    • First preview of the Alpha version of Age of History 3
      First preview of the Alpha version of Age of History 3, YouTube.
      Release date: When it's ready 😛 Subscribe for more!



       





       
    • Land units - Ideas AoH3
      AoH3 will have different types of land units.

      In this topic we will write ideas for new land units. 

       

      So the AoH 3 will have new battle system.


      Representation of the battlefield in the game.


      Land units will be grouped into 3 types. Each unit will have a different recruitment cost, attack, defense, movement speed and upkeep.

      Groups determine the placement of units on the battlefield.


       

      Each unit can be unlocked by researching technology and then upgraded.

       

      Here is the current list of units with upgrades:

      First line:

      Warrior -> Light Footmen -> Heavy Infantry -> Infantry -> Line Infantry -> Modern Infantry

      Hoplites -> Spearmen -> Pikeman -> Elite Pikeman -> Musketeer -> Riflemen -> Mechanized Infantry -> Modern Mechanized Infantry

      First line side:

      Horseman -> Elite Horseman -> Cavalry -> Tank -> Modern Tank

      Second line:

      Archer -> Bowmen -> Crossbowman -> Elite Crossbowman

      Canon -> Field Cannon -> Artillery -> Modern Artillery

      Early Airplane -> Airplane -> Modern Airplane

       

      This is a very early version, so maybe something should be changed?

      Or maybe an idea for a new type of unit with upgrades? I'm waiting for your suggestions.

       
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games