Bug#522676: java.lang.IllegalArgumentException: start == end
Timo Juhani Lindfors
timo.lindfors at iki.fi
Sun Apr 5 19:22:10 UTC 2009
Package: freecol
Version: 0.7.4.dfsg+1-1
Severity: normal
Sometimes the game goes to a state where clicking "end turn" causes
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: start == end
at net.sf.freecol.common.model.Map.findPath(Map.java:343)
at net.sf.freecol.common.model.Map.findPath(Map.java:223)
at net.sf.freecol.client.control.InGameController.moveToDestination(InGameController.java:700)
at net.sf.freecol.client.control.InGameController.nextActiveUnit(InGameController.java:3553)
at net.sf.freecol.client.control.InGameController.endTurn(InGameController.java:3787)
at net.sf.freecol.client.gui.panel.InfoPanel$EndTurnPanel$1.mousePressed(InfoPanel.java:635)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
at java.awt.Component.processMouseEvent(Component.java:6103)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
at java.awt.Component.processEvent(Component.java:5871)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4293)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4122)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4293)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
restoring from savegame does seem to help so the game becomes
impossible to win if manage to hit this state.
http://iki.fi/lindi/freecol/testcase2.fsg
is an example of such a state. Please let me know if you are unable to
reproduce the bug with it.
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.ISO-8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages freecol depends on:
ii java-wrappers 0.1.6 wrappers for java executables
ii libhiglayout-java 1.0-4 An easy-to-use layout manager for
ii libwoodstox-java 1:3.9.2.dfsg-1 a high-performance XML processor
ii openjdk-6-jre 6b11-9.1 OpenJDK Java runtime, using Hotspo
freecol recommends no packages.
freecol suggests no packages.
-- no debconf information
More information about the Pkg-games-devel
mailing list