Modify

Opened 3 years ago

Closed 2 years ago

#5583 closed defect (irreproducible)

NoSuchMethodError exception in junctionchecking plugin

Reported by: jttt Owned by: team
Priority: normal Component: Plugin junctionchecking
Version: Keywords:
Cc: joerg.possin@…

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 Changed 3 years ago by stoecker

  • Component changed from Plugin to Plugin junctionchecking

comment:2 Changed 2 years ago by stoecker

  • Resolution set to irreproducible
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.