Modify

Ticket #2391 (closed defect: needinfo)

Opened 3 years ago

Last modified 5 months ago

routing plugin crashes when trying to compute impossible routes

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

Attachments

Change History

comment:1 Changed 3 years ago by stoecker

  • Owner changed from team to vidalfree@…
  • Component changed from Plugin to Plugin routing

comment:2 Changed 3 years ago by avar

  • Summary changed from routing plugin to routing plugin crashes when trying to compute impossible routes

comment:3 Changed 7 months ago by xonix

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

comment:4 Changed 7 months ago by hassan.sabirin@…

can anyone confirm if this bug is still occurring ?

comment:5 Changed 7 months ago by skyper

  • Owner changed from vidalfree@… to bestoujev@…
  • Status changed from new to needinfo

comment:6 Changed 5 months ago by stoecker

  • Status changed from needinfo to closed
  • Resolution set to needinfo
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.