GS Crashes with java.lang.ArrayIndexOutOfBoundsException: 7
Posted: Thu Sep 22, 2011 10:32 pm
I am running GS 2.0
It is Jan 1946, and my game is crashing after it comes back from working out it's end of turn stuff. Specifically the resources total box appears and the map appears. It looks ok, but there is no way to go back to the main menu, the mouse doesn't scroll the map, and I can't click on 'next turn'. I can still attack and move units though.
I'm the Germans and there are LOADS of units on the map, so maybe there are too many. I saw a similar error reported a few months ago, which was diagnosed as being to do with the base code. Is this the same ?
the last few lines of the dos file read :-
Tile count : (36,19)
Exception in thread 'Thread-6' java.lang.ArrayIndexOutOfBoundsException: 7
at game.Game.checkEbenEmae1(Game.java:9018)
at game.Game.gameStatusUpdates(Game.java:9953)
at game.Game.startOfTurnIntercative(Game.java:9953)
at game.Game.endTurn2(Game.java:10188)
at game.Game.run(Game.java:19494)
I can send the save game if required.
It is Jan 1946, and my game is crashing after it comes back from working out it's end of turn stuff. Specifically the resources total box appears and the map appears. It looks ok, but there is no way to go back to the main menu, the mouse doesn't scroll the map, and I can't click on 'next turn'. I can still attack and move units though.
I'm the Germans and there are LOADS of units on the map, so maybe there are too many. I saw a similar error reported a few months ago, which was diagnosed as being to do with the base code. Is this the same ?
the last few lines of the dos file read :-
Tile count : (36,19)
Exception in thread 'Thread-6' java.lang.ArrayIndexOutOfBoundsException: 7
at game.Game.checkEbenEmae1(Game.java:9018)
at game.Game.gameStatusUpdates(Game.java:9953)
at game.Game.startOfTurnIntercative(Game.java:9953)
at game.Game.endTurn2(Game.java:10188)
at game.Game.run(Game.java:19494)
I can send the save game if required.