Modify

Opened 15 years ago

Closed 13 years ago

#2391 closed defect (needinfo)

routing plugin crashes when trying to compute impossible routes

Reported by: bestoujev@… Owned by: bestoujev@…
Priority: major Milestone:
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)

Attachments (0)

Change History (6)

comment:1 by stoecker, 15 years ago

Component: PluginPlugin routing
Owner: changed from team to vidalfree@…

comment:2 by avarab@…, 15 years ago

Summary: routing pluginrouting plugin crashes when trying to compute impossible routes

comment:3 by xonix, 13 years ago

Ticket #2515 has been marked as a duplicate of this ticket.

comment:4 by hassan.sabirin@…, 13 years ago

can anyone confirm if this bug is still occurring ?

comment:5 by skyper, 13 years ago

Owner: changed from vidalfree@… to bestoujev@…
Status: newneedinfo

comment:6 by stoecker, 13 years ago

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain bestoujev@….
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.