Modify

Opened 17 years ago

Closed 17 years ago

#1570 closed defect (fixed)

Lakewalker Plugin: Exception

Reported by: amenk Owned by: framm
Priority: major Milestone:
Component: Plugin Version:
Keywords: lakewalker Cc:

Description

Steps: enable lakewalker, download some LandSat Data, choose Tools -> Lakewalker, click near the lake, exception!

Looks like a number format problem ?


Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 981
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 981
Last Changed Date: 2008-09-17 02:16:26 +0200 (Wed, 17 Sep 2008)

java.lang.NumberFormatException: For input string: "0,0003"

at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1242)
at java.lang.Double.parseDouble(Double.java:527)
at org.openstreetmap.josm.plugins.lakewalker.LakewalkerAction.lakewalk(LakewalkerAction.java:109)
at org.openstreetmap.josm.plugins.lakewalker.LakewalkerAction.mouseClicked(LakewalkerAction.java:274)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
at java.awt.Component.processMouseEvent(Component.java:6109)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
at java.awt.Component.processEvent(Component.java:5871)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4293)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4134)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4293)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
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 (4)

comment:1 by anonymous, 17 years ago

Component: unspecifiedPlugin openstreetbugs
Keywords: lakewalker added

comment:2 by anonymous, 17 years ago

Update the plugin.
Open the preferences file in an text editor and delete any lines which contain "lakewalker".
Report if that fixed the problem.

comment:3 by stephankn, 17 years ago

I think this is a problem with the locale setting. decimal separator is supposed to be a dot ".", not comma.

comment:4 by anonymous, 17 years ago

Resolution: fixed
Status: newclosed

Should be fixed now as lakewalker now uses JOSM internal functions.

Modify Ticket

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