﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
24952	Uploading on macOS prior to authentication caused Exception	anonymous	team	"==== What steps will reproduce the problem?
I was not logged in on openstreetmap.org, downloaded JOSM for macOS, tried to upload some changes within JOSM. JOSM launched the ""Obtain authentication to OSM servers"", crashed, reported an Exception, and offered to report bug.

==== 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:46:10

Identification: JOSM/1.5 (19613 en) Mac OS X 27.0
OS Build number: macOS 27.0 (26A428)
Memory Usage: 576 MB / 6144 MB (249 MB allocated, but free)
Java version: 21.0.12+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 1 1280x828x32bpp@60Hz (scaling 2.00×2.00)
Maximum Screen Size: 1280×828
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=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.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=/private/var/folders/t2/rz5y8hxs2yv9jxt43kvft_6c0000gn/T/AppTranslocation/4024D61A-3E9A-4CC0-9288-3583B31DFB72/d/JOSM.app/Contents/MacOS/JOSM]

Last errors/warnings:
- 00548.205 E: Handled by bug report queue: java.lang.UnsupportedOperationException



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (38) of main
java.lang.UnsupportedOperationException
	at java.base/java.util.Collections$UnmodifiableCollection.add(Unknown Source)
	at org.openstreetmap.josm.gui.autofilter.AutoFilterManager.updateButtons(AutoFilterManager.java:149)
	at org.openstreetmap.josm.gui.autofilter.AutoFilterManager.dataChanged(AutoFilterManager.java:353)
	at org.openstreetmap.josm.data.osm.event.DataChangedEvent.fire(DataChangedEvent.java:38)
	at org.openstreetmap.josm.data.osm.event.DatasetEventManager.fireConsolidatedEvents(DatasetEventManager.java:210)
	at org.openstreetmap.josm.data.osm.event.DatasetEventManager$EdtRunnable.run(DatasetEventManager.java:90)
	at java.desktop@21.0.12/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop@21.0.12/java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.desktop@21.0.12/java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.desktop@21.0.12/java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.desktop@21.0.12/java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.desktop@21.0.12/java.awt.Dialog.show(Unknown Source)
	at java.desktop@21.0.12/java.awt.Component.show(Unknown Source)
	at java.desktop@21.0.12/java.awt.Component.setVisible(Unknown Source)
	at java.desktop@21.0.12/java.awt.Window.setVisible(Unknown Source)
	at java.desktop@21.0.12/java.awt.Dialog.setVisible(Unknown Source)
	at org.openstreetmap.josm.gui.progress.swing.PleaseWaitProgressMonitor.lambda$doBeginTask$3(PleaseWaitProgressMonitor.java:255)
	at org.openstreetmap.josm.gui.progress.swing.PleaseWaitProgressMonitor.lambda$doInEDT$0(PleaseWaitProgressMonitor.java:113)
	at java.desktop@21.0.12/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop@21.0.12/java.awt.EventDispatchThread.run(Unknown Source)
}}}
"	defect	closed	normal		Core		duplicate	template_report	
