#769 View history and edit mode combined leads to crash

v1.0 (example)
open
None
5
2010-06-03
2010-05-25
Anonymous
No

Using edit mode while in "view history" game mode and action-moving (history tab) units leads to a fatal engine crash (which even corrupts save games)

java.lang.NullPointerException
at games.strategy.triplea.ui.MovePanel$2.run(MovePanel.java:257)
at java.awt.event.InvocationEvent.dispatch(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)

Discussion

  • ComradeKev

    ComradeKev - 2010-06-03

    I get the lock not held when moving units with the history pane open...

    java.lang.Exception: Lock not held
    at games.strategy.engine.data.GameData.ensureLockHeld(GameData.java:133)
    at games.strategy.engine.data.GameData.getSequence(GameData.java:229)
    at games.strategy.triplea.delegate.MoveValidator.hasEnoughMovement(MoveValidator.java:173)
    at games.strategy.triplea.delegate.MoveValidator.validateBasic(MoveValidator.java:1123)
    at

     
  • ComradeKev

    ComradeKev - 2010-06-03
    • assigned_to: nobody --> sgbridges
     

Log in to post a comment.