#450 4th editon dont look for neutral routes

v1.0 (example)
closed-fixed
ComradeKev
None
3
2008-10-09
2008-07-06
Anonymous
No

triplea_1_0_0_3 4th editon is set to true
If 1 or more unit(s) are selected during Combat Move and the mouse is placed over a neutral territory (dont know if this has to be a neutral territory) with only routes involving neutral territory leading to it, this error appear

java.lang.IllegalStateException: No route between:TerritoryUnitsArePlacedIn and TerritoryMouseIsOver
at games.strategy.triplea.delegate.MoveValidator.getBestRoute(MoveValidator.java:1334)
at games.strategy.triplea.ui.MovePanel.getRouteNonForced(MovePanel.java:733)
at games.strategy.triplea.ui.MovePanel.getRoute(MovePanel.java:671)
at games.strategy.triplea.ui.MovePanel.access$2800(MovePanel.java:86)
at games.strategy.triplea.ui.MovePanel$13.mouseMoved(MovePanel.java:1575)
at games.strategy.triplea.ui.MapPanel.notifyMouseMoved(MapPanel.java:354)
at games.strategy.triplea.ui.MapPanel.access$1900(MapPanel.java:87)
at games.strategy.triplea.ui.MapPanel$8.mouseMoved(MapPanel.java:520)
at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)
at java.awt.Component.processMouseMotionEvent(Unknown Source)
at javax.swing.JComponent.processMouseMotionEvent(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.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
    2008-10-01

    • priority: 5 --> 3
    • status: open --> open-works-for-me
     
  • ComradeKev
    ComradeKev
    2008-10-01

    Can you provide a save game? I've tried to recreate it in both LHTR and Revised and it looks to be working properly.

     
  • ComradeKev
    ComradeKev
    2008-10-03

    • assigned_to: nobody --> comradekev
    • status: open-works-for-me --> pending-fixed
     
  • ComradeKev
    ComradeKev
    2008-10-09

    • status: pending-fixed --> closed-fixed