Modify

Opened 11 years ago

Closed 11 years ago

#8257 closed defect (fixed)

Routing: add destination results in exception

Reported by: malenki Owned by: franpd
Priority: major Milestone:
Component: Plugin routing Version: latest
Keywords: template_report routing Cc:

Description

What steps will reproduce the problem?

  1. run JOSM with the routing plugin
  2. create a routing layer
  3. add a destination

What is the expected result?
(don't know - first time I tried the plugin)

What happens instead?

Error (see below)

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-12-04 02:31:51
Last Changed Author: Don-vip
Revision: 5611
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-12-04 00:43:04 +0100 (Tue, 04 Dec 2012)
Last Changed Rev: 5611

Identification: JOSM/1.5 (5611 de)
Memory Usage: 630 MB / 4711 MB (448 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: log4j (28968)
Plugin: routing (28966)

java.lang.NullPointerException
	at com.innovant.josm.plugin.routing.actions.AddRouteNodeAction.mouseClicked(AddRouteNodeAction.java:104)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
	at java.awt.Component.processMouseEvent(Component.java:6392)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3268)
	at java.awt.Component.processEvent(Component.java:6154)
	at java.awt.Container.processEvent(Container.java:2045)
	at java.awt.Component.dispatchEventImpl(Component.java:4750)
	at java.awt.Container.dispatchEventImpl(Container.java:2103)
	at java.awt.Component.dispatchEvent(Component.java:4576)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4306)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
	at java.awt.Container.dispatchEventImpl(Container.java:2089)
	at java.awt.Window.dispatchEventImpl(Window.java:2518)
	at java.awt.Component.dispatchEvent(Component.java:4576)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:672)
	at java.awt.EventQueue.access$400(EventQueue.java:96)
	at java.awt.EventQueue$2.run(EventQueue.java:631)
	at java.awt.EventQueue$2.run(EventQueue.java:629)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
	at java.awt.EventQueue$3.run(EventQueue.java:645)
	at java.awt.EventQueue$3.run(EventQueue.java:643)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:642)
	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)

Attachments (0)

Change History (6)

comment:1 by Don-vip, 11 years ago

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

comment:2 by anonymous, 11 years ago

Hello,

I posted ticket #8312 and now see this earlier ticket.

Behavior is different if I run josm with the openjdk version of java
(OpenJDK Runtime Environment (IcedTea6 1.11.5)) instead os Sun's:

There is still an exception, but the flag is placed, and the route calculated and displayed correctly.
HTH

mapsinE3

comment:3 by Don-vip, 11 years ago

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

comment:4 by Don-vip, 11 years ago

Priority: normalmajor

comment:5 by Don-vip, 11 years ago

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

comment:6 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in [o29586].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain franpd.
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.