﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14963	IllegalStateException: The layer has already been destroyed: MapdustLayer	okkarator@…	jBeata	"==== What steps will reproduce the problem?
1. start josm
2. download an small area (about 200x100m)
3. zommed in
4. -> failure

==== What is the expected result?
nothing special, just download an small map-area and zoomed in

==== What happens instead?
nothing special too. I zoomed in and die bug-window appeared

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-05-29 16:19:58 +0200 (Mon, 29 May 2017)
Build-Date:2017-05-29 14:25:03
Revision:12275
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12275 de) Windows 10 64-Bit
OS Build number: Windows 10 Pro 1703 (15063)
Memory Usage: 192 MB / 989 MB (49 MB allocated, but free)
Java version: 1.8.0_131-b11, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1920x1200
Maximum Screen Size: 1920x1200
Dataset consistency test: No problems found

Plugins:
+ BuildingGeneralization (1010)
+ HouseNumberTaggingTool (33160)
+ PicLayer (33385)
+ gson (32680)
+ indoorhelper (33088)
+ mapdust (33232)
+ measurement (33088)
+ terracer (33088)
+ turnrestrictions (33088)

Map paint styles:
+ <josm.pref>\styles\indoor.mapcss

Validator rules:
- <josm.pref>\validator\indoorhelper.validator.mapcss

Last errors/warnings:
- E: Handled by bug report queue: java.lang.IllegalStateException: The layer has already been destroyed: MapdustLayer [name=MapDust, associatedFile=null]


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (17) of main
java.lang.IllegalStateException: The layer has already been destroyed: MapdustLayer [name=MapDust, associatedFile=null]
	at org.openstreetmap.josm.gui.layer.Layer.destroy(Layer.java:301)
	at org.openstreetmap.josm.plugins.mapdust.MapdustPlugin.updateView(MapdustPlugin.java:600)
	at org.openstreetmap.josm.plugins.mapdust.MapdustPlugin$2.run(MapdustPlugin.java:563)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
}}}
"	defect	closed	normal		Plugin mapdust	latest	fixed	template_report	mpasha
