Modify

Opened 2 weeks ago

Closed 2 weeks ago

Last modified 11 days ago

#16462 closed defect (fixed)

NPE trying to undo 'create multipolygon'

Reported by: kevin.b.kenny@… Owned by: team
Priority: major Milestone: 18.07
Component: Core mappaint Version:
Keywords: template_report multipolygon regression Cc:

Description

What steps will reproduce the problem?

The immediate things that I did:
(a) Select a ring of four ways that already were the sole content of a multipolygon
(b) Pull 'Tools->Create Multipolygon'
(c) Oops! Hit Control-Z

What is the expected result?

Remove the duplicate relation!

What happens instead?

Relation is removed, but the UI throws this exception trying to repaint.

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-07-01 23:07:04 +0200 (Sun, 01 Jul 2018)
Revision:13996
Build-Date:2018-07-01 21:10:23
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (13996 en) Linux Ubuntu 18.04 LTS
Memory Usage: 1064 MB / 2048 MB (328 MB allocated, but free)
Java version: 10.0.1+10-Ubuntu-3ubuntu1, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-11-jre:amd64-10.0.1+10-3ubuntu1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-20ubuntu0.1
Dataset consistency test: No problems found

Plugins:
+ ImportImagePlugin (34389)
+ OpeningHoursEditor (34389)
+ PicLayer (34389)
+ apache-commons (34389)
+ ejml (34389)
+ geotools (34125)
+ jts (34206)
+ log4j (34038)
+ opendata (34389)
+ reverter (34271)
+ utilsplugin2 (34389)

Tagging presets:
+ ${HOME}/josm/stateParkPreset.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/TigerReviewedNo&zip=1

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: org.openstreetmap.josm.tools.JosmRuntimeException: java.lang.reflect.InvocationTargetException. Cause: java.lang.reflect.InvocationTargetException. Cause: 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
org.openstreetmap.josm.tools.JosmRuntimeException: java.lang.reflect.InvocationTargetException
	at org.openstreetmap.josm.gui.mappaint.mapcss.ConditionFactory$PseudoClassCondition.applies(ConditionFactory.java:828)
	at org.openstreetmap.josm.gui.mappaint.mapcss.Selector$AbstractSelector.matches(Selector.java:485)
	at org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource.apply(MapCSSStyleSource.java:680)
	at org.openstreetmap.josm.gui.mappaint.ElemStyles.generateStyles(ElemStyles.java:377)
	at org.openstreetmap.josm.tools.ImageProvider.getPadded(ImageProvider.java:1496)
	at org.openstreetmap.josm.gui.PrimitiveRenderer.renderer(PrimitiveRenderer.java:81)
	at org.openstreetmap.josm.gui.PrimitiveRenderer.getListCellRendererComponent(PrimitiveRenderer.java:51)
	at org.openstreetmap.josm.gui.PrimitiveRenderer.getListCellRendererComponent(PrimitiveRenderer.java:31)
	at java.desktop/javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:270)
	at java.desktop/javax.swing.plaf.basic.BasicListUI.paintImpl(BasicListUI.java:378)
	at java.desktop/javax.swing.plaf.basic.BasicListUI.paint(BasicListUI.java:301)
	at java.desktop/javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
	at java.desktop/javax.swing.JComponent.paintComponent(JComponent.java:797)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1074)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
	at java.desktop/javax.swing.JViewport.paint(JViewport.java:737)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
	at org.openstreetmap.josm.gui.widgets.MultiSplitPane.paintChildren(MultiSplitPane.java:205)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
	at java.desktop/javax.swing.JSplitPane.paintChildren(JSplitPane.java:1024)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
	at java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5255)
	at java.desktop/javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:246)
	at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1313)
	at java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5203)
	at java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5013)
	at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:857)
	at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:840)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:840)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:815)
	at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:764)
	at java.desktop/javax.swing.RepaintManager.access$1200(RepaintManager.java:69)
	at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1880)
	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)
Caused by: java.lang.reflect.InvocationTargetException
	at jdk.internal.reflect.GeneratedMethodAccessor98.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.openstreetmap.josm.gui.mappaint.mapcss.ConditionFactory$PseudoClassCondition.applies(ConditionFactory.java:826)
	... 62 more
Caused by: java.lang.NullPointerException
	at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:946)
	at org.openstreetmap.josm.data.osm.visitor.paint.relations.MultipolygonCache.get(MultipolygonCache.java:84)
	at org.openstreetmap.josm.data.osm.visitor.paint.relations.MultipolygonCache.get(MultipolygonCache.java:71)
	at org.openstreetmap.josm.gui.mappaint.mapcss.ConditionFactory$PseudoClasses.closed2(ConditionFactory.java:767)
	... 66 more

=== RUNNING THREADS ===
Thread: ForkJoinPool.commonPool-worker-8 (143) of main
java.base@10.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@10.0.1/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1668)
java.base@10.0.1/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

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

Thread: Signal Dispatcher (4) of system

Thread: RemoteControl HTTPS Server (51) of main
java.base@10.0.1/java.net.PlainSocketImpl.socketAccept(Native Method)
java.base@10.0.1/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:459)
java.base@10.0.1/java.net.ServerSocket.implAccept(ServerSocket.java:551)
java.base@10.0.1/sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:352)
app//org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpsServer.run(RemoteControlHttpsServer.java:404)

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

