Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#17573 closed defect (fixed)

InvalidPathException: Illegal char (Windows)

Reported by: anonymous Owned by: team
Priority: normal Milestone: 19.04
Component: Core Version:
Keywords: template_report windows Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-03-31 21:17:00 +0200 (Sun, 31 Mar 2019)
Build-Date:2019-03-31 20:25:18
Revision:14945
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14945 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro (10240)
Memory Usage: 247 MB / 989 MB (91 MB allocated, but free)
Java version: 1.8.0_201-b09, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1366x768
Maximum Screen Size: 1366x768
Program arguments: [%UserProfile%\Desktop\TANZANIA?__500KVA_U1.osm]

Plugins:
+ apache-commons (34506)
+ ejml (34389)
+ geotools (34513)
+ jaxb (34678)
+ jts (34524)
+ measurement (34867)
+ opendata (34911)
+ photo_geotagging (34867)
+ utilsplugin2 (34932)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Power_Line_Mapping_KAEDCO&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Power_Line_Mapping_IBEDC&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Power&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PowerMapping&zip=1

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.nio.file.InvalidPathException: Illegal char <?> at index 36: %UserProfile%\Desktop\TANZANIA?__500KVA_U1.osm
- W: java.io.IOException: Invalid argument


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (38) of main
java.nio.file.InvalidPathException: Illegal char <?> at index 36: C:\Users\ICTBARNAWA\Desktop\TANZANIA?__500KVA_U1.osm
	at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
	at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
	at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
	at sun.nio.fs.WindowsPath.parse(Unknown Source)
	at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
	at java.io.File.toPath(Unknown Source)
	at org.openstreetmap.josm.io.Compression.getUncompressedFileInputStream(Compression.java:178)
	at org.openstreetmap.josm.gui.io.importexport.OsmImporter.importData(OsmImporter.java:81)
	at org.openstreetmap.josm.gui.io.importexport.FileImporter.importDataHandleExceptions(FileImporter.java:95)
	at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:367)
	at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:319)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (3)

comment:1 by Don-vip, 5 years ago

Keywords: windows added
Summary: BUG REPORTInvalidPathException: Illegal char (Windows)

comment:2 by Don-vip, 5 years ago

Resolution: fixed
Status: newclosed

In 14979/josm:

fix #17573 - wrap InvalidPathException in IOException

comment:3 by Don-vip, 5 years ago

Milestone: 19.04

Modify Ticket

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