#21823 closed defect (duplicate)
JOSM fails to load geotools plugin
| Reported by: | Owned by: | Don-vip | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin geotools | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Fresh install JOSM
- Download list of available plugins and click to install opendata plugin
- Restart JOSM
What is the expected result?
Plugin loaded
What happens instead?
I get warning that JOSM could not load geotools plugin with an offer to disable the plugin, which I don't want to do because it is required by opendata plugin.
Please provide any additional information below. Attach a screenshot if possible.
Build-Date:2017-07-26 22:08:56
Revision:11427
Is-Local-Build:true
Identification: JOSM/1.5 (11427 SVN en) Linux Fedora 27 (Twenty Seven)
Memory Usage: 902 MB / 3495 MB (558 MB allocated, but free)
Java version: 1.8.0_191-b12, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1200
Maximum Screen Size: 1920x1200
Java package: java-1.8.0-openjdk:x86_64-1.8.0.191.b12
Plugins:
+ apache-commons (35893)
+ ejml (35893)
+ geotools
+ jaxb (35893)
+ jts (35893)
+ opendata (33088)
+ utilsplugin2 (33328)
Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Crafts&zip=1
Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1
+ ${HOME}/osm/josm/config/josm-fonts
Last errors/warnings:
- W: Failed to load Mappaint styles from '${HOME}/osm/josm/config/josm-fonts'. Exception was: java.io.FileNotFoundException: ${HOME}/osm/josm/config/josm-fonts (No such file or directory)
- E: java.io.FileNotFoundException: ${HOME}/osm/josm/config/josm-fonts (No such file or directory)
- E: java.nio.file.NoSuchFileException: ${HOME}/osm/josm/config
- W: Initializing map style ${HOME}/osm/josm/config/josm-fonts completed in 4 ms (1 errors, 0 warnings)
- E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin geotools. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoClassDefFoundError: Could not initialize class org.geotools.referencing.cs.DefaultCoordinateSystemAxis
- W: Disable plugin - Could not load plugin geotools. Delete from preferences?
Attachments (0)
Change History (5)
comment:1 by , 4 years ago
follow-up: 3 comment:2 by , 4 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Closed as duplicate of #21803.
I concur. Unfortunately, it looks like geotools doesn't have the version number.
@lamplighter: You probably need to update plugins as well.
EDIT: Current geotools should be version 35903.
follow-up: 4 comment:3 by , 4 years ago
Replying to taylor.smock:
Unfortunately, it looks like geotools doesn't have the version number.
I have seen this if the plugin fails to load with plugin version 35801, too.
follow-up: 5 comment:4 by , 4 years ago
Replying to skyper:
I have seen this if the plugin fails to load with plugin version 35801, too.
We fail to show the version information if a plugin fails to load? It seems like we should at least keep the version number for the status report.
comment:5 by , 4 years ago
Replying to taylor.smock:
Replying to skyper:
I have seen this if the plugin fails to load with plugin version 35801, too.
We fail to show the version information if a plugin fails to load?
Yes, see my report on #21803. The version number is missing.
It seems like we should at least keep the version number for the status report.
+1



Replying to lamplighter@…:
You JOSM version is four and a half years old and your java version is quite old, too. Please, update your system.
Overall, this looks just like another duplicate of #21803.