Opened 17 years ago
Closed 17 years ago
#2354 closed defect (fixed)
WMS & Usertools cant load after start of JOSM
| Reported by: | fatbozz | Owned by: | team |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | wms, usertools | Cc: |
Description
Usertools and WMS plugin cant load after start of JOSM
D:\GPSaWardriving>java -Xmx1350M -jar -Dsun.java2d.d3d=false josm-latest.jar
Mappaint-Style "standard" icon "transport/railway.png" not found.
Mappaint-Style "standard" icon "transport/railway.png" not found.
Mappaint-Style "standard" icon "religion/church/bahai.png" not found.
Mappaint-Style "standard" icon "religion/church/buddhism.png" not found.
Mappaint-Style "standard" icon "religion/church/hinduism.png" not found.
Mappaint-Style "standard" icon "religion/church/jainism.png" not found.
Mappaint-Style "standard" icon "religion/church/synagogue.png" not found.
Mappaint-Style "standard" icon "religion/church/mosque.png" not found.
Mappaint-Style "standard" icon "religion/church/sikhism.png" not found.
Mappaint-Style "standard" icon "religion/church/shinto.png" not found.
Mappaint-Style "standard" icon "religion/church/taoism.png" not found.
Mappaint-Style "standard" icon "religion/cemetery.png" not found.
Mappaint-Style "standard" icon "transport/railway.png" not found.
Mappaint-Style "standard" icon "religion/cemetery.png" not found.
loading Create_grid_of_ways
loading DirectUpload
loading Intersect_way
loading measurement
loading multipoly
loading openstreetbugs
loading terracer
loading usertools
java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.MainMenu.add(Ljavax/swing/JMenu;ILjava/lang/String;)V
at usertools.UserToolsPlugin.refreshMenu(UserToolsPlugin.java:69)
at usertools.UserToolsPlugin.<init>(UserToolsPlugin.java:39)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:131)
at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:148)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:172)
loading utilsplugin
Silent shortcut conflict: 'tools:jumpto' moved by 'tools:uploadtraces' to 'Ctrl+Shift+G'.
loading validator
loading wmsplugin
java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.MainMenu.add(Ljavax/swing/JMenu;ILjava/lang/String;)V
at wmsplugin.WMSPlugin.refreshMenu(WMSPlugin.java:134)
at wmsplugin.WMSPlugin.<init>(WMSPlugin.java:52)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:131)
at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:148)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:172)
Attachments (0)
Change History (5)
comment:1 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 17 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
But I have Josm and plugin latest. Updated from plugin list and update button.
comment:3 by , 17 years ago
Your JOSM can't be up-to-date. If you would send the error message you get, then the version information would be included and I could give you better advice. But the error message clearly indicates, that you have mismatching JOSM and plugins.
comment:4 by , 17 years ago
I too was seeing this error with the latest svn versions of josm for a few days now. I downloaded the svn version of the wms plugin and compiled it myself, and now things are working again. There's clearly something not right somewhere.
comment:5 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
manually downloaded from wiki and moved into plugin dir, now works fine.



Update JOSM and plugins.