#21827 closed defect (invalid)
Download of Erweiterungen/Plugins failed
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin measurement | Version: | |
Keywords: | template_report | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- During Start up, see (the hopefully) attached snip_007.jpg)
- OR by trying to load an Plugin (for instance PdfImport), see snip_006.jpg. The message 'Der Filter liefert keine Ergebnisse' appears after using the button 'Liste herunterladen'.
What is the expected result?
A list with all plugins/filtered plugins should appear, and plugin Measurement should be updated, or loaded, etc.
What happens instead?
See pictures, Doenload or actualisation of plugins not possible.
Please provide any additional information below. Attach a screenshot if possible.
I hope I will get the oppotunity to upload two screenshots; up to now I am only able to announce that 'Ich habe Dateien, die ich an dieses Ticket anhängen möchte'.
Revision:18360 Build-Date:2022-01-02 23:53:33 Identification: JOSM/1.5 (18360 de) Windows 10 64-Bit OS Build number: Windows 10 Pro 2009 (19042) Memory Usage: 348 MB / 4080 MB (96 MB allocated, but free) Java version: 17.0.1+12-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1920×1080 (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: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: de_DE Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.18360, --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=%<user.name>Profile%\AppData\Local\JOSM\JOSM.exe] Plugins: + PicLayer (2a9aa7a) + RoadSigns (35640) + apache-commons (35524) + ejml (35458) + geotools (35458) + imagery_offset_db (35640) + jaxb (35543) + jts (35458) + measurement + turnrestrictions (35640) + utilsplugin2 (35682) Tagging presets: + https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT-1-preset.xml + https://josm.openstreetmap.de/josmfile?page=Presets/OpenSeaMap-PresetForSeamarks&zip=1 + https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/DE.zip Map paint styles: + https://raw.githubusercontent.com/OpenSeaMap/josm/master/INT1_Seamark.mapcss Last errors/warnings: - 00000.562 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.565 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00002.728 E: java.security.KeyStoreException: Windows-ROOT not found. Ursache: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available - 00013.611 E: Unable to load class org.openstreetmap.josm.plugins.measurement.MeasurementPlugin from plugin measurement using classloader PluginClassLoader [urls=[file:/C:/<user.name>s/<user.name>/AppData/Roaming/JOSM/plugins/measurement.jar]]: java.lang.NoClassDefFoundError: org/openstreetmap/josm/data/SelectionChangedListener. Ursache: java.lang.ClassNotFoundException: org.openstreetmap.josm.data.SelectionChangedListener - 00013.611 E: org.openstreetmap.josm.plugins.PluginException: In der Erweiterung measurement ist ein Fehler aufgetreten.. Ursache: java.lang.NoClassDefFoundError: org/openstreetmap/josm/data/SelectionChangedListener. Ursache: java.lang.ClassNotFoundException: org.openstreetmap.josm.data.SelectionChangedListener - 00013.635 W: Erweiterung deaktivieren - Erweiterung 'measurement' konnte nicht geladen werden. Aus den Einstellungen entfernen?
Attachments (2)
Change History (11)
by , 3 years ago
Attachment: | snip_006.jpg added |
---|
by , 3 years ago
Attachment: | snip_007.jpg added |
---|
comment:2 by , 3 years ago
Description: | modified (diff) |
---|
comment:3 by , 3 years ago
Component: | Plugin → Plugin measurement |
---|---|
Resolution: | → invalid |
Status: | new → closed |
If measurement
is blocking startup, please manually update it or delete the jar file (see wiki:/Help/Preferences/Plugins#Plugins).
And when you have gotten JOSM started, please re-enable the version based update (see wiki:/Help/Preferences/Plugins#PluginUpdatePolicy ). We probably ought to re-enable it automatically if a plugin (a) fails on startup and (b) it is currently disabled. But that is a different problem.
comment:4 by , 3 years ago
Thanks for the quick response.
But I am unfortunatly not able to manually update measurement, the same with any other plugin. I still receive no entry in the download list, after clicking the button 'Erweiterungen installieren' (for this I marked 'measuremant' from the 'available' list, not from the 'installed' plugins). I get the response that all installed plugins are up to date and JOSM does not need to download a newer version.
I do find some directories named 'plugins' and 'user-data', but only in relation to other programs, not JOSM. I only can find one directory called JOSM, but without any subdirectory. I have unfortunatly no idea, which directories the program creates and uses.
So I am not able to delete or uninstall the plugin 'measurement'.
As I use JOSM version 18360, I updated it an the 03. or 04.01.2022. Before this there were upfates about every some weeks. I definitly have no idea, when there were updates some four or five years ago.
I´m sorry, but I have nearly no knowledge about Java. But maybe someone can give me some advice, even this tickets ist set to the closed state.
comment:5 by , 3 years ago
Similar or duplicate of #21579. See also ##21631 and #19006.
Either a problem with using multiple namespaces for caching/download or a casing problem of the file name? Please, check your local directories, see my comment on #21579 and follow-ups.
follow-up: 7 comment:6 by , 3 years ago
Strange: Windows Explorer is not able to find the directories or files! But anyway, I did it finally with the informations about the path thanks to the comments above, and I was able to remove the measurement.jar. Now there is no plugin with this name in the 'Erweiterungen'-list.
But still I am not able to get a download list (by clicking 'Liste herunterladen').
There is no entry in the window 'Erweiterungsquellen konfigurieren', does this have any relation?
comment:7 by , 3 years ago
Replying to afisch:
Sorry, I do not use Windows since decades, so I can only give general advice.
Strange: Windows Explorer is not able to find the directories or files! But anyway, I did it finally with the informations about the path thanks to the comments above, and I was able to remove the measurement.jar. Now there is no plugin with this name in the 'Erweiterungen'-list.
The directories and files might be hidden, e.g. make sure your search includes hidden files and directories. Additionally check that they are not write protected e.g. read-only.
But still I am not able to get a download list (by clicking 'Liste herunterladen').
There is no entry in the window 'Erweiterungsquellen konfigurieren', does this have any relation?
Ok, the plugin list is in the file site-josm.openstreetmap.de-_pluginicons.txt
in the plugin directory. I think you can savely move the existing one out of the way.
comment:8 by , 3 years ago
Thank you skyper:
For the Windows Explorer: as I know now, you can switch the options to view the hidden files/directories. But interestingly this will have no effect on the search functions. This will work only if you have selected these hidden directories, in this case 'AppData'. But this is only a minor item refering the plugin situation, the more important seems to be: I cannot find no file site-josm.openstreetmap.de-_pluginicons.txt
in my system. I think it runs out to a complete new installation of JOSM, hoping to be able to rebuild all the options of this local installation.
Thanks a lot,
kind regards
afisch
comment:9 by , 3 years ago
Fixed after copying the URL from an JOSM installation on another computer into "Erweiterungsquellen konfigurieren" of Erweiterungen under Einstellungen.
This seems odd. Have you restarted JOSM?
EDIT:
java.lang.NoClassDefFoundError: org/openstreetmap/josm/data/SelectionChangedListener
was deleted back in 2018 (see r14247). When was the last time that you updated JOSM prior to this?FTR: Measurement was fixed in r34529/osm