Modify

Opened 4 months ago

Closed 4 months ago

Last modified 3 months ago

#17068 closed defect (fixed)

ConcurrentModificationException at ImageProvider.getImageUrl

Reported by: baptiste.millemathias@… Owned by: team
Priority: normal Milestone: 18.12
Component: Core Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. I installed plugin public_transport
  2. When prompted I acked the request to restart
  3. JOSM restart
  4. baaaam

What is the expected result?

What happens instead?

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-11-28 01:09:01 +0100 (Wed, 28 Nov 2018)
Build-Date:2018-11-28 00:26:41
Revision:14460
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14460 en) Windows 7 64-Bit
OS Build number: Windows 7 Enterprise (7601)
Memory Usage: 565 MB / 1820 MB (229 MB allocated, but free)
Java version: 1.8.0_181-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080

Plugins:
+ FixAddresses
+ Mapillary
+ apache-commons (34506)
+ apache-http (34632)
+ cadastre-fr
+ conflation (0.6.2)
+ continuosDownload
+ ejml (34389)
+ geotools (34513)
+ imagery_offset_db (34641)
+ jaxb (34506)
+ jna (34633)
+ jts (34524)
+ opendata (34698)
+ pt_assistant
+ public_transport
+ utilsplugin2 (34506)

Tagging presets:
+ https://raw.githubusercontent.com/species/josm-preset-transformap/master/transformap.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Dispositifs_Publicitaires&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1

Validator rules:
+ https://github.com/Jungle-Bus/transport_mapcss/raw/gh-pages/transport.validator.zip
+ https://josm.openstreetmap.de/josmfile?page=Rules/MissingStreetnumberOrConscriptionnumber&zip=1

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.lang.ExceptionInInitializerError. Cause: java.util.ConcurrentModificationException


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main (1)
java.lang.ExceptionInInitializerError
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:348)
	at org.openstreetmap.josm.plugins.PluginInformation.loadClass(PluginInformation.java:380)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:784)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:873)
	at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:916)
	at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:1150)
	at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:914)
	at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:284)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:711)
Caused by: java.util.ConcurrentModificationException
	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442)
	at java.util.HashMap$KeyIterator.next(HashMap.java:1466)
	at org.openstreetmap.josm.tools.ImageProvider.getImageUrl(ImageProvider.java:1210)
	at org.openstreetmap.josm.tools.ImageProvider.getImageUrl(ImageProvider.java:1271)
	at org.openstreetmap.josm.tools.ImageProvider.getIfAvailableImpl(ImageProvider.java:958)
	at org.openstreetmap.josm.tools.ImageProvider.getResource(ImageProvider.java:709)
	at org.openstreetmap.josm.actions.JosmAction.<init>(JosmAction.java:85)
	at org.openstreetmap.josm.plugins.mapillary.actions.MapillaryImportAction.<init>(MapillaryImportAction.java:33)
	at org.openstreetmap.josm.plugins.mapillary.MapillaryPlugin.<clinit>(MapillaryPlugin.java:49)
	... 10 more

=== RUNNING THREADS ===
Thread: Nashorn AST Serializer (39) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522)
java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Thread: image-fetcher-0 (33) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Thread: File Watcher (24) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:492)
java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:680)
sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:120)
org.openstreetmap.josm.io.FileWatcher$$Lambda$93/757004314.run(Unknown Source)
java.lang.Thread.run(Thread.java:748)

Thread: Nashorn AST Serializer (41) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522)
java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Thread: pool-1-thread-1 (46) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Thread: AWT-EventQueue-0 (18) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
java.awt.EventQueue.getNextEvent(EventQueue.java:554)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:187)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Thread: Weak reference cleaner (25) of main
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
org.openstreetmap.josm.tools.ListenableWeakReference.clean(ListenableWeakReference.java:60)
org.openstreetmap.josm.tools.ListenableWeakReference$$Lambda$115/1585239756.run(Unknown Source)
java.lang.Thread.run(Thread.java:748)

Thread: AWT-Windows (16) of system
sun.awt.windows.WToolkit.eventLoop(Native Method)
sun.awt.windows.WToolkit.run(WToolkit.java:313)
java.lang.Thread.run(Thread.java:748)

Thread: Reference Handler (2) of system
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:502)
java.lang.ref.Reference.tryHandlePending(Reference.java:191)
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

Thread: Signal Dispatcher (4) of system

Thread: Thread-5 (23) of main
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus0(Native Method)
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus(WindowsNativeDispatcher.java:1007)
sun.nio.fs.WindowsWatchService$Poller.run(WindowsWatchService.java:586)
java.lang.Thread.run(Thread.java:748)

