Modify

Opened 4 days ago

Last modified 107 minutes ago

#24807 new defect

MapWithAI suddenly crashing

Reported by: anonymous Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapwithai Version:
Keywords: template_report 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.

Revision:19585
Is-Local-Build:true
Build-Date:2026-06-26 10:46:33

Identification: JOSM/1.5 (19585 SVN en) Windows 11 64-Bit
OS Build number: Windows 10 Enterprise 23H2 (22631)
Memory Usage: 912 MB / 24384 MB (454 MB allocated, but free)
Java version: 25.0.3+9-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 2560x1440x32bpp@59Hz (scaling 1.00×1.00) \Display1 2560x1440x32bpp@59Hz (scaling 1.00×1.00)
Maximum Screen Size: 2560×1440
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_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19585, -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:
+ apache-commons (36474)
+ ejml (36474)
+ geotools (36474)
+ jackson (36474)
+ jaxb (36474)
+ jts (36474)
+ mapwithai (839)
+ opendata (36474)
+ pmtiles (36474)
+ utilsplugin2 (36497)

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

Last errors/warnings:
- 00034.095 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
- 00044.086 E: Thread main-worker-0 raised java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
- 00044.087 E: Handled by bug report queue: 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:
- 00044.170 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
- 00055.237 E: Thread main-worker-1 raised java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
- 00055.238 E: Handled by bug report queue: 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:
- 00055.326 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.320 E: Thread main-worker-2 raised java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: 
- 00065.324 E: Handled by bug report queue: 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.416 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



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-1 (246)
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.tryRemoveAndExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.helpJoin(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.awaitDone(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.join(Unknown Source)
	at org.openstreetmap.josm.plugins.mapwithai.backend.GetDataRunnable.getDataReal(GetDataRunnable.java:693)
	at org.openstreetmap.josm.plugins.mapwithai.backend.GetDataRunnable.compute(GetDataRunnable.java:221)
	at org.openstreetmap.josm.plugins.mapwithai.backend.BoundingBoxMapWithAIDownloader.lambda$parseOsm$3(BoundingBoxMapWithAIDownloader.java:230)
	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: 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)
	... 12 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)
	... 19 more

=== ADDITIONAL EXCEPTIONS ===
==== Exception at 1784314740706 ====
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.tryRemoveAndExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.helpJoin(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.awaitDone(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.join(Unknown Source)
	at org.openstreetmap.josm.plugins.mapwithai.backend.GetDataRunnable.getDataReal(GetDataRunnable.java:693)
	at org.openstreetmap.josm.plugins.mapwithai.backend.GetDataRunnable.compute(GetDataRunnable.java:221)
	at org.openstreetmap.josm.plugins.mapwithai.backend.BoundingBoxMapWithAIDownloader.lambda$parseOsm$3(BoundingBoxMapWithAIDownloader.java:230)
	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: 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)
	... 12 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)
	... 19 more

Attachments (0)

Change History (2)

comment:1 by gaben, 3 hours ago

Component: CorePlugin mapwithai
Owner: changed from team to taylor.smock

comment:2 by taylor.smock, 107 minutes ago

I suspect the root cause is a java.nio.file.AccessDeniedException.

Either that, or they are using a custom source.

Last edited 107 minutes ago by taylor.smock (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain taylor.smock.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from taylor.smock to the specified user.
Next status will be 'needinfo'. The owner will be changed from taylor.smock to anonymous.
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 taylor.smock 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.