﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
24398	continuosDownload plugin crashes at startup if all values are set to 0	anonymous	team	"==== What steps will reproduce the problem?
1. Getting the continuosDownload plugin
2. Setting all the values in the plugin's settings page to zero
3. Restarting JOSM

==== What is the expected result?
JOSM loads normally.
==== What happens instead?
Josm crashes at startup, when loading the plugin.
==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Revision:19396
Build-Date:2025-05-02 07:42:11

Identification: JOSM/1.5 (19396 pl) Windows 11 64-Bit
OS Build number: Windows 10 Home 24H2 (26100)
Memory Usage: 776 MB / 12192 MB (329 MB allocated, but free)
Java version: 21.0.7+6-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080x32bpp@144Hz (scaling 1.00×1.00) \Display1 1920x1080x32bpp@60Hz (scaling 1.00×1.00)
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: Cp1250
Locale info: pl_PL
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19396, -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 (Debug).exe]

Plugins:
+ FastDraw (36438)
+ ImproveWay (7c496c4)
+ MakeParallel (v1.1.0)
+ PicLayer
+ RoadSigns (36438)
+ auto_tools (6c6bb6f)
+ buildings_tools
+ continuosDownload
+ easypresets
+ flatlaf (36438)
+ gridify
+ jaxb (36438)
+ measurement (36438)
+ merge-overlap
+ plbuildings
+ pt_assistant
+ public_transport (36438)
+ reverter (36447)
+ sidewalks (71)
+ splinex (36438)
+ terracer
+ turnlanes (36438)
+ undelete
+ utilsplugin2 (36438)

Tagging presets:
+ <josm.pref>/EasyPresets.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/OSMRookie&zip=1
+ %UserProfile%\Documents\test

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/HighwayAreas&zip=1
- https://raw.githubusercontent.com/yopaseopor/indoormap/master/indoormap-style.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1
- https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Direction&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
- https://github.com/GlassOceanos/indoor-JOSM-style/archive/master.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Greenery&zip=1
- https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/Styles_Traffic_signs_EUR_OR.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1

Last errors/warnings:
- 00000.422 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF'
- 00000.424 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.424 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00000.982 E: java.security.KeyStoreException: Windows-ROOT not found. Przyczyna: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 00007.190 W: Cannot lock cache directory. Will not use disk cache
- 00008.363 E: Handled by bug report queue: java.lang.ExceptionInInitializerError. Przyczyna: java.lang.IllegalArgumentException

OSM API: https://opengeofiction.net/api


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main (1)
java.lang.ExceptionInInitializerError
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Unknown Source)
	at java.base/java.lang.Class.forName(Unknown Source)
	at org.openstreetmap.josm.plugins.PluginInformation.loadClass(PluginInformation.java:402)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:864)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:927)
	at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:1029)
	at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:1251)
	at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:1007)
	at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:280)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:766)
Caused by: java.lang.IllegalArgumentException
	at java.base/java.util.concurrent.ThreadPoolExecutor.<init>(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.<init>(Unknown Source)
	at org.openstreetmap.josm.plugins.continuosDownload.DownloadPlugin.<clinit>(DownloadPlugin.java:66)
	... 11 more
}}}
"	defect	new	normal		Plugin continuosDownload			template_report	
