Opened 12 years ago

Last modified 12 years ago

#8246 closed defect

ImportImagePlugin does install geotools but not its dependency plugin jts — at Version 2

Reported by: skyper Owned by: team
Priority: major Milestone:
Component: Plugin Version:
Keywords: geotools jts depend Cc:

Description (last modified by skyper)

  1. start JOSM with empty preference directory
  2. download plugin list in plugin preferences.
  3. select "utilsplugin2" and "ImportImagePlugin"
  4. four plugins (utilsplugin2,ImportImagePlugin,log4j,geotools) are downloaded.
  5. restart JOSM
  6. jts is missing for geotools
lade Plugin 'log4j' (Version 28968)
lade Plugin 'ImportImagePlugin' (Version 28969)
Logging properties file not found. Using standard settings.
org.openstreetmap.josm.plugins.PluginException: Ein Fehler ist in dem Plugin ImportImagePlugin aufgetreten.
	at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:308)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:508)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:566)
	at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:605)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:348)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
	at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:299)
	... 4 more
Caused by: java.lang.NoClassDefFoundError: org/opengis/referencing/FactoryException
	at org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImagePlugin.<init>(ImportImagePlugin.java:90)
	... 9 more
Caused by: java.lang.ClassNotFoundException: org.opengis.referencing.FactoryException
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	... 10 more
lade Plugin 'utilsplugin2' (Version 28807)
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-11-29 02:31:07
Last Changed Author: stoecker
Revision: 5608
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-11-28 23:47:46 +0100 (Wed, 28 Nov 2012)
Last Changed Rev: 5608

Identification: JOSM/1.5 (5608 de)
Memory Usage: 80 MB / 592 MB (18 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux

Plugin: ImportImagePlugin
Plugin: geotools
Plugin: log4j (28968)
Plugin: utilsplugin2 (28807)
  • Installing plugin jts solves the problem.
  • Installing plugin geotools only properly pulls jts.
  • I also noticed that downloading the plugin geotools takes quite long.
  • Why is there no plugin version number in the plugin report ?
    • Plugin 'geotools' (Version 28978)

Change History (2)

comment:1 by skyper, 12 years ago

Description: modified (diff)

comment:2 by skyper, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.