Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#21300 closed defect (fixed)

[PATCH] NPE: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null

Reported by: skyper Owned by: team
Priority: normal Milestone: 21.10
Component: Core Version: latest
Keywords: template_report search Cc:

Description

What steps will reproduce the problem?

  1. Have same data
  2. In Search Dialog, search for maxweight< with default settings

What is the expected result?

Either a search for the string or an indication that this expression does not fit and no option to excecute the search.

What happens instead?

NPE

Please provide any additional information below. Attach a screenshot if possible.

Quoting the string ("maxweight<") gives a proper result but the NPE without quotes should not happen.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-09-05 22:35:08 +0200 (Sun, 05 Sep 2021)
Revision:18194
Build-Date:2021-09-05 20:36:08
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18194 en) Linux Debian GNU/Linux 11 (bullseye)
Java version: 17-ea+19-Debian-1, Debian, OpenJDK 64-Bit Server VM
Environment variable LANG: en_US.utf8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890

Last errors/warnings:
- 02091.530 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (21) of main
java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null
	at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1769)
	at java.base/java.util.regex.Matcher.reset(Matcher.java:415)
	at java.base/java.util.regex.Matcher.<init>(Matcher.java:252)
	at java.base/java.util.regex.Pattern.matcher(Pattern.java:1134)
	at org.openstreetmap.josm.data.osm.search.SearchCompiler$ValueComparison.match(SearchCompiler.java:814)
	at org.openstreetmap.josm.actions.search.SearchAction$SearchTask.realRun(SearchAction.java:399)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at java.base/java.lang.Thread.run(Thread.java:831)

=== RUNNING THREADS ===
Thread: ForkJoinPool.commonPool-worker-3 (34)
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:410)
java.base@17-ea/java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1718)
java.base@17-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1615)
java.base@17-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Thread: TMS-downloader-10 (94) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-5 (85) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: FileSystemWatchService (24) of main
java.base@17-ea/sun.nio.fs.LinuxWatchService.poll(Native Method)
java.base@17-ea/sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: File Watcher (25) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:673)
java.base@17-ea/sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
app//org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:120)
app//org.openstreetmap.josm.io.FileWatcher$$Lambda$361/0x000000080130d428.run(Unknown Source)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: Timer-3 (79) of main
java.base@17-ea/java.lang.Object.wait(Native Method)
java.base@17-ea/java.lang.Object.wait(Object.java:338)
java.base@17-ea/java.util.TimerThread.mainLoop(Timer.java:537)
java.base@17-ea/java.util.TimerThread.run(Timer.java:516)

Thread: Timer-1 (57) of main
java.base@17-ea/java.lang.Object.wait(Native Method)
java.base@17-ea/java.util.TimerThread.mainLoop(Timer.java:563)
java.base@17-ea/java.util.TimerThread.run(Timer.java:516)

Thread: WMS-downloader-0 (66) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-8 (92) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-20 (109) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-4 (84) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TimerQueue (23) of system
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
java.base@17-ea/java.util.concurrent.DelayQueue.take(DelayQueue.java:229)
java.desktop@17-ea/javax.swing.TimerQueue.run(TimerQueue.java:171)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: image-fetcher-0 (39) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: message-notifier-0 (50) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
java.base@17-ea/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
java.base@17-ea/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: changeset-updater-0 (51) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
java.base@17-ea/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
java.base@17-ea/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: DestroyJavaVM (52) of main

Thread: TMS-downloader-6 (86) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: styled-map-renderer-7 (141) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:410)
java.base@17-ea/java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1718)
java.base@17-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1615)
java.base@17-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Thread: GT authority factory disposer (42) of main
java.base@17-ea/java.lang.Object.wait(Native Method)
java.base@17-ea/java.util.TimerThread.mainLoop(Timer.java:563)
java.base@17-ea/java.util.TimerThread.run(Timer.java:516)

Thread: Timer-2 (58) of main
java.base@17-ea/java.lang.Object.wait(Native Method)
java.base@17-ea/java.lang.Object.wait(Object.java:338)
java.base@17-ea/java.util.TimerThread.mainLoop(Timer.java:537)
java.base@17-ea/java.util.TimerThread.run(Timer.java:516)

