Modify

Opened 16 years ago

Closed 16 years ago

#537 closed defect (fixed)

Surveyor won't add markers under Debian & Ubuntu

Reported by: allgemein@… Owned by: framm
Priority: minor Milestone:
Component: Plugin Version: latest
Keywords: the surveyer plugin throws an exception Surveyor won't add markers under Debian & Ubuntu Cc:

Description

how to reproduce:

  • run josm
  • enable "Capture GPS" in the "LiveGPS" menu
  • choose "LiveGPS ->Surveyer -> Hotel"
  • exception is thrown

my plugins:

  • livegps 1.2.1
  • measurement
  • namefinder 1.0
  • slippy_map_chooser
  • slippymap r5692
  • surveyer 1.3.3
  • utilsplugin 0.5
  • validator r5609
  • wmsplugin 3.0
  • ywms r5195

running on Debian testing

the output of the exception:

Path: josm
URL: http://www.openstreetmap.de/svn/josm
Repository Root: http://www.openstreetmap.de/svn/josm
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 493
Node Kind: directory
Last Changed Author: gebner
Last Changed Rev: 493
Last Changed Date: 2007-12-17 01:35:58 +0100 (Mon, 17 Dec 2007)

java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer.<init>(Ljava/util/Collection;Ljava/lang/String;Ljava/io/File;)V

at at.dallermassl.josm.plugin.surveyor.action.SetWaypointAction.getGpsLayer(SetWaypointAction.java:92)
at at.dallermassl.josm.plugin.surveyor.action.SetWaypointAction.actionPerformed(SetWaypointAction.java:52)
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:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Attachments (0)

Change History (4)

comment:1 by JonathanP, 16 years ago

Keywords: Surveyor won't add markers under Debian & Ubuntu added; surveyer exception removed

I am also having this problem on Ubuntu 7.10. I have tried JOSM from 30-3-2008, and the latest(at this time) version 13-05-2008.

The bug is present whether using OpenJDK 6 or Sun's own JRE.

The version of Surveyor I am using is 1.4

Please could someone involved in development take a look at this?

Path: josm
URL: http://www.openstreetmap.de/svn/josm
Repository Root: http://www.openstreetmap.de/svn/josm
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 639
Node Kind: directory
Last Changed Author: gebner
Last Changed Rev: 639
Last Changed Date: 2008-05-13 10:13:58 +0200 (Tue, 13 May 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)

comment:2 by anonymous, 16 years ago

Keywords: the surveyer plugin throws an exception added
Summary: the surveyer plugin throws an exceptionSurveyor won't add markers under Debian & Ubuntu

in reply to:  1 comment:3 by JonathanP, 16 years ago

I have completed a patch to fix this, I will send it to the devs mailing list.
Replying to JonathanP:

comment:4 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

Probably fixed with current JOSM and version 1.5 of surveyor plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.