Opened 12 years ago
Closed 12 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?
- run JOSM with the routing plugin
- create a routing layer
- 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 , 12 years ago
comment:2 by , 12 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:4 by , 12 years ago
Priority: | normal → major |
---|
Ticket #8312 has been marked as a duplicate of this ticket.