Modify ↓
#7361 closed defect (fixed)
image filename with 3 commas causes exception
Reported by: | malenki | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | image photograph | Cc: |
Description (last modified by )
Amongst others I have an image descriptively named
dscf_F30-2_011621_Gjirokastra_-_Häuser_alt_und_neu,_dahinter_links_Gjerë-,_dahinter_Kendrevica-Berge,_rechts_Lunxhëria-Berge.jpg
When I run JOSM like this
java -jar ~/bin/josm-archive/josm-4900.jar ./
everything is fine.
But running JOSM like this
java -jar ~/bin/josm-archive/josm-4900.jar dscf*jpg
causes following error:
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2012-02-05 02:32:23 Last Changed Author: stoecker Revision: 4900 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2012-02-04 22:41:17 +0100 (Sat, 04 Feb 2012) Last Changed Rev: 4900 Identification: JOSM/1.5 (4900 de) Memory Usage: 146 MB / 4711 MB (69 MB allocated, but free) Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM Operating system: Linux Plugin: FixAddresses (27676) Plugin: OpeningHoursEditor (27676) Plugin: PicLayer (27676) Plugin: buildings_tools (27676) Plugin: contourmerge (1003) Plugin: download_along (27526) Plugin: ext_tools (27569) Plugin: licensechange (27676) Plugin: magicshop-josm (4437) Plugin: mapdust (27596) Plugin: measurement (27464) Plugin: openstreetbugs (27355) Plugin: openvisible (27289) Plugin: reverter (27676) Plugin: tageditor (27675) Plugin: terracer (27649) Plugin: turnrestrictions (27676) Plugin: undelete (27649) Plugin: utilsplugin2 (27698) Plugin: waydownloader (27649) Plugin: wayselector (27019) java.lang.NumberFormatException: For input string: "dscf_F30-2_011621_Gjirokastra_-_Häuser_alt_und_neu" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222) at java.lang.Double.parseDouble(Double.java:510) at org.openstreetmap.josm.Main.downloadFromParamBounds(Main.java:675) at org.openstreetmap.josm.Main.postConstructorProcessCmdLine(Main.java:530) at org.openstreetmap.josm.gui.MainApplication$4.run(MainApplication.java:304) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:602) at java.awt.EventQueue$1.run(EventQueue.java:600) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:611) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Attachments (0)
Change History (5)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
PPS: Had a 2nd thought on it. It is likely I last opened the image with the JOSM latest from 07.01.2012
comment:3 by , 12 years ago
Description: | modified (diff) |
---|---|
Summary: | long name of image with comma causes exception → image filename with 3 commas causes exception |
Note:
See TracTickets
for help on using tickets.
PS: Last time I opened this image (with 2k others) without error was around 1st January. Maybe you can pinpoint the JOSM version which started to fail.