Modify

Opened 5 years ago

#19276 new defect

WARNING: MalformedURLException in CachedFile.cleanup for local files

Reported by: simon04 Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

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)

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to simon04.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.