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

Samebug tips

  1. ,
    Expert tip

    Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

  2. ,

    Thrown if trying to access an index which is out of bounds on objects like String, Array, or Vector. Any negative integer less than or equal to -1 and positive integer greater than or equal to the size of the object is an index which would be out of bounds

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.remove(Unknown Source) at net.sf.freecol.common.model.BuildQueue.remove(BuildQueue.java:127) at net.sf.freecol.server.model.ServerColony.csNewTurn(ServerColony.java:315) at net.sf.freecol.server.model.ServerPlayer.csNewTurn(ServerPlayer.java:1390) at net.sf.freecol.server.model.ServerGame.csNewTurn(ServerGame.java:316) at net.sf.freecol.server.control.InGameController.endTurn(InGameController.java:570) at net.sf.freecol.server.control.InGameInputHandler$24.handle(InGameInputHandler.java:314) at net.sf.freecol.common.networking.CurrentPlayerNetworkRequestHandler.handle(CurrentPlayerNetworkRequestHandler.java:75) at net.sf.freecol.server.control.InputHandler.handle(InputHandler.java:120) at net.sf.freecol.server.networking.DummyConnection.ask(DummyConnection.java:137) at net.sf.freecol.server.ai.AIMessage.ask(AIMessage.java:103) at net.sf.freecol.server.ai.AIMessage.askHandling(AIMessage.java:141) at net.sf.freecol.server.ai.AIMessage.sendMessage(AIMessage.java:208) at net.sf.freecol.server.ai.AIMessage.sendTrivial(AIMessage.java:237) at net.sf.freecol.server.ai.AIMessage.askEndTurn(AIMessage.java:464) at net.sf.freecol.server.ai.AIInGameInputHandler$2.run(AIInGameInputHandler.java:456)