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

java.lang.ArrayIndexOutOfBoundsException: -1 at net.sf.freecol.common.model.GoodsContainer.getGoodsCount(GoodsContainer.java:229) at net.sf.freecol.common.model.IndianSettlement.newTurn(IndianSettlement.java:1035) at net.sf.freecol.common.model.Player.newTurn(Player.java:2357) at net.sf.freecol.common.model.Game.newTurn(Game.java:783) at net.sf.freecol.server.control.InGameController.nextPlayer(InGameController.java:131) at net.sf.freecol.server.control.InGameController.endTurn(InGameController.java:108) at net.sf.freecol.server.control.InGameInputHandler.endTurn(InGameInputHandler.java:2345) at net.sf.freecol.server.control.InGameInputHandler.access$3400(InGameInputHandler.java:70) at net.sf.freecol.server.control.InGameInputHandler$35.handle(InGameInputHandler.java:288) at net.sf.freecol.server.control.InputHandler$CurrentPlayerNetworkRequestHandler.handle(InputHandler.java:191) at net.sf.freecol.server.control.InputHandler.handle(InputHandler.java:101) at net.sf.freecol.server.networking.DummyConnection.send(DummyConnection.java:83) at net.sf.freecol.server.ai.AIInGameInputHandler$1.run(AIInGameInputHandler.java:206)