﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16413	Area selector plugin crash	anonymous	team	"==== What steps will reproduce the problem?
1. Open JOSM with the Area selector plugin enabled
2. Click on any feature on the JOSM map. 


==== What is the expected result?

The building shape is digitalized and a address dialog box show up. 

==== What happens instead?

The building shape is digitalized, but the address dialog box never show up. A dialog box shows up with the following: ""An unexpected execption occured that may have come from the areaselector plugin. (...)

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-06-19 19:44:45 +0200 (Tue, 19 Jun 2018)
Build-Date:2018-06-19 17:47:20
Revision:13959
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13959 en) Linux Ubuntu 16.04.4 LTS
Memory Usage: 706 MB / 1303 MB (368 MB allocated, but free)
Java version: 1.8.0_171-8u171-b11-0ubuntu0.16.04.1-b11, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1366x768, :0.1 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-8-jre:amd64-8u171-b11-0ubuntu0.16.04.1
VM arguments: [-Djosm.restart=true, -Djosm.dir.name=JOSM-latest, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
+ BuildingGeneralization (23)
+ Mapillary (v1.5.14+post13733)
+ OpeningHoursEditor (34095)
+ apache-commons (34109)
+ apache-http (34109)
+ areaselector (336)
+ austriaaddresshelper (1525848529)
+ buildings_tools (34212)
+ changeset-viewer (15)
+ contourmerge (1032)
+ ejml (34126)
+ log4j (34038)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Landcover&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1

Last errors/warnings:
- W: Update plugins - org.openstreetmap.josm.plugins.PluginHandler$UpdatePluginsMessagePanel[,0,0,0x0,invalid,layout=java.awt.GridBagLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.osm.DataSet.getPrimitiveById(JLorg/openstreetmap/josm/data/osm/OsmPrimitiveType;)Lorg/openstreetmap/josm/data/osm/OsmPrimitive;
- W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>BuildingGeneralization</li><li>apache-commons</li><li>Mapillary</li><li>changeset-viewer</li><li>ejml</li><li>OpeningHoursEditor</li><li>areaselector</li><li>buildings_tools</li><li>austriaaddresshelper</li><li>apache-http</li><li>contourmerge</li><li>log4j</li></ul>The plugins are not going to be loaded.</html>


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
java.lang.NoSuchMethodError: org.openstreetmap.josm.data.osm.DataSet.getPrimitiveById(JLorg/openstreetmap/josm/data/osm/OsmPrimitiveType;)Lorg/openstreetmap/josm/data/osm/OsmPrimitive;
	at org.openstreetmap.josm.plugins.areaselector.AreaSelectorAction.mergeNodes(AreaSelectorAction.java:372)
	at org.openstreetmap.josm.plugins.areaselector.AreaSelectorAction.createArea(AreaSelectorAction.java:235)
	at org.openstreetmap.josm.plugins.areaselector.AreaSelectorAction$1.run(AreaSelectorAction.java:145)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	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:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	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 areaselector		fixed	template_report	
