﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19276	WARNING: MalformedURLException in CachedFile.cleanup for local files	simon04	team	"==== What steps will reproduce the problem?
1. Add a local imagery source `${HOME}/xxx/josm.xml` to advanced preference key `imagery.entries`
2. Refresh imagery layers

==== What is the expected result?

==== What happens instead?

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Revision:16472
Is-Local-Build:true
Build-Date:2020-05-21 22:08:26

Identification: JOSM/1.5 (16472 SVN en) Linux Arch Linux
Memory Usage: 415 MB / 3972 MB (111 MB allocated, but free)
Java version: 14+36, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Screen: :0.0 3840x2160
Maximum Screen Size: 3840x2160

Last errors/warnings:
- W: java.net.MalformedURLException: no protocol: ${HOME}/xxx/josm.xml
- W: java.net.MalformedURLException: no protocol: ${HOME}/xxx/josm.xml
- W: java.net.MalformedURLException: no protocol: ${HOME}/xxx/josm.xml
}}}

{{{
2020-05-21 23:16:59.654 WARNING: java.net.MalformedURLException: no protocol: /home/simon/src/alpine-map-hacking/josm.xml
java.net.MalformedURLException: no protocol: /home/simon/xxx/josm.xml
	at java.base/java.net.URL.<init>(URL.java:672)
	at java.base/java.net.URL.<init>(URL.java:568)
	at java.base/java.net.URL.<init>(URL.java:515)
	at org.openstreetmap.josm.io.CachedFile.cleanup(CachedFile.java:393)
	at org.openstreetmap.josm.io.CachedFile.cleanup(CachedFile.java:381)
	at org.openstreetmap.josm.data.imagery.ImageryLayerInfo$DefaultEntryLoader.loadSource(ImageryLayerInfo.java:163)
	at org.openstreetmap.josm.data.imagery.ImageryLayerInfo$DefaultEntryLoader.realRun(ImageryLayerInfo.java:156)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)
}}}"	defect	new	normal		Core			template_report	
