Opened 17 years ago
Closed 17 years ago
#1452 closed defect (fixed)
validator update required to prevent crash
Reported by: | anonymous | Owned by: | framm |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Plugin | Version: | |
Keywords: | Cc: | lukasz.holetzke@… |
Description
After starting josm:
Message:
Error initializing test TagChecker:
org.openstreetmap.josm.tools.l18n.marktr(Ljava/lang/String;)Ljava/lang/String;
Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 736
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 736
Last Changed Date: 2008-07-25 08:11:13 +0200 (Fri, 25 Jul 2008)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.openstreetmap.josm.gui.PleaseWaitRunnable.closeDialog(PleaseWaitRunnable.java:146)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:95)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.closeDialog(PleaseWaitRunnable.java:142)
... 4 more
Caused by: org.openstreetmap.josm.plugins.PluginException: An error occoured in plugin validator
at org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:33)
at org.openstreetmap.josm.Main.setMapFrame(Main.java:152)
at org.openstreetmap.josm.Main.addLayer(Main.java:293)
at org.openstreetmap.josm.actions.NewAction.actionPerformed(NewAction.java:21)
at org.openstreetmap.josm.Main.editLayer(Main.java:305)
at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$Task.finish(DownloadOsmTask.java:49)
at org.openstreetmap.josm.gui.PleaseWaitRunnable$4.run(PleaseWaitRunnable.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1045)
at java.awt.Dialog$3.run(Dialog.java:1097)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1095)
at java.awt.Component.show(Component.java:1422)
at java.awt.Component.setVisible(Component.java:1375)
at java.awt.Window.setVisible(Window.java:806)
at java.awt.Dialog.setVisible(Dialog.java:985)
at org.openstreetmap.josm.gui.PleaseWaitRunnable$3.run(PleaseWaitRunnable.java:78)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:30)
... 28 more
Caused by: java.lang.NoClassDefFoundError: org/openstreetmap/josm/gui/SideButton
at org.openstreetmap.josm.plugins.validator.OSMValidatorPlugin.mapFrameInitialized(OSMValidatorPlugin.java:82)
... 33 more
Caused by: java.lang.ClassNotFoundException: org.openstreetmap.josm.gui.SideButton
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 34 more
Attachments (0)
Change History (9)
follow-up: 2 comment:1 by , 17 years ago
comment:2 by , 17 years ago
Replying to anonymous:
Update validator and retry. Does the error still happen?
Using 9909 version.
After unchecking it in plugin list and applying I've got another message:
Could not initialize class org.openstreetmap.josm.plugins.validator.Severity
comment:3 by , 17 years ago
I had problems similar to this too--try removing the plugin by hand, see #1450
follow-up: 5 comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Could not initialize class org.openstreetmap.josm.plugins.validator.Severity:
That is caused by an old JOSM version this time :-)
comment:5 by , 17 years ago
Component: | Core → Plugin |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Replying to anonymous:
Could not initialize class org.openstreetmap.josm.plugins.validator.Severity:
That is caused by an old JOSM version this time :-)
waiting for new ebuild ;)
removed by hand the plugin, downloaded new version
with validator version 10125 nothing better, still the same problem
comment:6 by , 17 years ago
Yes, but this time different reason again. The new 10125 requires a recent josm-latest.jar (approx > 850).
That's one of the JOSM problems, that there is no real good plugin version checking.
I leave that bug open, so others will see it.
comment:7 by , 17 years ago
The update problems should be fixed in r873. Seems the upload system did not work for windows.
comment:8 by , 17 years ago
Summary: | Validator crashes JOSM → validator update required to prevent crash |
---|
comment:9 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Update validator and retry. Does the error still happen?