java.lang.NullPointerException

freecol | dosya | 2 years ago
  1. 0

    NullPointerException reading saved game

    freecol | 2 years ago | dosya
    java.lang.NullPointerException
  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at net.sf.freecol.common.model.Unit.getCargoCapacity()
    2. net.sf.freecol
      ConnectController$1.run
      1. net.sf.freecol.common.model.Unit.getCargoCapacity(Unit.java:2094)
      2. net.sf.freecol.server.ai.mission.TransportMission.tSpace(TransportMission.java:637)
      3. net.sf.freecol.server.ai.mission.TransportMission.tAdd(TransportMission.java:611)
      4. net.sf.freecol.server.ai.mission.TransportMission.readChild(TransportMission.java:1848)
      5. net.sf.freecol.common.model.FreeColObject.readChildren(FreeColObject.java:909)
      6. net.sf.freecol.server.ai.mission.TransportMission.readChildren(TransportMission.java:1808)
      7. net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:521)
      8. net.sf.freecol.server.ai.AIObject.readFromXML(AIObject.java:225)
      9. net.sf.freecol.server.ai.mission.TransportMission.<init>(TransportMission.java:437)
      10. net.sf.freecol.server.ai.AIUnit.readChild(AIUnit.java:756)
      11. net.sf.freecol.common.model.FreeColObject.readChildren(FreeColObject.java:909)
      12. net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:521)
      13. net.sf.freecol.server.ai.AIObject.readFromXML(AIObject.java:225)
      14. net.sf.freecol.server.ai.AIMain.readChildren(AIMain.java:499)
      15. net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:521)
      16. net.sf.freecol.server.ai.AIMain.<init>(AIMain.java:110)
      17. net.sf.freecol.server.FreeColServer.readGame(FreeColServer.java:1022)
      18. net.sf.freecol.server.FreeColServer.loadGame(FreeColServer.java:1055)
      19. net.sf.freecol.server.FreeColServer.<init>(FreeColServer.java:367)
      20. net.sf.freecol.server.FreeColServer.<init>(FreeColServer.java:330)
      21. net.sf.freecol.client.control.ConnectController$1.run(ConnectController.java:458)
      21 frames