Thread: main-init-7 (35) of main
jdk.nashorn.internal.runtime.regexp.joni.MatcherFactory$1.create(MatcherFactory.java:29)
jdk.nashorn.internal.runtime.regexp.joni.Regex.matcher(Regex.java:154)
jdk.nashorn.internal.runtime.regexp.joni.Regex.matcher(Regex.java:146)
jdk.nashorn.internal.runtime.regexp.JoniRegExp$JoniMatcher.<init>(JoniRegExp.java:115)
jdk.nashorn.internal.runtime.regexp.JoniRegExp.match(JoniRegExp.java:94)
jdk.nashorn.internal.objects.NativeRegExp.replace(NativeRegExp.java:659)
jdk.nashorn.internal.objects.NativeString.replace(NativeString.java:755)
java.lang.invoke.LambdaForm$DMH/466030468.invokeStaticInit_L3_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/792008578.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$MH/252503676.exactInvoker(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/99932706.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$Recompilation$74$31504A$\^eval\_.L:6#L:6#regexEscape(<eval>:7)
java.lang.invoke.LambdaForm$DMH/1989780873.invokeStatic_LL_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/1111793103.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$MH/707622471.exactInvoker(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/763020110.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$Recompilation$72$32110AA$\^eval\_.L:6#L:6#init(<eval>:7)
java.lang.invoke.LambdaForm$DMH/2094548358.invokeStatic_L4_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/415202418.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$MH/707622471.exactInvoker(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/763020110.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$Recompilation$70$11337AA$\^eval\_.L:1#L:1-1(<eval>:1)
java.lang.invoke.LambdaForm$DMH/2094548358.invokeStatic_L4_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/1078869185.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$MH/252503676.exactInvoker(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/99932706.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$Recompilation$64$509AA$\^eval\_.L:1#L:1(<eval>:1)
java.lang.invoke.LambdaForm$DMH/2094548358.invokeStatic_L4_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/1078869185.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$MH/252503676.exactInvoker(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/99932706.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$Recompilation$63$485AAAAAAA$\^eval\_.L:1(<eval>:1)
java.lang.invoke.LambdaForm$DMH/1323165413.invokeStatic_L5_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/25104637.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$MH/280432757.exactInvoker(LambdaForm$MH)
java.lang.invoke.LambdaForm$reinvoker/193489731.dontInline(LambdaForm$reinvoker)
java.lang.invoke.LambdaForm$MH/702804493.guard(LambdaForm$MH)
java.lang.invoke.LambdaForm$reinvoker/193489731.dontInline(LambdaForm$reinvoker)
java.lang.invoke.LambdaForm$MH/702804493.guard(LambdaForm$MH)
java.lang.invoke.LambdaForm$reinvoker/193489731.dontInline(LambdaForm$reinvoker)
java.lang.invoke.LambdaForm$MH/702804493.guard(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/786270296.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$Recompilation$18$41AA$\^eval\_.e#s(<eval>:1)
java.lang.invoke.LambdaForm$DMH/2094548358.invokeStatic_L4_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/415202418.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$reinvoker/1800116349.dontInline(LambdaForm$reinvoker)
java.lang.invoke.LambdaForm$MH/1037293115.guard(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/763020110.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$Recompilation$24$286A$\^eval\_.e#s#L:1(<eval>:1)
java.lang.invoke.LambdaForm$DMH/81628611.invokeStatic_L3_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/1747096067.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$MH/707622471.exactInvoker(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/763020110.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$Recompilation$23$\^eval\_.opening_hours#L:43$:split-2(<eval>:44)
java.lang.invoke.LambdaForm$DMH/1989780873.invokeStatic_LL_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/1734991204.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$MH/707622471.exactInvoker(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/763020110.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$Recompilation$20$146001AA$\^eval\_.opening_hours#L:43(<eval>:44)
java.lang.invoke.LambdaForm$DMH/2094548358.invokeStatic_L4_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/1078869185.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$MH/252503676.exactInvoker(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/99932706.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$Recompilation$19$144696AAAAAAA$\^eval\_.opening_hours(<eval>:43)
java.lang.invoke.LambdaForm$DMH/1323165413.invokeStatic_L5_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/25104637.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$MH/280432757.exactInvoker(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/786270296.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$Recompilation$18$41AA$\^eval\_.e#s(<eval>:1)
java.lang.invoke.LambdaForm$DMH/2094548358.invokeStatic_L4_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$BMH/415202418.reinvoke(LambdaForm$BMH)
java.lang.invoke.LambdaForm$MH/707622471.exactInvoker(LambdaForm$MH)
java.lang.invoke.LambdaForm$MH/763020110.linkToCallSite(LambdaForm$MH)
jdk.nashorn.internal.scripts.Script$17$\^eval\_.:program(<eval>:1)
java.lang.invoke.LambdaForm$DMH/1989780873.invokeStatic_LL_L(LambdaForm$DMH)
java.lang.invoke.LambdaForm$MH/493901423.invokeExact_MT(LambdaForm$MH)
jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)
jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:449)
jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:406)
jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)
jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:155)
javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
org.openstreetmap.josm.data.validation.tests.OpeningHourTest.initialize(OpeningHourTest.java:55)
org.openstreetmap.josm.data.validation.tests.ConditionalKeys.initialize(ConditionalKeys.java:50)
org.openstreetmap.josm.data.validation.OsmValidator.initializeTests(OsmValidator.java:401)
org.openstreetmap.josm.data.validation.OsmValidator.initializeTests(OsmValidator.java:384)
org.openstreetmap.josm.gui.MainInitialization$$Lambda$193/1573605215.run(Unknown Source)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Thread: Java2D Disposer (13) of system
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
sun.java2d.Disposer.run(Disposer.java:148)
java.lang.Thread.run(Thread.java:748)

Thread: TimerQueue (20) of system
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.DelayQueue.take(DelayQueue.java:223)
javax.swing.TimerQueue.run(TimerQueue.java:174)
java.lang.Thread.run(Thread.java:748)

Thread: main (1)
Stacktrace see above.

Thread: WeakCollectionCleaner (43) of main
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
org.geotools.util.WeakCollectionCleaner.run(WeakCollectionCleaner.java:66)

Thread: Nashorn AST Serializer (40) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522)
java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Thread: AWT-Shutdown (19) of system
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:502)
sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:295)
java.lang.Thread.run(Thread.java:748)

Thread: Timer-0 (44) of main
java.lang.Object.wait(Native Method)
java.util.TimerThread.mainLoop(Timer.java:552)
java.util.TimerThread.run(Timer.java:505)

Thread: Thread-10 (45) of main
java.io.WinNTFileSystem.getLastModifiedTime(Native Method)
java.io.File.lastModified(File.java:943)
java.util.zip.ZipFile.<init>(ZipFile.java:225)
java.util.zip.ZipFile.<init>(ZipFile.java:155)
java.util.jar.JarFile.<init>(JarFile.java:166)
java.util.jar.JarFile.<init>(JarFile.java:103)
sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:930)
sun.misc.URLClassPath$JarLoader.access$800(URLClassPath.java:791)
sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:876)
sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:869)
java.security.AccessController.doPrivileged(Native Method)
sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:868)
sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:841)
sun.misc.URLClassPath$3.run(URLClassPath.java:565)
sun.misc.URLClassPath$3.run(URLClassPath.java:555)
java.security.AccessController.doPrivileged(Native Method)
sun.misc.URLClassPath.getLoader(URLClassPath.java:554)
sun.misc.URLClassPath.getLoader(URLClassPath.java:519)
sun.misc.URLClassPath.getNextLoader(URLClassPath.java:484)
sun.misc.URLClassPath.getResource(URLClassPath.java:238)
java.net.URLClassLoader$1.run(URLClassLoader.java:365)
java.net.URLClassLoader$1.run(URLClassLoader.java:362)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:361)
java.lang.ClassLoader.loadClass(ClassLoader.java:424)
java.lang.ClassLoader.loadClass(ClassLoader.java:357)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:348)
org.openstreetmap.josm.plugins.opendata.core.modules.ModuleInformation.loadClass(ModuleInformation.java:247)
org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler.loadModule(ModuleHandler.java:236)
org.openstreetmap.josm.plugins.opendata.core.modules.ModuleHandler.loadModules(ModuleHandler.java:295)
org.openstreetmap.josm.plugins.opendata.OdPlugin.loadModules(OdPlugin.java:196)
org.openstreetmap.josm.plugins.opendata.OdPlugin.lambda$new$1(OdPlugin.java:84)
org.openstreetmap.josm.plugins.opendata.OdPlugin$$Lambda$232/1690294013.run(Unknown Source)
java.lang.Thread.run(Thread.java:748)