Thread: AWT-XAWT (20) of system
java.desktop@10.0.1/sun.awt.X11.XToolkit.waitForEvents(Native Method)
java.desktop@10.0.1/sun.awt.X11.XToolkit.run(XToolkit.java:682)
java.desktop@10.0.1/sun.awt.X11.XToolkit.run(XToolkit.java:646)
java.base@10.0.1/java.lang.Thread.run(Thread.java:844)

Thread: RemoteControl HTTP Server (50) of main
java.base@10.0.1/java.net.PlainSocketImpl.socketAccept(Native Method)
java.base@10.0.1/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:459)
java.base@10.0.1/java.net.ServerSocket.implAccept(ServerSocket.java:551)
java.base@10.0.1/java.net.ServerSocket.accept(ServerSocket.java:519)
app//org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:104)

Thread: Map Status Collector (69) of main
java.base@10.0.1/java.lang.Object.wait(Native Method)
java.base@10.0.1/java.lang.Object.wait(Object.java:328)
java.desktop@10.0.1/java.awt.EventQueue.invokeAndWait(EventQueue.java:1361)
java.desktop@10.0.1/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
app//org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:443)
java.base@10.0.1/java.lang.Thread.run(Thread.java:844)

Thread: RemoteControl HTTP Server (49) of main
java.base@10.0.1/java.net.PlainSocketImpl.socketAccept(Native Method)
java.base@10.0.1/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:459)
java.base@10.0.1/java.net.ServerSocket.implAccept(ServerSocket.java:551)
java.base@10.0.1/java.net.ServerSocket.accept(ServerSocket.java:519)
app//org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:104)

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

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

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

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

Thread: WeakCollectionCleaner (44) of main
java.base@10.0.1/java.lang.Object.wait(Native Method)
java.base@10.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
java.base@10.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:172)
org.geotools.util.WeakCollectionCleaner.run(WeakCollectionCleaner.java:77)

Thread: RemoteControl HTTPS Server (52) of main
java.base@10.0.1/java.net.PlainSocketImpl.socketAccept(Native Method)
java.base@10.0.1/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:459)
java.base@10.0.1/java.net.ServerSocket.implAccept(ServerSocket.java:551)
java.base@10.0.1/sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:352)
app//org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpsServer.run(RemoteControlHttpsServer.java:404)

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

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

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

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

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

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

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

Thread: multipolygon-builder-0 (474) of main
java.base@10.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@10.0.1/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1668)
java.base@10.0.1/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

Thread: Weak reference cleaner (25) of main
java.base@10.0.1/java.lang.Object.wait(Native Method)
java.base@10.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
java.base@10.0.1/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$256/162667475.run(Unknown Source)
java.base@10.0.1/java.lang.Thread.run(Thread.java:844)

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

Thread: TimerQueue (24) of system
java.base@10.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@10.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2117)
java.base@10.0.1/java.util.concurrent.DelayQueue.take(DelayQueue.java:229)
java.desktop@10.0.1/javax.swing.TimerQueue.run(TimerQueue.java:171)
java.base@10.0.1/java.lang.Thread.run(Thread.java:844)

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

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

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

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

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

Thread: FileSystemWatchService (13) of main
java.base@10.0.1/sun.nio.fs.LinuxWatchService.poll(Native Method)
java.base@10.0.1/sun.nio.fs.LinuxWatchService.access$600(LinuxWatchService.java:47)
java.base@10.0.1/sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:316)
java.base@10.0.1/java.lang.Thread.run(Thread.java:844)

Thread: DestroyJavaVM (57) of main

Thread: GT authority factory disposer (39) of main
java.base@10.0.1/java.lang.Object.wait(Native Method)
java.base@10.0.1/java.util.TimerThread.mainLoop(Timer.java:553)
java.base@10.0.1/java.util.TimerThread.run(Timer.java:506)

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

Thread: File Watcher (14) of main
java.base@10.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@10.0.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@10.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2075)
java.base@10.0.1/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:483)
java.base@10.0.1/java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:671)
java.base@10.0.1/sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
app//org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:107)
app//org.openstreetmap.josm.io.FileWatcher$$Lambda$30/1413246829.run(Unknown Source)
java.base@10.0.1/java.lang.Thread.run(Thread.java:844)

Attachments (0)

Change History (6)

comment:1 Changed 2 weeks ago by Don-vip

Component: CoreCore mappaint
Keywords: multipolygon added
Milestone: 18.07
Summary: Exception trying to undo 'create multipolygon'NPE trying to undo 'create multipolygon'

comment:2 Changed 2 weeks ago by Don-vip

Resolution: fixed
Status: newclosed

In 14000/josm:

fix #16462 - NPE

comment:3 Changed 2 weeks ago by kevin.b.kenny@…

Wow, that was quick! Thanks!

comment:4 Changed 12 days ago by Don-vip

Keywords: regression added
Priority: normalmajor

comment:5 Changed 12 days ago by Don-vip

Regression of r13991

comment:6 Changed 11 days ago by Don-vip

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

Modify Ticket

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.