java.lang.reflect.InvocationTargetException

freecol | *anonymous | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    "An error occurred while trying to load the game"

    freecol | 6 years ago | *anonymous
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Undefined FreeColGameObjectType with ID 'model.resource.fish'.

      at net.sf.freecol.common.Specification.getType()
    2. net.sf.freecol
      Tile.<init>
      1. net.sf.freecol.common.Specification.getType(Specification.java:586)
      2. net.sf.freecol.common.Specification.getResourceType(Specification.java:847)
      3. net.sf.freecol.common.model.Resource.readFromXMLImpl(Resource.java:238)
      4. net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:344)
      5. net.sf.freecol.common.model.FreeColGameObject.readFromXML(FreeColGameObject.java:291)
      6. net.sf.freecol.common.model.Resource.<init>(Resource.java:63)
      7. net.sf.freecol.common.model.TileItemContainer.readFromXMLImpl(TileItemContainer.java:600)
      8. net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:344)
      9. net.sf.freecol.common.model.FreeColGameObject.readFromXML(FreeColGameObject.java:291)
      10. net.sf.freecol.common.model.TileItemContainer.<init>(TileItemContainer.java:126)
      11. net.sf.freecol.common.model.Tile.readFromXMLImpl(Tile.java:1798)
      12. net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:344)
      13. net.sf.freecol.common.model.FreeColGameObject.readFromXML(FreeColGameObject.java:291)
      14. net.sf.freecol.common.model.Tile.<init>(Tile.java:156)
      14 frames