Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#978 java.lang.IllegalStateException: Not all units present in:60

open
nobody
5
2012-08-03
2012-08-03
Anonymous
No

After the Japaneses Navy attacked a lone British, indefensible Transport that had just snuck in and dropped off a troop to take ove over Japan, the following error occurred. The Transport by default was lost in the battle; however somewhere this wasn't registered. The game continued.

triplea.engine.version.bin:1.6.1.1
java.lang.IllegalStateException: Not all units present in:60 Sea Zone. Trying to remove:[transport owned by British] present:[battleship owned by Japanese, carrier owned by Japanese]
at games.strategy.engine.data.RemoveUnits.perform(ChangeFactory.java:573)
at games.strategy.engine.data.ChangePerformer.perform(ChangePerformer.java:57)
at games.strategy.engine.history.History.changeAdded(History.java:164)
at games.strategy.engine.history.HistoryWriter.addChange(HistoryWriter.java:237)
at games.strategy.engine.framework.HistorySynchronizer$1$1.run(HistorySynchronizer.java:69)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
WARNING [Triplea start thread] UnifiedMessenger->Not all units present in:60 Sea Zone. Trying to remove:[transport owned by British] present:[battleship owned by Japanese, carrier owned by Japanese]
java.lang.IllegalStateException: Not all units present in:60 Sea Zone. Trying to remove:[transport owned by British] present:[battleship owned by Japanese, carrier owned by Japanese]
at games.strategy.engine.data.RemoveUnits.perform(ChangeFactory.java:573)
at games.strategy.engine.data.ChangePerformer.perform(ChangePerformer.java:57)
at games.strategy.engine.framework.ServerGame$2.gameDataChanged(ServerGame.java:128)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at games.strategy.engine.message.EndPoint.invokeSingle(UnifiedMessenger.java:631)
at games.strategy.engine.message.EndPoint.invokeMultiple(UnifiedMessenger.java:601)
at games.strategy.engine.message.EndPoint.invokeLocal(UnifiedMessenger.java:579)
at games.strategy.engine.message.UnifiedMessenger.invoke(UnifiedMessenger.java:191)
at games.strategy.engine.message.UnifiedInvocationHandler.invoke(UnifiedInvocationHandler.java:65)
at $Proxy15.gameDataChanged(Unknown Source)
at games.strategy.engine.framework.ServerGame.addChange(ServerGame.java:656)
at games.strategy.engine.delegate.DefaultDelegateBridge.addChange(DefaultDelegateBridge.java:106)
at games.strategy.triplea.delegate.TripleADelegateBridge.addChange(TripleADelegateBridge.java:89)
at games.strategy.triplea.delegate.MustFightBattle.remove(MustFightBattle.java:2444)
at games.strategy.triplea.delegate.MustFightBattle.clearWaitingToDie(MustFightBattle.java:2487)
at games.strategy.triplea.delegate.MustFightBattle.access$600(MustFightBattle.java:73)
at games.strategy.triplea.delegate.MustFightBattle$7.execute(MustFightBattle.java:809)
at games.strategy.triplea.delegate.ExecutionStack.execute(ExecutionStack.java:51)
at games.strategy.triplea.delegate.MustFightBattle.fight(MustFightBattle.java:397)
at games.strategy.triplea.delegate.BattleDelegate.fightBattle(BattleDelegate.java:225)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at games.strategy.engine.delegate.DelegateExecutionManager$2.invoke(DelegateExecutionManager.java:156)
at $Proxy11.fightBattle(Unknown Source)
at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at games.strategy.engine.message.EndPoint.invokeSingle(UnifiedMessenger.java:631)
at games.strategy.engine.message.EndPoint.invokeMultiple(UnifiedMessenger.java:601)
at games.strategy.engine.message.EndPoint.invokeLocal(UnifiedMessenger.java:579)
at games.strategy.engine.message.UnifiedMessenger.invokeAndWait(UnifiedMessenger.java:126)
at games.strategy.engine.message.UnifiedInvocationHandler.invoke(UnifiedInvocationHandler.java:70)
at $Proxy11.fightBattle(Unknown Source)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at games.strategy.engine.gamePlayer.GameOverInvocationHandler.invoke(DefaultPlayerBridge.java:168)
at $Proxy11.fightBattle(Unknown Source)
at games.strategy.triplea.ai.strongAI.StrongAI.battle(StrongAI.java:926)
at games.strategy.triplea.ai.AbstractAI.start(AbstractAI.java:317)
at games.strategy.engine.framework.ServerGame.waitForPlayerToFinishStep(ServerGame.java:584)
at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:470)
at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:291)
at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:99)
at games.strategy.engine.framework.startup.launcher.AbstractLauncher$1.run(AbstractLauncher.java:46)
at java.lang.Thread.run(Unknown Source)

Discussion

  • Chris Duncan
    Chris Duncan
    2012-08-03

    Was the AI playing as any of the players?
    What map were you playing, and can you upload a game save?
    I have never seen this error against human opponents, but I have seen it when the game is 100% AIs. Were there any humans in this game?