Thread: GT authority factory disposer (38) of main
java.lang.Object.wait(Native Method)
java.util.TimerThread.mainLoop(Timer.java:552)
java.util.TimerThread.run(Timer.java:505)

Thread: Finalizer (3) of system
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)

Thread: Nashorn AST Serializer (42) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522)
java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Thread: JCS-ElementEventQueue-Thread-7 (37) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Thread: Attach Listener (5) of system

Attachments (0)

Change History (6)

comment:1 Changed 4 months ago by Don-vip

Component: CorePlugin mapillary
Owner: changed from team to floscher
Summary: JOSM report a bug when restarting after having install plugin public_transportConcurrentModificationException at MapillaryImportAction.<init>

comment:2 Changed 4 months ago by floscher

Component: Plugin mapillaryCore
Owner: changed from floscher to team

I believe this isn't caused by the Mapillary plugin. This occured while executing https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/tools/ImageProvider.java?rev=14460#L1210 where an iteration over ImageProvider.classloaders happens. This looks to me as if that collection was modified while the iteration was in progress.

comment:3 Changed 4 months ago by Don-vip

Ticket #15426 has been marked as a duplicate of this ticket.

comment:4 Changed 4 months ago by Don-vip

Milestone: 18.12
Summary: ConcurrentModificationException at MapillaryImportAction.<init>ConcurrentModificationException at ImageProvider.getImageUrl

Right.

comment:5 Changed 4 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 14506/josm:

fix #17068 - synchronize inner classloader set of ImageProvider

comment:6 Changed 3 months ago by Don-vip

Ticket #17142 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.