Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via freecol by dosya
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at net.sf.freecol.common.model.Unit.getCargoCapacity(Unit.java:2094)	at net.sf.freecol.server.ai.mission.TransportMission.tSpace(TransportMission.java:637)	at net.sf.freecol.server.ai.mission.TransportMission.tAdd(TransportMission.java:611)	at net.sf.freecol.server.ai.mission.TransportMission.readChild(TransportMission.java:1848)	at net.sf.freecol.common.model.FreeColObject.readChildren(FreeColObject.java:909)	at net.sf.freecol.server.ai.mission.TransportMission.readChildren(TransportMission.java:1808)	at net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:521)	at net.sf.freecol.server.ai.AIObject.readFromXML(AIObject.java:225)	at net.sf.freecol.server.ai.mission.TransportMission.(TransportMission.java:437)	at net.sf.freecol.server.ai.AIUnit.readChild(AIUnit.java:756)	at net.sf.freecol.common.model.FreeColObject.readChildren(FreeColObject.java:909)	at net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:521)	at net.sf.freecol.server.ai.AIObject.readFromXML(AIObject.java:225)	at net.sf.freecol.server.ai.AIMain.readChildren(AIMain.java:499)	at net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:521)	at net.sf.freecol.server.ai.AIMain.(AIMain.java:110)	at net.sf.freecol.server.FreeColServer.readGame(FreeColServer.java:1022)	at net.sf.freecol.server.FreeColServer.loadGame(FreeColServer.java:1055)	at net.sf.freecol.server.FreeColServer.(FreeColServer.java:367)	at net.sf.freecol.server.FreeColServer.(FreeColServer.java:330)	at net.sf.freecol.client.control.ConnectController$1.run(ConnectController.java:458)