Opened 17 years ago
Closed 17 years ago
#1526 closed defect (worksforme)
JOSM cannot deactivate validator plugin
| Reported by: | anonymous | Owned by: | framm |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | unspecified | Version: | latest |
| Keywords: | Cc: |
Description
I just updated JOSM from rev 761 to rev 935. After I downloaded an area, JOSM displayed me a message box that an unhandled exception occurred in the plugin 'validator'. I'm using rev 6389 of the validator plugin, which seems to be incompatible to the latest JOSM rev. Anyway, the the error message gives me the ability to disable the plugin. But as I pressed 'yes' to disable the plugin, I got another message stating that "The plugin could not be removed. Please tell the people you got JOSM from about the problem." And that's what I have done with this ticket ;-)
BTW, here's the exception the plugin threw:
Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 935
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 935
Last Changed Date: 2008-09-08 12:06:31 +0200 (Mon, 08 Sep 2008)
java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.plugins.validator.Severity
at org.openstreetmap.josm.plugins.validator.ErrorLayer.getToolTipText(ErrorLayer.java:92)
at org.openstreetmap.josm.gui.dialogs.LayerListDialog$1.getListCellRendererComponent(LayerListDialog.java:174)
at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)
at javax.swing.plaf.basic.BasicListUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)



Seems to work here, at least with a randomly created exception in the Validator plugin. Can you look at your JOSM preferences file (usually ~/.josm/preferences under Unix) and give us the line that starts with "plugins=..."?