﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11689	JOSM hangs when removing last data layer when validation layer is present	aceman	aceman	"When I finish my editing and upload the changeset, I try to remove the data layer (clicking the trashcan icon in layers pane). Then JOSM frequently hangs there.

There is nothing relevant in the console:

INFO: PUT https://api.openstreetmap.org/api/0.6/changeset/32614331/close...
INFO: OK
---- here is the hang ----

When I kill the java process then the console output continues:

[INFO] CompositeCacheManager - Shutdown hook activated.  Shutdown was not called.  Shutting down JCS.
[INFO] ElementEventQueue - Element event queue destroyed: org.apache.commons.jcs.engine.control.event.ElementEventQueue@cedeef
[INFO] CompositeCache - In DISPOSE, [mapillary] fromRemote [false]
[INFO] CompositeCache - In DISPOSE, [mapillary] auxiliary [mapillary]
[INFO] CompositeCache - In DISPOSE, [mapillary] put 0 into auxiliary mapillary
[INFO] AbstractDiskCache - No longer waiting for event queue to finish: Cache Event Queue
Working = true
Alive = false
Empty = true
Size = 0
[INFO] AbstractDiskCache - In dispose, destroying event queue.
[INFO] CacheEventQueue - Destroy was called after queue was destroyed.  Doing nothing.  Stats =  Cache Event Queue
Working = true
Alive = false
Empty = true
Size = 0
[INFO] IndexedDiskCache - Region [mapillary] Saving keys to: mapillary, key count: 20
[INFO] IndexedDiskCache - Region [mapillary] Finished saving keys.
[INFO] IndexedDiskCache - Region [mapillary] Shutdown complete.
[INFO] CompositeCache - In DISPOSE, [mapillary] disposing of memory cache.
[INFO] AbstractMemoryCache - Memory Cache dispose called.
[INFO] CompositeCache - In DISPOSE, [TMS] fromRemote [false]
[INFO] CompositeCache - In DISPOSE, [TMS] auxiliary [TMS]
[INFO] CompositeCache - In DISPOSE, [TMS] put 199 into auxiliary TMS
[INFO] AbstractDiskCache - No longer waiting for event queue to finish: Cache Event Queue
Working = true
Alive = false
Empty = true
Size = 0
[INFO] AbstractDiskCache - In dispose, destroying event queue.
[INFO] CacheEventQueue - Destroy was called after queue was destroyed.  Doing nothing.  Stats =  Cache Event Queue
Working = true
Alive = false
Empty = true
Size = 0
[INFO] IndexedDiskCache - Region [TMS] Beginning Optimization #1
[INFO] IndexedDiskCache - Region [TMS] Defragmentation took 929ms.. File Size (before=126697216) (after=126697216) (truncating to 91313750)
[INFO] IndexedDisk - Truncating file [/homenew/inet/.josm/cache/tiles/TMS.data] to 91313750
[INFO] IndexedDiskCache - Region [TMS] Finished #1 Optimization took 972ms.
[INFO] IndexedDiskCache - Region [TMS] Saving keys to: TMS, key count: 7591
[INFO] IndexedDiskCache - Region [TMS] Finished saving keys.
[INFO] IndexedDiskCache - Region [TMS] Shutdown complete.
[INFO] CompositeCache - In DISPOSE, [TMS] disposing of memory cache.
[INFO] AbstractMemoryCache - Memory Cache dispose called.

So it looks like JOSM is not dead (it shuts down when killed) just hangs/loops in the UI somewhere.


Revision: 8595
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-07-10 22:36:42 +0200 (Fri, 10 Jul 2015)
Build-Date: 2015-07-11 01:32:07
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8595

Identification: JOSM/1.5 (8595 sk) Linux Slackware 14.0
Memory Usage: 374 MB / 910 MB (280 MB allocated, but free)
Java version: 1.8.0_45, Oracle Corporation, Java HotSpot(TM) Server VM

Plugins:
- DirectDownload (31241)
- FixAddresses (31241)
- HouseNumberTaggingTool (31241)
- Mapillary (31331)
- OpeningHoursEditor (31241)
- buildings_tools (31361)
- commons-imaging (31241)
- freemapkapor (unknown)
- graphview (31241)
- imagery_offset_db (31241)
- kendzi3d (1.0.184)
- kendzi3d-jogl (37)
- log4j (31231)
- plastic_laf (31126)
- reverter (31241)
- routing (31241)
- turnrestrictions (31241)
- undelete (31241)
- utilsplugin2 (31241)
- wikipedia (31241)

Last errors/warnings:
- W: Could not get presets icon styles/standard/misc/landmark/water_tower.svg
- E: Zlyhala lokalizácia obrázku 'presets/recycling.png'
- W: Could not get presets icon presets/recycling.png
- E: Zlyhala lokalizácia obrázku 'presets/marina.png'
- W: Could not get presets icon presets/marina.png
"	defect	closed	major	15.08	Core	latest	fixed		michael2402
