﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
24906	Error authentication	anonymous	anonymous	"==== 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:46:33

Identification: JOSM/1.5 (19613 en) Mac OS X 26.5.2
OS Build number: macOS 26.5.2 (25F84)
Memory Usage: 400 MB / 18432 MB (55 MB allocated, but free)
Java version: 25.0.4+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 1 1440x900x32bpp@60Hz (scaling 2.00×2.00)
Maximum Screen Size: 1440×900
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_VN
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=/Applications/JOSM.app/Contents/MacOS/JOSM]

Last errors/warnings:
- 00066.865 E: Thread main-worker-0 raised ReportedException [thread=Thread[#40,main-worker-0,5,main], exception=java.lang.reflect.InvocationTargetException, methodWarningFrom=null]
- 00066.865 E: Handled by bug report queue: java.lang.IllegalArgumentException: Zero length iterator passed to TextLayout constructor.
- 00066.866 E: Handled by bug report queue: java.lang.reflect.InvocationTargetException. Cause: java.lang.IllegalArgumentException: offsetLimit must be after current position
- 00066.867 E: Handled by bug report queue: java.lang.IllegalArgumentException: Zero length iterator passed to TextLayout constructor.

OSM API: https://nonprod-mapops.vmaps.vn/api


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (41) of main
java.lang.IllegalArgumentException: Zero length iterator passed to TextLayout constructor.
	at java.desktop@25.0.4/java.awt.font.TextLayout.<init>(Unknown Source)
	at java.desktop@25.0.4/sun.swing.SwingUtilities2.drawStringImpl(Unknown Source)
	at java.desktop@25.0.4/sun.swing.SwingUtilities2.drawString(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.Utilities.paintComposedText(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.GlyphView.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.BoxView.paintChild(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.BoxView.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.BoxView.paintChild(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.BoxView.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.ParagraphView.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.BoxView.paintChild(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.BoxView.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.BoxView.paintChild(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.BoxView.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.ParagraphView.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)
	at java.desktop@25.0.4/com.apple.laf.AquaTextFieldUI.paintSafely(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)
	at java.desktop@25.0.4/javax.swing.JComponent.paintComponent(Unknown Source)
	at org.openstreetmap.josm.gui.widgets.JosmTextField.paintComponent(JosmTextField.java:275)
	at java.desktop@25.0.4/javax.swing.JComponent.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.JComponent.paintChildren(Unknown Source)
	at java.desktop@25.0.4/javax.swing.JComponent.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.JComponent.paintToOffscreen(Unknown Source)
	at java.desktop@25.0.4/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(Unknown Source)
	at java.desktop@25.0.4/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
	at java.desktop@25.0.4/javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.RepaintManager.paint(Unknown Source)
	at java.desktop@25.0.4/javax.swing.JComponent._paintImmediately(Unknown Source)
	at java.desktop@25.0.4/javax.swing.JComponent.paintImmediately(Unknown Source)
	at java.desktop@25.0.4/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop@25.0.4/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop@25.0.4/javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
	at java.desktop@25.0.4/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
	at java.desktop@25.0.4/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop@25.0.4/java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.desktop@25.0.4/java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.desktop@25.0.4/java.awt.Dialog.show(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.show(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.setVisible(Unknown Source)
	at java.desktop@25.0.4/java.awt.Window.setVisible(Unknown Source)
	at java.desktop@25.0.4/java.awt.Dialog.setVisible(Unknown Source)
	at org.openstreetmap.josm.gui.preferences.PreferenceDialog.setVisible(PreferenceDialog.java:145)
	at org.openstreetmap.josm.actions.PreferencesAction.run(PreferencesAction.java:119)
	at org.openstreetmap.josm.actions.PreferencesAction.actionPerformed(PreferencesAction.java:104)
	at java.desktop@25.0.4/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at java.desktop@25.0.4/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at java.desktop@25.0.4/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at java.desktop@25.0.4/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.desktop@25.0.4/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop@25.0.4/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.processEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.Container.processEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.run(Unknown Source)

=== ADDITIONAL EXCEPTIONS ===
==== Exception at 1790020000913 ====
ReportedException [thread=Thread[#40,main-worker-0,5,], exception=java.lang.reflect.InvocationTargetException, methodWarningFrom=BugReportExceptionHandler#handleException]
	at org.openstreetmap.josm.tools.bugreport.BugReport.intercept(BugReport.java:222)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:252)
	at org.openstreetmap.josm.gui.oauth.AdvancedOAuthPropertiesPanel.resetToDefaultSettings(AdvancedOAuthPropertiesPanel.java:179)
	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.reflect.InvocationTargetException
	at java.desktop@25.0.4/java.awt.EventQueue.invokeAndWait(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventQueue.invokeAndWait(Unknown Source)
	at java.desktop@25.0.4/javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:250)
	... 4 more
Caused by: java.lang.IllegalArgumentException: offsetLimit must be after current position
	at java.desktop@25.0.4/java.awt.font.LineBreakMeasurer.nextOffset(Unknown Source)
	at java.desktop@25.0.4/java.awt.font.LineBreakMeasurer.nextLayout(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.TextLayoutStrategy.sync(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.TextLayoutStrategy.removeUpdate(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.FlowView.removeUpdate(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.removeUpdate(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.View.forwardUpdateToView(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.FlowView$LogicalView.forwardUpdateToView(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.View.forwardUpdate(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.FlowView$LogicalView.forwardUpdate(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.View.removeUpdate(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.FlowView.removeUpdate(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.removeUpdate(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicTextUI$RootView.removeUpdate(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicTextUI$UpdateHandler.removeUpdate(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.AbstractDocument.fireRemoveUpdate(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.AbstractDocument.handleRemove(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.AbstractDocument.remove(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.AbstractDocument.replace(Unknown Source)
	at java.desktop@25.0.4/javax.swing.text.JTextComponent.setText(Unknown Source)
	at org.openstreetmap.josm.gui.oauth.AdvancedOAuthPropertiesPanel.lambda$resetToDefaultSettings$0(AdvancedOAuthPropertiesPanel.java:187)
	at java.desktop@25.0.4/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop@25.0.4/java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.desktop@25.0.4/java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.desktop@25.0.4/java.awt.Dialog.show(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.show(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.setVisible(Unknown Source)
	at java.desktop@25.0.4/java.awt.Window.setVisible(Unknown Source)
	at java.desktop@25.0.4/java.awt.Dialog.setVisible(Unknown Source)
	at org.openstreetmap.josm.gui.preferences.PreferenceDialog.setVisible(PreferenceDialog.java:145)
	at org.openstreetmap.josm.actions.PreferencesAction.run(PreferencesAction.java:119)
	at org.openstreetmap.josm.actions.PreferencesAction.actionPerformed(PreferencesAction.java:104)
	at java.desktop@25.0.4/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at java.desktop@25.0.4/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at java.desktop@25.0.4/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at java.desktop@25.0.4/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at java.desktop@25.0.4/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.desktop@25.0.4/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop@25.0.4/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.processEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.Container.processEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop@25.0.4/java.awt.EventDispatchThread.run(Unknown Source)
}}}
"	defect	needinfo	normal		Core			template_report	wangi
