Modify

Opened 3 years ago

Closed 9 months ago

#4188 closed defect (irreproducible)

Exception trying to add destination node (Routing plugin)

Reported by: yoshimit@… Owned by: vidalfree@…
Priority: normal Component: Plugin routing
Version: Keywords: template_report
Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Try to select any node
  2. After trying to select the 5th node, the exception

What is the expected result?
A destination node to be added on map

What happens instead?
Nothing. Just the exception.

Please provide any additional information below. Attach a screenshot if
possible.

Using Ubuntu 9.10 x jre 1.6.0_17

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-12-15 02:31:22
Last Changed Author: ulfl
Revision: 2640
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-12-15 02:15:17 +0100 (Tue, 15 Dec 2009)
Last Changed Rev: 2640

Memory Usage: 23 MB / 63 MB (7 MB allocated, but free)
Java version: 1.6.0_17

Dataset consistency test:
No problems found


Plugins: routing,validator,wmsplugin
Plugin routing Version: 19066
Plugin validator Version: 19072
Plugin wmsplugin Version: 18953

java.lang.NullPointerException
	at com.innovant.josm.jrt.core.RoutingGraph.addEdge(RoutingGraph.java:162)
	at com.innovant.josm.jrt.core.RoutingGraph.createGraph(RoutingGraph.java:140)
	at com.innovant.josm.jrt.core.RoutingGraph.applyAlgorithm(RoutingGraph.java:277)
	at com.innovant.josm.plugin.routing.RoutingModel.getRouteEdges(RoutingModel.java:138)
	at com.innovant.josm.plugin.routing.RoutingLayer.paint(RoutingLayer.java:268)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:433)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JSplitPane.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 (4)

comment:1 Changed 3 years ago by yoshimit@…

Just before the stacktrace I can see:

[...]
2009-12-17 00:11:02 [com.innovant.josm.plugin.routing.actions.AddRouteNodeAction] DEBUG - selected node {Node id=260410006 version=1 V lat=-16.6564915,lon=-49.3295525}
2009-12-17 00:11:02 [com.innovant.josm.jrt.core.RoutingGraph] DEBUG - Creating Graph...
[...]

comment:2 Changed 3 years ago by mjulius

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

comment:3 Changed 21 months ago by Hassan S

Could not replicate issue.

comment:4 Changed 9 months ago by Don-vip

  • Description modified (diff)
  • Resolution set to irreproducible
  • Status changed from new to closed

Add 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.