Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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 Don-vip)

Amongst others I have an image descriptively named

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:
Build-Date: 2012-02-05 02:32:23
Last Changed Author: stoecker
Revision: 4900
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
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(
	at java.lang.Double.parseDouble(
	at org.openstreetmap.josm.Main.downloadFromParamBounds(
	at org.openstreetmap.josm.Main.postConstructorProcessCmdLine(
	at org.openstreetmap.josm.gui.MainApplication$
	at java.awt.event.InvocationEvent.dispatch(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$000(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (5)

comment:1 Changed 9 years ago by malenki

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.

comment:2 Changed 9 years ago by anonymous

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 Changed 9 years ago by Don-vip

Description: modified (diff)
Summary: long name of image with comma causes exceptionimage filename with 3 commas causes exception

comment:4 Changed 9 years ago by Don-vip

Resolution: fixed
Status: newclosed

In [4901/josm]:

fix #7361 - image filename with 3 commas causes exception

comment:5 Changed 9 years ago by malenki

Thanks for the fix in near realtime.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.