Thread: TMS-downloader-1 (81) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-3 (83) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: WMS-downloader-1 (67) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: styled-map-renderer-5 (139) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:410)
java.base@17-ea/java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1718)
java.base@17-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1615)
java.base@17-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Thread: AWT-XAWT (18) of system
java.desktop@17-ea/sun.awt.X11.XToolkit.waitForEvents(Native Method)
java.desktop@17-ea/sun.awt.X11.XToolkit.run(XToolkit.java:679)
java.desktop@17-ea/sun.awt.X11.XToolkit.run(XToolkit.java:643)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: WeakCollectionCleaner (43) of main
java.base@17-ea/java.lang.Object.wait(Native Method)
java.base@17-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@17-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
org.geotools.util.WeakCollectionCleaner.run(WeakCollectionCleaner.java:65)

Thread: TMS-downloader-2 (82) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: styled-map-renderer-4 (138) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:410)
java.base@17-ea/java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1718)
java.base@17-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1615)
java.base@17-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Thread: TMS-downloader-12 (101) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-14 (103) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: Notification Thread (12) of system

Thread: TMS-downloader-21 (110) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: styled-map-renderer-6 (140) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1716)
java.base@17-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1615)
java.base@17-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Thread: TMS-downloader-24 (113) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: Java2D Disposer (17) of system
java.base@17-ea/java.lang.Object.wait(Native Method)
java.base@17-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@17-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
java.desktop@17-ea/sun.java2d.Disposer.run(Disposer.java:144)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: Weak reference cleaner (26) of main
java.base@17-ea/java.lang.Object.wait(Native Method)
java.base@17-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@17-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
app//org.openstreetmap.josm.tools.ListenableWeakReference.clean(ListenableWeakReference.java:60)
app//org.openstreetmap.josm.tools.ListenableWeakReference$$Lambda$409/0x0000000801392f28.run(Unknown Source)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: Reference Handler (2) of system
java.base@17-ea/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
java.base@17-ea/java.lang.ref.Reference.processPendingReferences(Reference.java:253)
java.base@17-ea/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:215)

Thread: TMS-downloader-18 (107) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-23 (112) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: Finalizer (3) of system
java.base@17-ea/java.lang.Object.wait(Native Method)
java.base@17-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@17-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
java.base@17-ea/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:171)

Thread: TMS-downloader-9 (93) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: WMS-downloader-2 (68) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: RemoteControl HTTP Server (48) of main
java.base@17-ea/sun.nio.ch.Net.accept(Native Method)
java.base@17-ea/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:755)
java.base@17-ea/java.net.ServerSocket.implAccept(ServerSocket.java:672)
java.base@17-ea/java.net.ServerSocket.platformImplAccept(ServerSocket.java:638)
java.base@17-ea/java.net.ServerSocket.implAccept(ServerSocket.java:614)
java.base@17-ea/java.net.ServerSocket.implAccept(ServerSocket.java:571)
java.base@17-ea/java.net.ServerSocket.accept(ServerSocket.java:529)
app//org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:104)

Thread: TMS-downloader-22 (111) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-0 (80) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-15 (104) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: Signal Dispatcher (4) of system

Thread: Common-Cleaner (11) of InnocuousThreadGroup
java.base@17-ea/java.lang.Object.wait(Native Method)
java.base@17-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@17-ea/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)
java.base@17-ea/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:161)

Thread: TMS-downloader-7 (87) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: ForkJoinPool.commonPool-worker-1 (32) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1716)
java.base@17-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1615)
java.base@17-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Thread: TMS-downloader-16 (105) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: ForkJoinPool.commonPool-worker-2 (33) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1716)
java.base@17-ea/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1615)
java.base@17-ea/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Thread: AWT-EventQueue-0 (21) of main
Stacktrace see above.

Thread: JCS-ElementEventQueue-Thread-1 (41) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-17 (106) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: Map Status Collector (59) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
app//org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:438)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: main-worker-0 (20) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: AWT-Shutdown (22) of system
java.base@17-ea/java.lang.Object.wait(Native Method)
java.base@17-ea/java.lang.Object.wait(Object.java:338)
java.desktop@17-ea/sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:291)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-13 (102) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-19 (108) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: TMS-downloader-11 (95) of main
java.base@17-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
java.base@17-ea/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3455)
java.base@17-ea/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3426)
java.base@17-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
java.base@17-ea/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:107)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:28)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@17-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@17-ea/java.lang.Thread.run(Thread.java:831)

Thread: Timer-0 (44) of main
java.base@17-ea/java.lang.Object.wait(Native Method)
java.base@17-ea/java.util.TimerThread.mainLoop(Timer.java:563)
java.base@17-ea/java.util.TimerThread.run(Timer.java:516)

