Opened 4 years ago
Closed 3 years ago
#21220 closed defect (worksforme)
Plugin "measurement" can't be added.
Reported by: | CapitaineMoustache | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin measurement | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Go to "Preferences" / "Plugins"
- Check "measurment" plugin and click on "Validate".
What is the expected result?
The plugin should be installed.
What happens instead?
A error message appears:
"Could not load plugin 'measurement' because the plugin main class 'org.openstreetmap.josm.plugins.measurement.MeasurementPlugin' was not found. Delete from preferences?"
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-08-02 19:44:04 +0200 (Mon, 02 Aug 2021) Build-Date:2021-08-02 18:26:20 Revision:18118 Relative:URL: ^/trunk Identification: JOSM/1.5 (18118 fr) Windows 10 64-Bit OS Build number: Windows 10 Home 2009 (19042) Memory Usage: 826 MB / 989 MB (330 MB allocated, but free) Java version: 1.8.0_301-b09, Oracle Corporation, Java HotSpot(TM) Client VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 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: fr_FR Numbers with default locale: 1234567890 -> 1234567890 Dataset consistency test: No problems found Plugins: + Mapillary (2.0.0-alpha.30-dirty) + apache-commons (35524) + apache-http (35589) + cadastre-fr (35797) + ejml (35458) + geotools (35458) + gridify (1606242219) + imagery_offset_db (35640) + javafx-windows (35655) + jna (35662) + jts (35458) + photo_geotagging (35783) + tagging-preset-tester (35640) + turnrestrictions (35640) + utilsplugin2 (35792) Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Bench&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/RecyclingMaterials&zip=1 - https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip - https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss + https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/Styles_Traffic_signs_EUR_OC.zip Last errors/warnings: - 00008.087 W: java.nio.file.FileSystemException: %UserProfile%\AppData\Local\Temp\josm_exec_powershell_3589106386712059238.txt: Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. - 00008.094 W: Unable to request certificate of https://grca.nat.gov.tw - 00136.787 E: Unable to load class org.openstreetmap.josm.plugins.measurement.MeasurementPlugin from plugin measurement using classloader PluginClassLoader [urls=[]]: java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.measurement.MeasurementPlugin - 00136.792 E: org.openstreetmap.josm.plugins.PluginException: Une erreur est survenue dans le greffon measurement. Cause : java.lang.ClassNotFoundException: org.openstreetmap.josm.plugins.measurement.MeasurementPlugin - 00136.803 W: Désactiver le greffon - <html>Impossible de charger le greffon 'measurement' car la classe<br>principale 'org.openstreetmap.josm.plugins.measurement.MeasurementPlugin' n'a pas été trouvée.<br>Le supprimer des préférences ?</html>
Attachments (0)
Change History (4)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Summary: | [plugin] Plugin "measurement" can't be added. → Plugin "measurement" can't be added. |
---|
comment:3 by , 4 years ago
I've done what you adviced and it works. I've reinstalled all my plugins and it still works.
Thank you !
comment:4 by , 3 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I guess, downloading the plugin .jar file failed on the first try and you ended up with a corrupted plugin file.
Can't reproduce. Please try to close JOSM, remove any existing plugin with measurement.* , then retry