Changes between Initial Version and Version 1 of Ticket #19618, comment 14
- Timestamp:
- 2020-10-01T00:45:19+02:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19618, comment 14
initial v1 1 The error is caused by the Indoorhelper plugin calling [https://github.com/JOSM/indoorhelper/blob/393c40d06de5ead9c1835bd5a6b09046dc7317be/src/org/openstreetmap/josm/plugins/indoorhelper/IndoorHelperPlugin.java#L115| indoorController.unsetSpecificKeyFilter("repeat_on")]. This method calls [https://github.com/JOSM/indoorhelper/blob/393c40d06de5ead9c1835bd5a6b09046dc7317be/src/controller/IndoorHelperController.java#L438 indoorController.unsetSpecificKeyFilter("repeat_on");] what actually causes a deadlock or something while trying to lock the DataSet at [https://github.com/openstreetmap/josm/blob/master/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java#L360| boolean locked = writeLock();]. How can I access the DataSet safely? I tried to use [https://github.com/openstreetmap/josm/blob/master/src/org/openstreetmap/josm/data/osm/DataSet.java#L1231| public boolean isLocked();] to make sure it's unlocked but this doesn't work. Always if I try to access/modify the DataSet it will run into this error... 1 Update: [https://github.com/JOSM/indoorhelper/issues/7#issuecomment-701684849]