﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
23727	JOSM r19101 doesn't start	GerdP	team	"After an svn update to r19101 JOSM no longer works.
Seems that one of the changes in `org.openstreetmap.josm.tools.Utils` is the cause.
Below is the console log. 

BTW: JOSM opens the BugReportSender dialog but the ""Report Bug"" button doesn't work in this case. It just 
produces the last stack trace
Also a lot of unit tests fail.
{{{
c:\josm\core>java -Xmx4G --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.prefs/java.util.prefs=ALL-UNNAMED -jar dist\josm-custom.jar
2024-06-12 08:59:01.257 INFORMATION: Protokollierungsgrad ist bei INFORMATION (INFO, 800)
2024-06-12 08:59:01.710 SEVERE: Handled by bug report queue: java.lang.NullPointerException
java.lang.NullPointerException
        at java.base/java.util.ImmutableCollections$ListN.indexOf(ImmutableCollections.java:716)
        at java.base/java.util.ImmutableCollections$AbstractImmutableList.contains(ImmutableCollections.java:329)
        at org.openstreetmap.josm.spi.preferences.MapListSetting.consistencyTest(MapListSetting.java:41)
        at org.openstreetmap.josm.spi.preferences.MapListSetting.<init>(MapListSetting.java:24)
        at org.openstreetmap.josm.spi.preferences.MapListSetting.copy(MapListSetting.java:35)
        at org.openstreetmap.josm.spi.preferences.MapListSetting.copy(MapListSetting.java:16)
        at org.openstreetmap.josm.data.Preferences.getSetting(Preferences.java:755)
        at org.openstreetmap.josm.spi.preferences.AbstractPreferences.getListOfMaps(AbstractPreferences.java:135)
        at org.openstreetmap.josm.data.StructUtils.getListOfStructs(StructUtils.java:101)
        at org.openstreetmap.josm.tools.PlatformHookWindows.extendFontconfig(PlatformHookWindows.java:477)
        at org.openstreetmap.josm.tools.PlatformHookWindows.afterPrefStartupHook(PlatformHookWindows.java:152)
        at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:906)
        at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:285)
        at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:788)

2024-06-12 08:59:02.404 SEVERE: java.lang.IllegalStateException: HTTP factory has not been set
java.lang.IllegalStateException: HTTP factory has not been set
        at org.openstreetmap.josm.tools.HttpClient.create(HttpClient.java:564)
        at org.openstreetmap.josm.tools.HttpClient.create(HttpClient.java:552)
        at org.openstreetmap.josm.io.CachedFile.checkLocal(CachedFile.java:491)
        at org.openstreetmap.josm.io.CachedFile.getFile(CachedFile.java:284)
        at org.openstreetmap.josm.io.CachedFile.getInputStream(CachedFile.java:227)
        at org.openstreetmap.josm.io.CachedFile.getByteContent(CachedFile.java:245)
        at org.openstreetmap.josm.gui.bugreport.JosmUpdatePanel.getTestedVersion(JosmUpdatePanel.java:70)
        at org.openstreetmap.josm.gui.bugreport.JosmUpdatePanel.readCurrentVersion(JosmUpdatePanel.java:53)
        at java.base/java.lang.Thread.run(Thread.java:833)

2024-06-12 08:59:05.832 SEVERE: Handled by bug report queue: java.lang.IllegalStateException: HTTP factory has not been set
java.lang.IllegalStateException: HTTP factory has not been set
        at org.openstreetmap.josm.tools.HttpClient.create(HttpClient.java:564)
        at org.openstreetmap.josm.tools.bugreport.BugReportSender.pasteDebugText(BugReportSender.java:118)
        at org.openstreetmap.josm.tools.bugreport.BugReportSender.run(BugReportSender.java:92)

}}}"	defect	closed	blocker	24.06	Core	latest	fixed		taylor.smock stoecker
