Modify

Opened 28 hours ago

#24768 new defect

Mapbox underlay not working

Reported by: d.indigo2001@… Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. I turn on the Mapbox layer and get a black screen. Before, there was an HTTP 401 error

What is the expected result?

The mapbox layer will work correctly

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

Revision:19555
Build-Date:2026-03-30 09:42:59

Identification: JOSM/1.5 (19555 ru) Windows 10 64-Bit
OS Build number: Windows 10 Home Single Language 22H2 (19045)
Memory Usage: 468 MB / 4548 MB (276 MB allocated, but free)
Java version: 21.0.10+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080x32bpp@60Hz (scaling 1.25×1.25)
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: Cp1251
Locale info: ru_RU
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19555, -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:
+ PicLayer (273)
+ imagery_offset_db (36474)
+ reltoolbox (36474)
+ russia-address-helper (0.9.6.7)
+ tageditor (36474)
+ turnlanes-tagging (1769860692)
+ turnrestrictions (36474)

Last errors/warnings:
- 00404.227 E: Handled by bug report queue: java.lang.IllegalArgumentException: can't parse argument number: apikey. Причина: java.lang.NumberFormatException: For input string: "apikey"
- 00404.228 W: Too many errors. Dropping ReportedException [thread=Thread[#178,TMS-downloader-70,5,main], exception=java.lang.IllegalArgumentException: can't parse argument number: apikey, methodWarningFrom=BugReportExceptionHandler#handleException]
- 00404.234 E: Handled by bug report queue: java.lang.IllegalArgumentException: can't parse argument number: apikey. Причина: java.lang.NumberFormatException: For input string: "apikey"
- 00404.234 W: Too many errors. Dropping ReportedException [thread=Thread[#187,TMS-downloader-79,5,main], exception=java.lang.IllegalArgumentException: can't parse argument number: apikey, methodWarningFrom=BugReportExceptionHandler#handleException]
- 00404.242 E: Handled by bug report queue: java.lang.IllegalArgumentException: can't parse argument number: apikey. Причина: java.lang.NumberFormatException: For input string: "apikey"
- 00404.243 W: Too many errors. Dropping ReportedException [thread=Thread[#188,TMS-downloader-80,5,main], exception=java.lang.IllegalArgumentException: can't parse argument number: apikey, methodWarningFrom=BugReportExceptionHandler#handleException]
- 00404.249 E: Handled by bug report queue: java.lang.IllegalArgumentException: can't parse argument number: apikey. Причина: java.lang.NumberFormatException: For input string: "apikey"
- 00404.250 W: Too many errors. Dropping ReportedException [thread=Thread[#180,TMS-downloader-72,5,main], exception=java.lang.IllegalArgumentException: can't parse argument number: apikey, methodWarningFrom=BugReportExceptionHandler#handleException]
- 00404.256 E: Handled by bug report queue: java.lang.IllegalArgumentException: can't parse argument number: apikey. Причина: java.lang.NumberFormatException: For input string: "apikey"
- 00404.258 W: Too many errors. Dropping ReportedException [thread=Thread[#189,TMS-downloader-81,5,main], exception=java.lang.IllegalArgumentException: can't parse argument number: apikey, methodWarningFrom=BugReportExceptionHandler#handleException]



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: TMS-downloader-16 (117)
java.lang.IllegalArgumentException: can't parse argument number: apikey
	at java.base/java.text.MessageFormat.makeFormat(Unknown Source)
	at java.base/java.text.MessageFormat.applyPattern(Unknown Source)
	at java.base/java.text.MessageFormat.<init>(Unknown Source)
	at java.base/java.text.MessageFormat.format(Unknown Source)
	at org.openstreetmap.josm.tools.Logging.lambda$logPrivate$7(Logging.java:373)
	at java.logging/java.util.logging.Logger.logp(Unknown Source)
	at org.openstreetmap.josm.tools.Logging.logPrivate(Logging.java:384)
	at org.openstreetmap.josm.tools.Logging.logPrivate(Logging.java:373)
	at org.openstreetmap.josm.tools.Logging.info(Logging.java:252)
	at org.openstreetmap.josm.tools.HttpClient.logRequest(HttpClient.java:244)
	at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:199)
	at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:136)
	at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:125)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.loadObjectHttp(JCSCachedTileLoaderJob.java:362)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.loadObject(JCSCachedTileLoaderJob.java:309)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.run(JCSCachedTileLoaderJob.java:233)
	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.lang.NumberFormatException: For input string: "apikey"
	at java.base/java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.base/java.lang.Integer.parseInt(Unknown Source)
	at java.base/java.lang.Integer.parseInt(Unknown Source)
	... 19 more

Attachments (1)

Снимок экрана 2026-06-08 154404.png (657.3 KB ) - added by d.indigo2001@… 28 hours ago.

Download all attachments as: .zip

Change History (1)

by d.indigo2001@…, 28 hours ago

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 d.indigo2001@….
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.