Repository: triplea-game/triplea

Issue #7863: 2.2.20790: RemoveUnits#perform:44 - IllegalStateException
Created: 2020-10-08T13:56:12Z
Map
age_of_tribes
Log Message
Not all units present in:Hellas.  Trying to remove:[Rocket owned by Romanic, Rocket owned by Romanic, Rocket owned by Romanic, Rocket owned by Romanic, Rocket owned by Romanic, Rocket owned by Romanic] present:[Command-Bunker owned by Hellenic, Anti-Air owned by Hellenic, Anti-Air owned by Hellenic, Tank owned by Hattic, Truck owned by Hattic, Anti-Air owned by Hellenic, Radiation-Zone owned by Hellenic, Anti-Air owned by Hellenic, Anti-Air owned by Hellenic, Infantry owned by Hattic, Infantry owned by Hattic, Radiation-Zone owned by Hellenic, Anti-Air owned by Hellenic, Truck owned by Hellenic, Infantry owned by Hellenic, Missile-Silo owned by Hellenic, Warplane owned by Hattic, Infantry owned by Slavic, Infantry owned by Slavic, Fighter owned by Slavic, Jet-Fighter owned by Slavic, Air-Transport owned by Hellenic, Fighter owned by Romanic, Fighter owned by Romanic, Rocket owned by Romanic, Rocket owned by Romanic]
TripleA Version
2.2.20790
Java Version
11.0.6
Operating System
Mac OS X
Memory
Heap utilization statistics [MB]
Used Memory: 145
Free memory: 1902
Total memory: 2048
Max memory: 2048
Stack Trace
java.lang.IllegalStateException: Not all units present in:Hellas.  Trying to remove:[Rocket owned by Romanic, Rocket owned by Romanic, Rocket owned by Romanic, Rocket owned by Romanic, Rocket owned by Romanic, Rocket owned by Romanic] present:[Command-Bunker owned by Hellenic, Anti-Air owned by Hellenic, Anti-Air owned by Hellenic, Tank owned by Hattic, Truck owned by Hattic, Anti-Air owned by Hellenic, Radiation-Zone owned by Hellenic, Anti-Air owned by Hellenic, Anti-Air owned by Hellenic, Infantry owned by Hattic, Infantry owned by Hattic, Radiation-Zone owned by Hellenic, Anti-Air owned by Hellenic, Truck owned by Hellenic, Infantry owned by Hellenic, Missile-Silo owned by Hellenic, Warplane owned by Hattic, Infantry owned by Slavic, Infantry owned by Slavic, Fighter owned by Slavic, Jet-Fighter owned by Slavic, Air-Transport owned by Hellenic, Fighter owned by Romanic, Fighter owned by Romanic, Rocket owned by Romanic, Rocket owned by Romanic]
	at games.strategy.engine.data.changefactory.RemoveUnits.perform(RemoveUnits.java:44)
	at games.strategy.engine.data.CompositeChange.perform(CompositeChange.java:48)
	at games.strategy.engine.data.GameData.performChange(GameData.java:433)
	at games.strategy.engine.history.History.gotoNode(History.java:117)
	at games.strategy.triplea.ui.history.HistoryPanel.gotoNode(HistoryPanel.java:300)
	at games.strategy.triplea.ui.history.HistoryPanel.treeSelectionChanged(HistoryPanel.java:290)
	at java.desktop/javax.swing.JTree.fireValueChanged(JTree.java:2967)
	at java.desktop/javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3456)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:641)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1111)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:297)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:191)
	at java.desktop/javax.swing.JTree.setSelectionPath(JTree.java:1656)
	at java.desktop/javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2736)
	at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:4016)
	at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3955)
	at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)
	at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6629)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6397)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Duplicate issue #9589: 2.2.20868: RemoveUnits#perform:44 - IllegalStateException
Created: 2021-09-09T23:57:06Z
Map
warcraft_war_heroes
Log Message
Not all units present in:Sethrias Roost.  Trying to remove:[Automated-Gold-Mine owned by Nature] present:[]
TripleA Version
2.2.20868
Java Version
11.0.4
Operating System
Windows 7
Memory
Heap utilization statistics [MB]
Used Memory: 659
Free memory: 326
Total memory: 986
Max memory: 986
Stack Trace
java.lang.IllegalStateException: Not all units present in:Sethrias Roost.  Trying to remove:[Automated-Gold-Mine owned by Nature] present:[]
	at games.strategy.engine.data.changefactory.RemoveUnits.perform(RemoveUnits.java:44)
	at games.strategy.engine.data.CompositeChange.perform(CompositeChange.java:48)
	at games.strategy.engine.data.CompositeChange.perform(CompositeChange.java:48)
	at games.strategy.engine.data.GameData.performChange(GameData.java:433)
	at games.strategy.engine.history.History.gotoNode(History.java:117)
	at games.strategy.triplea.ui.history.HistoryPanel.gotoNode(HistoryPanel.java:300)
	at games.strategy.triplea.ui.history.HistoryPanel.treeSelectionChanged(HistoryPanel.java:290)
	at java.desktop/javax.swing.JTree.fireValueChanged(Unknown Source)
	at java.desktop/javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source)
	at java.desktop/javax.swing.JTree.setSelectionPath(Unknown Source)
	at games.strategy.triplea.ui.history.HistoryPanel.navigateTo(HistoryPanel.java:243)
	at games.strategy.triplea.ui.history.HistoryPanel.previous(HistoryPanel.java:235)
	at games.strategy.triplea.ui.history.HistoryPanel.lambda$new$0(HistoryPanel.java:131)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at org.pushingpixels.substance.internal.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:108)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Closing comment (2022-02-23T21:08:35Z): Dupe of #7863