Opened 14 years ago
Last modified 6 years ago
#7483 closed defect
Problem with updating plugins (cadastre does not start) on debian — at Version 1
| Reported by: | skyper | Owned by: | team |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | Plugin linux debian ubuntu | Cc: | dpaleino, sebastic |
Description (last modified by )
I think there is a problem with updating plugins.
I have the debian package josm-plugins installed. These plugins are installed under /usr/share/josm/plugins. Even before downloading the plugin list the first time I already have some plugins available (local).
- start josm
- download plugin list
- install cadastre plugin
- restart
Exception with package from stable
Using /usr/lib/jvm/java-6-openjdk/bin/java to execute josm. Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2012-03-06 02:36:00 Last Changed Author: Don-vip Revision: 5046 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2012-03-05 22:41:23 +0100 (Mon, 05 Mar 2012) Last Changed Rev: 5046 lade Plugin 'cadastre-fr' (Version 22295) Pluging cadastre-fr v2.0 started... current cache directory: /home/gast/.josm-latest/plugins/cadastrewms/ Replace source year AAAA by current year 2012 org.openstreetmap.josm.plugins.PluginException: Ein Fehler ist in dem Plugin cadastre-fr aufgetreten. at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:281) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:477) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:535) at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:574) at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:256) 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:272) ... 4 more Caused by: java.lang.NoSuchMethodError: org.openstreetmap.josm.tools.I18n.tr(Ljava/lang/String;)Ljava/lang/String; at cadastre_fr.CadastrePlugin.refreshConfiguration(CadastrePlugin.java:250) at cadastre_fr.CadastrePlugin.<init>(CadastrePlugin.java:166) ... 9 more
With the plugin package from debian testing josm starts without exception, but still does not use the latest plugin but the one installed under /usr/share.


