Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#21823 closed defect (duplicate)

JOSM fails to load geotools plugin

Reported by: lamplighter@… Owned by: Don-vip
Priority: normal Milestone:
Component: Plugin geotools Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Fresh install JOSM
  2. Download list of available plugins and click to install opendata plugin
  3. 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)

in reply to:  description comment:1 by skyper, 2 years ago

Replying to lamplighter@…:

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)
Java version: 1.8.0_191-b12, Oracle Corporation, OpenJDK 64-Bit Server VM

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.

comment:2 by taylor.smock, 2 years ago

Resolution: duplicate
Status: newclosed

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.

Last edited 2 years ago by taylor.smock (previous) (diff)

in reply to:  2 ; comment:3 by skyper, 2 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.

in reply to:  3 ; comment:4 by taylor.smock, 2 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.

in reply to:  4 comment:5 by skyper, 2 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

Last edited 2 years ago by skyper (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.