﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
24909	mapwithai error	anonymous	taylor.smock	"==== What steps will reproduce the problem?
1. 
2. 
3. 

==== What is the expected result?

==== What happens instead?

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Revision:19613
Build-Date:2026-08-12 01:42:58

Identification: JOSM/1.5 (19613 en_GB) Windows 11 64-Bit
OS Build number: Windows 10 Home 25H2 (26200)
Memory Usage: 480 MB / 11800 MB (339 MB allocated, but free)
Java version: 21.0.12+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080x32bpp@144Hz (scaling 1.00×1.00) \Display1 1920x1080x32bpp@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19613, -XX:MaxRAMPercentage=75.0, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]
Dataset consistency test: No problems found

Plugins:
+ CADTools (23)
+ DxfImport (1051)
+ apache-commons (36483)
+ buildings_tools (36503)
+ ejml (36483)
+ geotools (36483)
+ imagery_offset_db (36503)
+ jackson (36502)
+ jaxb (36483)
+ jts (36483)
+ mapwithai (839)
+ opendata (36503)
+ pmtiles (36503)
+ utilsplugin2 (36503)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Schools&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&zip=1
+ %UserProfile%\OneDrive\Desktop\elemstyles.mapcss
- %UserProfile%\OneDrive\Desktop\josmfile

Last errors/warnings:
- 00002.875 W: Update plug-ins - You updated your JOSM software. To prevent problems the plug-ins should be updated as well.  Update plug-ins now?
- 00015.618 W: Failed to load Mappaint styles from '%UserProfile%\OneDrive\Desktop\elemstyles.mapcss'. Exception was: java.nio.file.NoSuchFileException: %UserProfile%\OneDrive\Desktop\elemstyles.mapcss
- 00015.618 E: java.nio.file.NoSuchFileException: %UserProfile%\OneDrive\Desktop\elemstyles.mapcss
- 00015.632 W: Initializing map style %UserProfile%\OneDrive\Desktop\elemstyles.mapcss completed in 7 ms (1 errors, 0 warnings)
- 00015.633 W: Failed to load Mappaint styles from '%UserProfile%\OneDrive\Desktop\josmfile'. Exception was: java.nio.file.NoSuchFileException: %UserProfile%\OneDrive\Desktop\josmfile
- 00015.633 E: java.nio.file.NoSuchFileException: %UserProfile%\OneDrive\Desktop\josmfile
- 00028.850 E: java.io.IOException: stream is closed
- 00065.378 E: java.nio.file.AccessDeniedException: <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1.tmp -> <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1
- 00065.653 E: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Cause: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Cause: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Cause: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Cause: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Cause: java.net.MalformedURLException: no protocol:
- 00065.659 E: Handled by bug report queue: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Cause: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Cause: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Cause: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Cause: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol:. Cause: java.net.MalformedURLException: no protocol:



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (50) of main
java.io.IOException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
	at org.openstreetmap.josm.plugins.mapwithai.backend.DownloadMapWithAITask$DownloadTask.realRun(DownloadMapWithAITask.java:183)
	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.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
	at java.base/java.util.concurrent.ForkJoinTask.reportExecutionException(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.get(Unknown Source)
	at org.openstreetmap.josm.plugins.mapwithai.backend.DownloadMapWithAITask$DownloadTask.realRun(DownloadMapWithAITask.java:158)
	... 7 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(Unknown Source)
	... 10 more
Caused by: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
	at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:171)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:142)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:126)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:90)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:73)
	at org.openstreetmap.josm.io.BoundingBoxDownloader.parseOsm(BoundingBoxDownloader.java:213)
	at org.openstreetmap.josm.plugins.mapwithai.backend.BoundingBoxMapWithAIDownloader.parseOsm(BoundingBoxMapWithAIDownloader.java:160)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtils.lambda$download$6(MapWithAIDataUtils.java:178)
	... 6 more
Caused by: java.net.MalformedURLException: no protocol: 
	at java.base/java.net.URL.<init>(Unknown Source)
	at java.base/java.net.URL.<init>(Unknown Source)
	at java.base/java.net.URL.<init>(Unknown Source)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:169)
	... 13 more
}}}
"	defect	closed	normal		Plugin mapwithai		duplicate	template_report	
