java.lang.IllegalStateException

Not all units present in:Posen. Trying to remove:[infantry owned by Germany, infantry owned by Germany, infantry owned by Germany, field_gun owned by Germany, infantry owned by Germany, field_gun owned by Germany] present:[]

Solutions on the web24000

  • Not all units present in:Posen. Trying to remove:[infantry owned by Germany, infantry owned by Germany, infantry owned by Germany, field_gun owned by Germany, infantry owned by Germany, field_gun owned by Germany] present:[]
  • Cannot release lock owned by null
  • via GitHub by laa
    , 1 year ago
    Current instance is owned by other thread : 'main'
  • Stack trace

    • java.lang.IllegalStateException: Not all units present in:Posen. Trying to remove:[infantry owned by Germany, infantry owned by Germany, infantry owned by Germany, field_gun owned by Germany, infantry owned by Germany, field_gun owned by Germany] present:[] at games.strategy.engine.data.changefactory.RemoveUnits.perform(RemoveUnits.java:38) at games.strategy.engine.data.CompositeChange.perform(CompositeChange.java:49) at games.strategy.engine.data.CompositeChange.perform(CompositeChange.java:49) at games.strategy.engine.data.GameData.performChange(GameData.java:493) at games.strategy.engine.history.History.gotoNode(History.java:123) at games.strategy.triplea.ui.history.HistoryPanel.gotoNode(HistoryPanel.java:262) at games.strategy.triplea.ui.history.HistoryPanel.treeSelectionChanged(HistoryPanel.java:252) at games.strategy.triplea.ui.history.HistoryPanel.lambda$new$44(HistoryPanel.java:173) at javax.swing.JTree.fireValueChanged(Unknown Source) at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source) at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source) at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source) at javax.swing.JTree.setSelectionPath(Unknown Source) at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source) at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown Source) at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown Source) at java.awt.AWTEventMulticaster.mousePressed(Unknown Source) at java.awt.AWTEventMulticaster.mousePressed(Unknown Source) at java.awt.AWTEventMulticaster.mousePressed(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at games.strategy.engine.framework.GameRunner$1.dispatchEvent(GameRunner.java:156) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.