﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21553	JRE: Failed to remove primitive	pace.martin@…	taylor.smock	"==== What steps will reproduce the problem?
1. Clicking through images.
2. 
3. 

==== What is the expected result?
Showing selected image
==== What happens instead?
Dialog box saying Plugin failed and needs to be updated.
==== Please provide any additional information below. Attach a screenshot if possible.
[[Image()]]
{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-11-01 23:05:46 +0100 (Mon, 01 Nov 2021)
Build-Date:2021-11-01 22:25:18
Revision:18303
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18303 en) Mac OS X 10.16
OS Build number: macOS 12.0.1 (21A559)
Memory Usage: 2075 MB / 3641 MB (909 MB allocated, but free)
Java version: 1.8.0_311-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 84063682 1920×1080 (scaling 1.00×1.00) Display 478218337 1920×1080 (scaling 1.00×1.00) Display 69734272 1440×900 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlp.tk=awt, -Djnlpx.jvm=<java.home>/bin/java, -Djnlpx.splashport=-1, -Djnlpx.home=<java.home>/bin, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true, -Djnlpx.session.data=/var/folders/ds/sdk15nm569b5ld92m86r9msr0000gn/T/session3615505622643212764, -Djnlpx.heapsize=NULL,NULL, -Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.origFilenameArg=/Users/pacemartin/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-755a1e81, -Dsun.awt.warmup=true, -Djava.security.manager]
Dataset consistency test: No problems found

Plugins:
+ Mapillary (2.0.0-alpha.43)
+ apache-commons (35524)
+ apache-http (35589)
+ auto_tools (81)
+ buildings_tools (35823)
+ changeset-viewer (25)
+ easypresets (1623509627)
+ flatlaf (35862)
+ graphview (35640)
+ jna (35662)
+ markseen (14)
+ osm-obj-info (66)
+ turnrestrictions (35640)
+ utilsplugin2 (35856)

Tagging presets:
+ <josm.userdata>/EasyPresets.xml

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
+ https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Overlapping%20Ways.mapcss
+ https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Kaart-Styles.mapcss

Validator rules:
+ https://raw.githubusercontent.com/KaartGroup/KaartValidator/master/kaart.clingstone.validator.mapcss

Last errors/warnings:
- 06111.320 E: Unknown detection ""marking--discrete--arrow--split-left-or-right-or-straight""
- 06168.791 E: Unknown detection ""marking--discrete--arrow--split-left-or-right""
- 06275.074 E: java.io.IOException: java.util.concurrent.TimeoutException. Cause: java.util.concurrent.TimeoutException
- 06563.763 W: java.net.ConnectException: Operation timed out (Connection timed out)
- 06563.763 W: java.net.ConnectException: Operation timed out (Connection timed out)
- 06563.763 W: java.net.ConnectException: Operation timed out (Connection timed out)
- 06563.763 W: java.net.ConnectException: Operation timed out (Connection timed out)
- 06563.763 W: java.net.ConnectException: Operation timed out (Connection timed out)
- 06563.763 W: java.net.ConnectException: Operation timed out (Connection timed out)
- 07348.881 E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: org.openstreetmap.josm.data.vector.VectorWay@67e0dd43



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: mapillary-MapillaryUtils-90 (920)
org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: org.openstreetmap.josm.data.vector.VectorWay@67e0dd43
	at org.openstreetmap.josm.data.osm.QuadBucketPrimitiveStore.removePrimitive(QuadBucketPrimitiveStore.java:128)
	at org.openstreetmap.josm.data.vector.DataStore$LocalQuadBucketPrimitiveStore.removePrimitive(DataStore.java:46)
	at org.openstreetmap.josm.data.vector.DataStore.removePrimitive(DataStore.java:100)
	at org.openstreetmap.josm.data.vector.VectorDataSet.removePrimitive(VectorDataSet.java:161)
	at org.openstreetmap.josm.plugins.mapillary.io.download.MapillaryDownloader.lambda$realDownloadImages$11(MapillaryDownloader.java:159)
	at org.openstreetmap.josm.plugins.mapillary.utils.VectorDataSetUtils.tryWrite(VectorDataSetUtils.java:103)
	at org.openstreetmap.josm.plugins.mapillary.io.download.MapillaryDownloader.lambda$realDownloadImages$13(MapillaryDownloader.java:156)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1584)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.stream.DistinctOps$1$2.accept(DistinctOps.java:175)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
	at org.openstreetmap.josm.plugins.mapillary.io.download.MapillaryDownloader.lambda$realDownloadImages$14(MapillaryDownloader.java:153)
	at java.util.HashMap.forEach(HashMap.java:1291)
	at java.util.Collections$UnmodifiableMap.forEach(Collections.java:1507)
	at org.openstreetmap.josm.plugins.mapillary.io.download.MapillaryDownloader.realDownloadImages(MapillaryDownloader.java:138)
	at org.openstreetmap.josm.plugins.mapillary.io.download.MapillaryDownloader.downloadImages(MapillaryDownloader.java:76)
	at org.openstreetmap.josm.plugins.mapillary.io.download.MapillaryDownloader.downloadImages(MapillaryDownloader.java:65)
	at java.util.Optional.ifPresent(Optional.java:159)
	at org.openstreetmap.josm.plugins.mapillary.gui.layer.geoimage.MapillaryImageEntry.lambda$new$3(MapillaryImageEntry.java:129)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1067)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1703)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172)
}}}
"	defect	closed	normal		Plugin mapillary		fixed	template_report	
