Opened 17 years ago
Closed 17 years ago
#1329 closed defect (fixed)
the surveyor plugin does not work
Reported by: | klappschlauch | Owned by: | framm |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin | Version: | latest |
Keywords: | surveyor | Cc: |
Description
After starting Surveyor and hit any of the Buttons in the Surveyor Window
"An unexpected exceptions occures"
For "Restaurant" and "Church" nodes appear in the surveyor-file, but without the description:
--8<--
<node id='-2' visible='true' lat='51.320508' lon='12.306158'>
<tag k='created_by' v='JOSM-surveyor-plugin' />
<tag k='amenity' v='restaurant' />
</node>
<node id='-3' visible='true' lat='51.32055' lon='12.306148'>
<tag k='created_by' v='JOSM-surveyor-plugin' />
<tag k='amenity' v='place_of_worship' />
<tag k='denomination' v='christian' />
</node>
--8<--
for other Buttons there are empty nodes in the output file:
--8<--
<node id='267981186' timestamp='2008-06-01T22:56:28+01:00' user='klappschlauch' visible='true' lat='51.3206619' lon='12.3066764'>
<tag k='created_by' v='JOSM' />
</node>
--8<--
this is the error trace:
--8<--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.NoSuchMethodError: org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer.<init>(Lorg/openstreetmap/josm/data/gpx/GpxData;Ljava/lang/String;Ljava/io/File;)V
at at.dallermassl.josm.plugin.surveyor.action.SetWaypointAction.getMarkerLayer(SetWaypointAction.java:107)
at at.dallermassl.josm.plugin.surveyor.action.SetWaypointAction.actionPerformed(SetWaypointAction.java:82)
at at.dallermassl.josm.plugin.surveyor.SurveyorActionDescription.actionPerformed(SurveyorActionDescription.java:88)
at at.dallermassl.josm.plugin.surveyor.MetaAction.actionPerformed(MetaAction.java:101)
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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
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:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
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)
--8<--
HTH
regards
kai uwe
ps.: I've saved the complete console-output, if one needs it.
Probably fixed with current JOSM and version 1.5 of surveyor plugin.