Modify ↓
Opened 8 years ago
Closed 8 years ago
#15467 closed defect (fixed)
NumberFormatException: For input string: "10 meter"
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin shapetools | Version: | |
| Keywords: | template_report | Cc: |
Description (last modified by )
tried to align buildings against a road using the plugin shape actions panel:
What steps will reproduce the problem?
- open plugin
- select road
- put distance 10 mtr in "my distance"field
- select all buildings
What is the expected result? align al buildings in a street
What happens instead? bug report.
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2017-10-03 21:43:00 +0200 (Tue, 03 Oct 2017) Build-Date:2017-10-03 19:50:21 Revision:12921 Relative:URL: ^/trunk Identification: JOSM/1.5 (12921 en) Windows 10 64-Bit OS Build number: Windows 10 Enterprise 1703 (15063) Memory Usage: 245 MB / 989 MB (74 MB allocated, but free) Java version: 1.8.0_151-b12, Oracle Corporation, Java HotSpot(TM) Client VM Screen: \Display0 1680x1050, \Display1 1680x1050 Maximum Screen Size: 1680x1050 Dataset consistency test: No problems found Plugins: + BuildingGeneralization (16) + FastDraw (33583) + ShapeTools (1220) + auto_tools (1494971731) + buildings_tools (33004) + indoor_sweepline (33007) + markseen (6) + measurement (33088) + photoadjust (33303) + terracer (33608) + tofix (1505422613) + touchscreenhelper (32699) + utilsplugin2 (33704) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/HotNepal&zip=1 Map paint styles: - https://github.com/hotosm/HDM-JOSM-style/archive/master.zip - https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1 + https://github.com/MarkCupitt/HOT-Osm-Validation/blob/master/HOT-Validate.mapcss Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools. - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.tofix.TofixDialog$3@b62dbf - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.tofix.TofixDialog$4@5ebc7b - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.tofix.TofixDialog$5@404fc7 - E: Handled by bug report queue: java.lang.NumberFormatException: For input string: "10 meter" - W: Unable to detect current tested version of JOSM:: java.lang.NumberFormatException: For input string: "<html>12921 === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (17) of main java.lang.NumberFormatException: For input string: "10 meter" at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source) at sun.misc.FloatingDecimal.parseDouble(Unknown Source) at java.lang.Double.parseDouble(Unknown Source) at org.openstreetmap.josm.plugins.shapetools.ShapeEvents$3.mouseClicked(ShapeEvents.java:119) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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 (3)
comment:1 by , 8 years ago
| Component: | Core → Plugin shapetools |
|---|
comment:2 by , 8 years ago
| Description: | modified (diff) |
|---|---|
| Summary: | tried to align buildings against a road using the plugin shape actions panel → NumberFormatException: For input string: "10 meter" |
comment:3 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Fixed in https://github.com/JOSM/ShapeTools/releases/tag/v1.2.3