Modify

Opened 9 months ago

Closed 8 months ago

#16714 closed defect (fixed)

NPE at DuplicateRelationAction.updateEnabledState

Reported by: Skybunny Owned by: team
Priority: normal Milestone: 18.09
Component: Core Version:
Keywords: template_report purge relation Cc:

Description

What steps will reproduce the problem?

Unsure - highlighted 8 relations, mistakenly selected 'Delete' (relations) and cancelled, then purged them and got the NPE.

What is the expected result?

8 relations should have been purged successfully.

What happens instead?

NPE.

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-09-04 23:35:01 +0200 (Tue, 04 Sep 2018)
Revision:14222
Build-Date:2018-09-05 01:32:30
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (14222 en) Mac OS X 10.14
OS Build number: Mac OS X 10.14 (18A384a)
Memory Usage: 312 MB / 5120 MB (147 MB allocated, but free)
Java version: 10.0.2+13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 69680128 1440x900
Maximum Screen Size: 1440x900
Dataset consistency test: No problems found

Plugins:
+ FastDraw (34510)
+ geojson (87)
+ pbf (34576)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Unsaved changes - <html>The relation has been changed.<br><br>Do you want to save your changes?</html>
- E: Handled by bug report queue: java.lang.NullPointerException


=== 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
	at org.openstreetmap.josm.actions.relation.DuplicateRelationAction.updateEnabledState(DuplicateRelationAction.java:59)
	at org.openstreetmap.josm.actions.relation.AbstractRelationAction.setPrimitives(AbstractRelationAction.java:44)
	at org.openstreetmap.josm.gui.PopupMenuHandler.setPrimitives(PopupMenuHandler.java:122)
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog.updateActionsRelationLists(RelationListDialog.java:226)
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog.lambda$new$0(RelationListDialog.java:172)
	at java.desktop/javax.swing.JList.fireSelectionValueChanged(JList.java:1804)
	at java.desktop/javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1818)
	at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:219)
	at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:186)
	at java.desktop/javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:723)
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog$RelationListModel.setSelectedRelations(RelationListDialog.java:609)
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog$RelationListModel.removeRelations(RelationListDialog.java:531)
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog.primitivesRemoved(RelationListDialog.java:730)
	at org.openstreetmap.josm.data.osm.event.PrimitivesRemovedEvent.fire(PrimitivesRemovedEvent.java:34)
	at org.openstreetmap.josm.data.osm.event.DatasetEventManager.fireEvents(DatasetEventManager.java:199)
	at org.openstreetmap.josm.data.osm.event.DatasetEventManager.access$200(DatasetEventManager.java:29)
	at org.openstreetmap.josm.data.osm.event.DatasetEventManager$EdtRunnable.run(DatasetEventManager.java:42)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
	at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

=== RUNNING THREADS ===
Thread: TMS-downloader-37 (239) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: Map Status Collector (438) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2075)
java.base@10.0.2/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
app//org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:434)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: AWT-Shutdown (19) of system
java.base@10.0.2/java.lang.Object.wait(Native Method)
java.base@10.0.2/java.lang.Object.wait(Object.java:328)
java.desktop@10.0.2/sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:291)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: Signal Dispatcher (4) of system

Thread: styled-map-renderer-15 (178) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:275)
java.base@10.0.2/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1656)
java.base@10.0.2/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

Thread: TMS-downloader-29 (231) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: styled-map-renderer-14 (177) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:275)
java.base@10.0.2/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1656)
java.base@10.0.2/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

Thread: Finalizer (3) of system
java.base@10.0.2/java.lang.Object.wait(Native Method)
java.base@10.0.2/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
java.base@10.0.2/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:172)
java.base@10.0.2/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)

Thread: TMS-downloader-33 (235) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TMS-downloader-36 (238) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: ForkJoinPool.commonPool-worker-4 (422) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@10.0.2/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1668)
java.base@10.0.2/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

Thread: TMS-downloader-41 (243) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

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

Thread: JCS-ElementEventQueue-Thread-1 (31) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2075)
java.base@10.0.2/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: Timer-0 (35) of main
java.base@10.0.2/java.lang.Object.wait(Native Method)
java.base@10.0.2/java.util.TimerThread.mainLoop(Timer.java:553)
java.base@10.0.2/java.util.TimerThread.run(Timer.java:506)

