Modify

Opened 15 years ago

Closed 14 years ago

#5583 closed defect (irreproducible)

NoSuchMethodError exception in junctionchecking plugin

Reported by: jttt Owned by: team
Priority: normal Milestone:
Component: Plugin junctionchecking Version:
Keywords: Cc: joerg

Description

How to reproduce:

click on any node generated by junctionchecking plugin

How to fix:

Replace call to Dataset.addSelected(Collection,boolean) with Dataset.addSelected(Collection). (firing selection event is mandatory now).

Complete exception stacktrace:

java.lang.NoSuchMethodError: org.openstreetmap.josm.data.osm.DataSet.addSelected(Ljava/util/Collection;Z)V
	at org.openstreetmap.josm.plugins.JunctionChecker.SelectionChanger.selectionChanged(SelectionChanger.java:45)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager.fireEvents(SelectionEventManager.java:78)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager.access$2(SelectionEventManager.java:76)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager$1.run(SelectionEventManager.java:85)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Attachments (0)

Change History (2)

comment:1 by stoecker, 15 years ago

Component: PluginPlugin junctionchecking

comment:2 by stoecker, 14 years ago

Resolution: irreproducible
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.