﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22057	[Patch]ClassNotFoundException when installing a plugin that was already downloaded	Emvee	team	"I suddenly lost my ~/.config/JOSM/preferences.xml (also the backup) so I had to reconfigure Josm.

One of the plugins I use often is utilsplugins2 but installing that pops up a warning:

Could not load plugin 'utilsplugins2' because the plugin main class 'org.openstreetmap.josm.plugins.utilsplugin2.UtilsPlugin2' was not found. Delete from preferences?

The the choice ""Disable plugin"" or ""Keep plugin"" is given and I did chose ""Keep plugin"".

After a restart I see the settings menu got a ""Utilplugin2 settings"" menu and there I can edit the ""Custom URL settings"". I see also the additional tools under ""More tools"" so that all seems to work.

First the added shortcut keys (Ctrl-H, Ctrl-T etc.) did not work but after some more testing that did also work.

So I see no problems yet with the operation, still I do not like this ""Disable plugin"" when installing the plugin. I have tried 3 times reinstalling the plugin and could every time reproduce the problem


{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-04-04 22:26:00 +0200 (Mon, 04 Apr 2022)
Revision:18427
Build-Date:2022-04-05 01:30:55
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18427 en) Linux openSUSE Tumbleweed
Memory Usage: 2474 MB / 5461 MB (1375 MB allocated, but free)
Java version: 11.0.15+10-suse-1.1-x8664, Oracle Corporation, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Environment variable LANG: en_NL.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_NL
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: KDE
Java package: java-11-openjdk:x86_64-11.0.15.0
apache-commons-logging: apache-commons-logging:noarch-1.2
Dataset consistency test: No problems found

Plugins:
+ ColumbusCSV (35949)
+ Mapillary (2.0.0-beta.9)
+ PolygonCutOut (v0.7)
+ alignways (35951)
+ apache-commons (35924)
+ apache-http (35924)
+ jna (35924)
+ reverter (35893)
+ utilsplugin2 (35951)

Tagging presets:
+ http://mijndev.openstreetmap.nl/~allroads/JOSM/Presets/NL-Fiets.zip

Map paint styles:
+ ${HOME}/Documents/Development/josm/resources/styles/NL_traffic_signs/Styles_Traffic_signs-style.mapcss
+ ${HOME}/Documents/Development/josm/resources/styles/Road_Extended/Road_Extended_JOSM_style.mapcss

Last errors/warnings:
- 00011.340 E: Invalid setting (Icon missing): org.openstreetmap.josm.plugins.columbusCSV.ColumbusCSVPreferences
- 00353.585 E: Invalid setting (Icon missing): org.openstreetmap.josm.plugins.columbusCSV.ColumbusCSVPreferences
}}}
"	defect	closed	normal	22.05	Plugin		fixed		