Thread: AppKit Thread (14) of system

Thread: Timer-2 (88) of main
java.base@10.0.2/java.lang.Object.wait(Native Method)
java.base@10.0.2/java.lang.Object.wait(Object.java:328)
java.base@10.0.2/java.util.TimerThread.mainLoop(Timer.java:527)
java.base@10.0.2/java.util.TimerThread.run(Timer.java:506)

Thread: Timer-1 (41) of main
java.base@10.0.2/java.lang.Object.wait(Native Method)
java.base@10.0.2/java.lang.Object.wait(Object.java:328)
java.base@10.0.2/java.util.TimerThread.mainLoop(Timer.java:527)
java.base@10.0.2/java.util.TimerThread.run(Timer.java:506)

Thread: Java2D Disposer (17) of system
java.base@10.0.2/java.lang.Object.wait(Native Method)
java.base@10.0.2/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
java.base@10.0.2/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:172)
java.desktop@10.0.2/sun.java2d.Disposer.run(Disposer.java:144)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TimerQueue (22) of system
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2075)
java.base@10.0.2/java.util.concurrent.DelayQueue.take(DelayQueue.java:217)
java.desktop@10.0.2/javax.swing.TimerQueue.run(TimerQueue.java:171)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: styled-map-renderer-18 (202) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:275)
java.base@10.0.2/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1656)
java.base@10.0.2/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

Thread: TMS-downloader-25 (227) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: main-worker-0 (84) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2075)
java.base@10.0.2/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TMS-downloader-44 (246) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: Common-Cleaner (10) of InnocuousThreadGroup
java.base@10.0.2/java.lang.Object.wait(Native Method)
java.base@10.0.2/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
java.base@10.0.2/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)
java.base@10.0.2/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)

Thread: TMS-downloader-27 (229) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TMS-downloader-26 (228) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: styled-map-renderer-19 (423) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@10.0.2/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1668)
java.base@10.0.2/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

Thread: DestroyJavaVM (39) of main

Thread: styled-map-renderer-17 (182) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:275)
java.base@10.0.2/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1656)
java.base@10.0.2/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

Thread: File Watcher (12) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2075)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:483)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:671)
java.base@10.0.2/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$29/22069592.run(Unknown Source)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TMS-downloader-28 (230) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: Java2D Queue Flusher (16) of system
java.base@10.0.2/java.lang.Object.wait(Native Method)
java.desktop@10.0.2/sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:205)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TMS-downloader-43 (245) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: styled-map-renderer-16 (181) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:275)
java.base@10.0.2/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1656)
java.base@10.0.2/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

Thread: TMS-downloader-35 (237) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

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

Thread: TMS-downloader-46 (248) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TMS-downloader-42 (244) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TMS-downloader-45 (247) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TMS-downloader-48 (250) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: Weak reference cleaner (24) of main
java.base@10.0.2/java.lang.Object.wait(Native Method)
java.base@10.0.2/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
java.base@10.0.2/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:172)
app//org.openstreetmap.josm.tools.ListenableWeakReference.clean(ListenableWeakReference.java:60)
app//org.openstreetmap.josm.tools.ListenableWeakReference$$Lambda$309/1947941827.run(Unknown Source)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TMS-downloader-47 (249) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TMS-downloader-40 (242) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: TMS-downloader-49 (251) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Thread: Reference Handler (2) of system
java.base@10.0.2/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
java.base@10.0.2/java.lang.ref.Reference.processPendingReferences(Reference.java:174)
java.base@10.0.2/java.lang.ref.Reference.access$000(Reference.java:44)
java.base@10.0.2/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:138)

Thread: TMS-downloader-34 (236) of main
java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.2/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.2/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84)
app//org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1060)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
java.base@10.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base@10.0.2/java.lang.Thread.run(Thread.java:844)

Attachments (0)

Change History (2)

comment:1 Changed 9 months ago by Don-vip

Keywords: purge relation added
Milestone: 18.09
Summary: Null pointer exception trying to purge relationsNPE at DuplicateRelationAction.updateEnabledState

comment:2 Changed 8 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 14241/josm:

fix #16714 - NPE

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.