﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20614	"""Select Duplicate Buildings"" tool in the Mapathoner plug-in does not work"	stevenjo1@…	team	"==== What steps will reproduce the problem?
1. Ensure nothing is selected in the task area (HOTOSM mapping)
2. Click on tool in drop-down Mapathoner menu.
3. 

==== What is the expected result? 

Duplicated buildings will be highlighted in the task area.

==== What happens instead? 

Error message: ""An unexpected exception occurred that may have come from the 'mapathoner' plug-in. According to the information within the plug-in, the author is qeef.""

==== Please provide any additional information below. Attach a screenshot if possible.

Mac OS Big Sur 11.2.3
JOSM v. 17560
First noticed the issue a day or two ago, but didn't file a bug report.

{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-03-14 18:17:35 +0100 (Sun, 14 Mar 2021)
Build-Date:2021-03-14 17:21:03
Revision:17560
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17560 en_GB) Mac OS X 10.16
OS Build number: macOS 11.2.3 (20D91)
Memory Usage: 1265 MB / 1820 MB (549 MB allocated, but free)
Java version: 1.8.0_281-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69985664 2048×1152 (scaling 1.00×1.00)
Maximum Screen Size: 2048×1152
Best cursor sizes: 16×16→16×16, 32×32→32×32
VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-404951c4, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Dmacosx.jnlpx.dock.name=JOSM, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-6da8adbe.icns, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp , -Djnlpx.jvm=""<java.home>/bin/java""]
Dataset consistency test: No problems found

Plugins:
+ CADTools (1008)
+ buildings_tools (35669)
+ mapathoner (1.1.6)
+ markseen (14)
+ measurement (35640)
+ scripting (30798)
+ terracer (35640)
+ utilsplugin2 (35691)

Map paint styles:
+ https://github.com/MissingMaps/josm_styles/archive/master.zip
- ${HOME}/Desktop/JOSM me, baby./applepaintstyles-main.zip

Last errors/warnings:
- 34770.780 W: Unknown remote control parameter title, skipping it
- 82644.730 W: Unknown remote control parameter max_zoom, skipping it
- 82644.731 W: Unknown remote control parameter title, skipping it
- 86372.708 W: Unknown remote control parameter max_zoom, skipping it
- 86372.708 W: Unknown remote control parameter title, skipping it
- 88315.389 W: Unknown remote control parameter max_zoom, skipping it
- 88315.390 W: Unknown remote control parameter title, skipping it
- 89912.202 W: Unknown remote control parameter max_zoom, skipping it
- 89912.202 W: Unknown remote control parameter title, skipping it
- 90071.877 E: Handled by bug report queue: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.osm.QuadBuckets.add(Lorg/openstreetmap/josm/data/osm/IPrimitive;)Z



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-2 (52) of javawsApplicationThreadGroup
java.lang.NoSuchMethodError: org.openstreetmap.josm.data.osm.QuadBuckets.add(Lorg/openstreetmap/josm/data/osm/IPrimitive;)Z
	at org.openstreetmap.josm.plugins.mapathoner.SelectDuplicateBuildingAction.actionPerformed(SelectDuplicateBuildingAction.java:103)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
	at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125)
	at java.awt.MenuItem.processActionEvent(MenuItem.java:669)
	at java.awt.MenuItem.processEvent(MenuItem.java:628)
	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:357)
	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:345)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:763)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
}}}
"	defect	closed	normal		Plugin mapathoner		fixed	template_report	
