Modify ↓
Opened 7 minutes ago
#25060 new defect
Bug error when updating JOSM on my macOS
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- It says Unexpected Exception Occurred
- Tried to remove any old JOSM related filed on my macOS
- Re installed JOSM but still have same error.
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
Revision:19439
Build-Date:2025-09-01 09:24:14
Identification: JOSM/1.5 (19439 en) Mac OS X 15.8.3
OS Build number: macOS 15.8.3 (24H241)
Memory Usage: 288 MB / 12288 MB (179 MB allocated, but free)
Java version: 21.0.8+9-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 84094471 1920x1080x32bpp@60Hz (scaling 1.00×1.00) Display 69734406 1680x1050x32bpp@[Unknown refresh rate] (scaling 2.00×2.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=19439, -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.apple.eawt=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=${HOME}/Desktop/JOSM.app/Contents/MacOS/JOSM]
Last errors/warnings:
- 00002.190 W: Missing plugin main version in plugin mapwithai
- 00002.905 W: Missing plugin main version in plugin mapwithai
- 00007.068 E: Handled by bug report queue: java.lang.ClassCastException: class org.eclipse.parsson.JsonStringImpl cannot be cast to class jakarta.json.JsonArray (org.eclipse.parsson.JsonStringImpl and jakarta.json.JsonArray are in unnamed module of loader 'app')
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: main (1)
java.lang.ClassCastException: class org.eclipse.parsson.JsonStringImpl cannot be cast to class jakarta.json.JsonArray (org.eclipse.parsson.JsonStringImpl and jakarta.json.JsonArray are in unnamed module of loader 'app')
at org.eclipse.parsson.JsonObjectBuilderImpl$JsonObjectImpl.getJsonArray(JsonObjectBuilderImpl.java:229)
at org.openstreetmap.josm.tools.Territories.lambda$initializeExternalData$1(Territories.java:204)
at java.base/java.util.Optional.ifPresent(Unknown Source)
at org.openstreetmap.josm.tools.Territories.lambda$initializeExternalData$2(Territories.java:203)
at java.base/java.util.Optional.ifPresent(Unknown Source)
at org.openstreetmap.josm.tools.Territories.initializeExternalData(Territories.java:201)
at org.openstreetmap.josm.tools.Territories.initializeExternalData(Territories.java:190)
at org.openstreetmap.josm.tools.Territories.initialize(Territories.java:124)
at org.openstreetmap.josm.gui.MainInitialization.lambda$beforeInitializationTasks$4(MainInitialization.java:85)
at org.openstreetmap.josm.spi.lifecycle.InitializationTask.call(InitializationTask.java:33)
at org.openstreetmap.josm.spi.lifecycle.Lifecycle.runInitializationTasks(Lifecycle.java:108)
at org.openstreetmap.josm.spi.lifecycle.Lifecycle.initialize(Lifecycle.java:73)
at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:1004)
at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:280)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:766)
Attachments (1)
Note:
See TracTickets
for help on using tickets.



screenshot of error