Thread: RemoteControl HTTP Server (49) of main
java.base@17-ea/sun.nio.ch.Net.accept(Native Method)
java.base@17-ea/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:755)
java.base@17-ea/java.net.ServerSocket.implAccept(ServerSocket.java:672)
java.base@17-ea/java.net.ServerSocket.platformImplAccept(ServerSocket.java:638)
java.base@17-ea/java.net.ServerSocket.implAccept(ServerSocket.java:614)
java.base@17-ea/java.net.ServerSocket.implAccept(ServerSocket.java:571)
java.base@17-ea/java.net.ServerSocket.accept(ServerSocket.java:529)
app//org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:104)

Attachments (3)

21300.patch (6.0 KB ) - added by taylor.smock 3 years ago.
Add validate function to Match to ensure that all required information is present. Currently only overriden in ValueComparison.
21300.2.patch (6.0 KB ) - added by taylor.smock 3 years ago.
Reference value must not be null -> number as reference value expected (otherwise identical to attachment:21300.patch)
21300.3.patch (6.3 KB ) - added by taylor.smock 3 years ago.
Message change to "Reference value for ''{0}'' expected", with code to determine the {0} placeholder. Otherwise, same as attachment:21300.patch

Download all attachments as: .zip

Change History (15)

comment:1 by skyper, 3 years ago

Version: latest

comment:2 by taylor.smock, 3 years ago

Basic test for reproducing:

    @Test
    void testNonRegression21300() {
        Match search = assertDoesNotThrow(() -> SearchCompiler.compile("maxweight<"));
        Node node = new Node(LatLon.ZERO);
        node.put("maxweight", "5");
        assertDoesNotThrow(() -> search.match(node));
    }

Solutions:

  • Fix NPE in match code
  • Throw SearchParseError when initially creating the search object (this should give feedback, probably what you (@skyper) want)

by taylor.smock, 3 years ago

Attachment: 21300.patch added

Add validate function to Match to ensure that all required information is present. Currently only overriden in ValueComparison.

comment:3 by taylor.smock, 3 years ago

Summary: NPE: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null[PATCH] NPE: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null

@skyper: The feedback text is currently Reference value must not be null. I don't have anything better to use, but it may be confusing to users.

comment:4 by skyper, 3 years ago

Maybe, number as reference value expected which is somehow similar to Range of primitive ids expected if you search for id:.

Note that the background is highlighted as indicator as well, in case of id: but not for maxspeed>, so "more" (>) and "less" (<) without anything following should be highlighted as invalid, too.

in reply to:  4 comment:5 by taylor.smock, 3 years ago

Replying to skyper:

Maybe, number as reference value expected which is somehow similar to Range of primitive ids expected if you search for id:.

Note that the background is highlighted as indicator as well, in case of id: but not for maxspeed>, so "more" (>) and "less" (<) without anything following should be highlighted as invalid, too.

I actually got the highlighting "for free" with attachment:21300.patch. I was originally thinking about doing the same thing for =, but it works as is, and I don't want to break things for people (i.e., if they already have filters with it).

by taylor.smock, 3 years ago

Attachment: 21300.2.patch added

Reference value must not be null -> number as reference value expected (otherwise identical to attachment:21300.patch)

comment:6 by skyper, 3 years ago

Arg, sorry, I was wrong as it works with letters, too (name>A).

Reference value for '>' or '<' expected?

in reply to:  6 comment:7 by taylor.smock, 3 years ago

Replying to skyper:

Arg, sorry, I was wrong as it works with letters, too (name>A).

Reference value for '>' or '<' expected?

Is your expected behavior for it to work, or not work?

Examples with letters:
tracktype<grade3 (you want to verify all grades better than grade3), natural<tree (you are looking at all natural objects, but you are splitting them up via a search), etc.

comment:8 by skyper, 3 years ago

Actually, I was looking for "*:condition=*maxweight<*", e.g. a text string search for <. As > and < have a special meaning, I am fine that I have to escape it to search for the symbol.

To get rid of the NPE, I would expect to not work without directly following letter or number. Letters should work, as they do atm, as it is a feature and useful like tracktype>grade tracktype<grade3 or place=* name>E name<S.

by taylor.smock, 3 years ago

Attachment: 21300.3.patch added

Message change to "Reference value for ''{0}'' expected", with code to determine the {0} placeholder. Otherwise, same as attachment:21300.patch

comment:9 by Don-vip, 3 years ago

Milestone: 21.09

comment:10 by Don-vip, 3 years ago

Resolution: fixed
Status: newclosed

In 18195/josm:

fix #21300 - NPE in search compiler (patch by taylor.smock)

comment:11 by Don-vip, 3 years ago

In 18202/josm:

see #21300 - fix potential NPE detected by coverity

comment:12 by Don-vip, 3 years ago

Milestone: 21.0921.10

Milestone renamed

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.