java.lang.IllegalArgumentException: Replacing FreeColGameObject: class net.sf.freecol.common.model.UnitContainer with class net.sf.freecol.common.model.UnitContainer

freecol | ludvik_tesar | 9 years ago
  1. 0

    Cherokee AI gets stuck in infinite loop

    freecol | 9 years ago | ludvik_tesar
    java.lang.IllegalArgumentException: Replacing FreeColGameObject: class net.sf.freecol.common.model.UnitContainer with class net.sf.freecol.common.model.UnitContainer
  2. 0
    Probably you try to create an actor using actorSystem.actorOf(Props(classOf[AnyActor], args...)) where args does not match AnyActor constructor parameters.
  3. 0
    Properties of subclasses may have to be referenced in a different way. More on this here: https://goo.gl/FvnBXb
    via goo.gl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    URI part of the request contains invalid characters. You may try to encode the path from the URI. Check RFC7230 and RFC3986 documentation below. https://www.ietf.org/rfc/rfc3986.txt and https://tools.ietf.org/html/rfc7230
  6. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Replacing FreeColGameObject: class net.sf.freecol.common.model.UnitContainer with class net.sf.freecol.common.model.UnitContainer

      at net.sf.freecol.common.model.Game.setFreeColGameObject()
    2. net.sf.freecol
      AIInGameInputHandler$1.run
      1. net.sf.freecol.common.model.Game.setFreeColGameObject(Game.java:366)
      2. net.sf.freecol.common.model.FreeColGameObject.setId(FreeColGameObject.java:508)
      3. net.sf.freecol.common.model.FreeColGameObject.<init>(FreeColGameObject.java:80)
      4. net.sf.freecol.common.model.UnitContainer.<init>(UnitContainer.java:61)
      5. net.sf.freecol.common.model.Tile.toXMLImpl(Tile.java:1690)
      6. net.sf.freecol.common.model.FreeColGameObject.toXML(FreeColGameObject.java:438)
      7. net.sf.freecol.common.model.FreeColGameObject.toXMLElement(FreeColGameObject.java:309)
      8. net.sf.freecol.common.model.FreeColGameObject.toXMLElement(FreeColGameObject.java:280)
      9. net.sf.freecol.server.control.InGameInputHandler.move(InGameInputHandler.java:937)
      10. net.sf.freecol.server.control.InGameInputHandler.access$400(InGameInputHandler.java:70)
      11. net.sf.freecol.server.control.InGameInputHandler$5.handle(InGameInputHandler.java:108)
      12. net.sf.freecol.server.control.InputHandler$CurrentPlayerNetworkRequestHandler.handle(InputHandler.java:191)
      13. net.sf.freecol.server.control.InputHandler.handle(InputHandler.java:101)
      14. net.sf.freecol.server.networking.DummyConnection.ask(DummyConnection.java:100)
      15. net.sf.freecol.server.ai.mission.UnitWanderHostileMission.doMission(UnitWanderHostileMission.java:149)
      16. net.sf.freecol.server.ai.AIUnit.doMission(AIUnit.java:320)
      17. net.sf.freecol.server.ai.AIPlayer.doMissions(AIPlayer.java:1271)
      18. net.sf.freecol.server.ai.AIPlayer.startWorking(AIPlayer.java:211)
      19. net.sf.freecol.server.ai.AIInGameInputHandler$1.run(AIInGameInputHandler.java:201)
      19 frames