Ticket #2391 (new defect)
routing plugin crashes when trying to compute impossible routes
| Reported by: | bestoujev@… | Owned by: | vidalfree@… |
|---|---|---|---|
| Priority: | major | Component: | Plugin routing |
| Version: | latest | Keywords: | |
| Cc: |
Description
Often when there is no route from one waypoint to another the plugin crashes. Mostly if the only possible route is by going a wrong way on a one way street.
Path: trunk URL: http://josm.openstreetmap.de/svn/trunk Repository Root: http://josm.openstreetmap.de/svn Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Revision: 1521 Node Kind: directory Last Changed Author: stoecker Last Changed Rev: 1521 Last Changed Date: 2009-03-31 17:26:55 +0200 (Tue, 31 Mar 2009)
Java version: 1.6.0_11 Plugins: Intersect_way;openstreetbugs;routing;tagging-preset-tester;usertools;utilsplugin;validator;wmsplugin Plugin Intersect_way Version: 12781 Plugin openstreetbugs Version: 14015 Plugin routing Version: 14365 Plugin tagging-preset-tester Version: 14015 Plugin usertools Version: 14125 Plugin utilsplugin Version: 14356 Plugin validator Version: 14123 Plugin wmsplugin Version: 14120
java.lang.IllegalArgumentException: graph must contain the start vertex
at org.jgrapht.traverse.CrossComponentIterator.<init>(Unknown Source) at org.jgrapht.traverse.ClosestFirstIterator.<init>(Unknown Source) at org.jgrapht.alg.DijkstraShortestPath.<init>(Unknown Source) at org.jgrapht.alg.DijkstraShortestPath.<init>(Unknown Source) at com.innovant.josm.jrt.core.RoutingGraph.applyAlgorithm(RoutingGraph.java:270) at com.innovant.josm.plugin.routing.RoutingModel.getRouteEdges(RoutingModel.java:136) at com.innovant.josm.plugin.routing.RoutingLayer.getToolTipText(RoutingLayer.java:179) at org.openstreetmap.josm.gui.dialogs.LayerListDialog$1.getListCellRendererComponent(LayerListDialog.java:179) at javax.swing.plaf.basic.BasicListUI.paintCell(Unknown Source) at javax.swing.plaf.basic.BasicListUI.paintImpl(Unknown Source) at javax.swing.plaf.basic.BasicListUI.paint(Unknown Source) at javax.swing.plaf.ComponentUI.update(Unknown Source) at javax.swing.JComponent.paintComponent(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JViewport.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintToOffscreen(Unknown Source) at javax.swing.BufferStrategyPaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source) 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)
