agent Nefarious didn't place all of his armies. what a bozo.
- Preacherman
- Semiholy Priest
- Posts: 4496
- Joined: Tue Feb 24, 2004 3:52 am
- Location: Sweden (capital of Denmark, an island in Norway, southern Europe)
- Contact:
agent Nefarious didn't place all of his armies. what a bozo.
There was an error in Nefarious@167ad1's placeArmies():
java.lang.ArrayIndexOutOfBoundsException: 168
at Nefarious.placeArmiesToKillPlayer(Nefarious.java:172)
at Nefarious.placeArmies(Nefarious.java:86)
at LuxWorld.currentComputerPlayersPlacePhase(LuxWorld.java:924)
at LuxWorld.takeCurrentComputerPlayersTurn(LuxWorld.java:851)
at LuxWorld.takeTurnsLoop(LuxWorld.java:807)
at LuxWorld.run(LuxWorld.java:2026)
at java.lang.Thread.run(Thread.java:554)
<LuxWorld@57c885: master=true, killed=false, controls=Preacherman, currentPlayer=3, gamePhase=3, turnPhase=1>: agent Nefarious didn't place all of his armies. what a bozo.
Any idea what might cause this Dustin? In the few cases I have seen it happen, she doesn't place any at all...anything related to the infamous "no armies" bug us mortals experience?
java.lang.ArrayIndexOutOfBoundsException: 168
at Nefarious.placeArmiesToKillPlayer(Nefarious.java:172)
at Nefarious.placeArmies(Nefarious.java:86)
at LuxWorld.currentComputerPlayersPlacePhase(LuxWorld.java:924)
at LuxWorld.takeCurrentComputerPlayersTurn(LuxWorld.java:851)
at LuxWorld.takeTurnsLoop(LuxWorld.java:807)
at LuxWorld.run(LuxWorld.java:2026)
at java.lang.Thread.run(Thread.java:554)
<LuxWorld@57c885: master=true, killed=false, controls=Preacherman, currentPlayer=3, gamePhase=3, turnPhase=1>: agent Nefarious didn't place all of his armies. what a bozo.
Any idea what might cause this Dustin? In the few cases I have seen it happen, she doesn't place any at all...anything related to the infamous "no armies" bug us mortals experience?
If you look at the top of the stack trace you see this:
java.lang.ArrayIndexOutOfBoundsException: 168
at Nefarious.placeArmiesToKillPlayer(Nefarious.java:172)
The ArrayIndexOutOfBoundsException means that you tried to access an array element that didn't exist. The next line says that it happened at line 172 of the Nefarious.java file. So I would go and look at line 172 and see what array is being accessed there.
java.lang.ArrayIndexOutOfBoundsException: 168
at Nefarious.placeArmiesToKillPlayer(Nefarious.java:172)
The ArrayIndexOutOfBoundsException means that you tried to access an array element that didn't exist. The next line says that it happened at line 172 of the Nefarious.java file. So I would go and look at line 172 and see what array is being accessed there.
- Preacherman
- Semiholy Priest
- Posts: 4496
- Joined: Tue Feb 24, 2004 3:52 am
- Location: Sweden (capital of Denmark, an island in Norway, southern Europe)
- Contact:
Who is online
Users browsing this forum: No registered users and 184 guests