Opened 18 years ago
Closed 17 years ago
#469 closed defect (wontfix)
enabling mappaint throws exception
Reported by: | Owned by: | framm | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin | Version: | latest |
Keywords: | Cc: |
Description
As soon as I enable mappaint, josm crashes with the exception below. I'm running the latest mappaint and josm off the website as of now.
I'm running Debian unstable with the Sun JRE. Java -version gives the following:
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
The exception follows. While josm is still functional without mappaint, it would be nice to have the fancy rendering...
org.openstreetmap.josm.plugins.PluginException: An error occoured in plugin mappaint
at org.openstreetmap.josm.plugins.PluginInformation.<init>(PluginInformation.java:119)
at org.openstreetmap.josm.plugins.PluginInformation.<init>(PluginInformation.java:56)
at org.openstreetmap.josm.plugins.PluginInformation.findPlugin(PluginInformation.java:202)
at org.openstreetmap.josm.gui.preferences.PluginPreference.ok(PluginPreference.java:279)
at org.openstreetmap.josm.gui.preferences.PreferenceDialog.ok(PreferenceDialog.java:77)
at org.openstreetmap.josm.actions.PreferencesAction.actionPerformed(PreferencesAction.java:50)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1274)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:568)
at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:465)
at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:411)
at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:304)
at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:802)
at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2360)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2252)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2210)
at java.awt.Component.dispatchEventImpl(Component.java:4308)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
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.io.IOException: /home/rgmerk/.josm/plugins/mappaint.jar contains no manifest.
at org.openstreetmap.josm.plugins.PluginInformation.<init>(PluginInformation.java:69)
... 36 more
Attachments (0)
Change History (3)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
PS:
This is not limited to the "Draw nodes" tool. Exception occurs also when chosing "New" from the "File" menu (both with or without any data loaded previously).
comment:3 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
To egroups_mip@…: You're using an out-of-date mappaint plugin, please update it.
To the OP: It looks like you were using a broken mappaint jar. But that is now a thing of days long past now that mappaint is in JOSM proper.
I expected a similar error with mappaint on a Windows XP System running Sun Java 1.6.0_03.
JOSM (latest and previous versions) produces the following error when having loaded a GPX file, switched to the Draw Nodes tool, and clicking onto the map window: