Modify

Opened 6 years ago

Closed 6 years ago

#17522 closed defect (fixed)

[PATCH] Crash when adding a new filter

Reported by: taylor.smock Owned by: Don-vip
Priority: normal Milestone: 19.03
Component: Core Version:
Keywords: template_report search filter regression Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Start JOSM 14927+
  2. Add a filter using the 'Add' button
  3. In the search box, add a search (e.g., 'highway=road')
  4. Select 'Submit filter'
  5. Crash

What is the expected result?

Filter is added

What happens instead?

Crash occurs.

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

I performed a git bisect and commit r14927 appears to be the issue. r14927 did refactor the SearchAction/SearchDialog code.

Revision:14930
Is-Local-Build:true
Build-Date:2019-03-25 11:17:28

Identification: JOSM/1.5 (14930 SVN en) Mac OS X 10.14.3
OS Build number: Mac OS X 10.14.3 (18D109)
Memory Usage: 350 MB / 2048 MB (79 MB allocated, but free)
Java version: 11.0.1+13, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: Display 188945226 1920x1080, Display 69978068 2048x1152
Maximum Screen Size: 2048x1152
Dataset consistency test: No problems found

Plugins:
+ Mapillary (1.5.18)
+ apache-commons (34506)
+ apache-http (34632)
+ auto_tools (67)
+ buildings_tools (34904)
+ graphview (34867)
+ jna (34867)
+ openqa (1553114521)
+ osm-obj-info (51)
+ rex (49)
+ terracer (34867)
+ utilsplugin2 (34932)
+ waydownloader (34867)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&zip=1
+ ${HOME}/workspace/osm/JOSM Paint Styles and Presets/Kaart-Styles.mapcss
+ https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Overlapping%20Ways.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/DestinationSignRelation&zip=1
+ https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
+ https://raw.githubusercontent.com/OpenSidewalks/OpenSidewalks-Schema/master/open_sidewalks.mapcss

Validator rules:
+ ${HOME}/workspace/osm/kaart.validator.mapcss

Last errors/warnings:
- E: java.io.IOException: java.util.concurrent.ExecutionException: [security, find-certificate, -c, Government Root Certification Authority, -p, /System/Library/Keychains/SystemRootCertificates.keychain]. Cause: java.util.concurrent.ExecutionException: [security, find-certificate, -c, Government Root Certification Authority, -p, /System/Library/Keychains/SystemRootCertificates.keychain]
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Cannot start IPv4 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect
- W: Cannot start IPv6 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect
- W: Expecting test '{0.key} is always in short tons (st)' (i.e., [*[maxweight][maxweight'REGEX'^[0-9.]+$][ParameterFunction~inside(class org.openstreetmap.josm.gui.mappaint.Environment,class java.lang.String <US>)], *[maxaxleload][maxaxleload'REGEX'^[0-9.]+$][ParameterFunction~inside(class org.openstreetmap.josm.gui.mappaint.Environment,class java.lang.String <US>)]]) to match way highway=residential maxweight=5.0 (i.e., TagMap[highway=residential,maxweight=5.0])
- W: Expecting test '{0.key} is always in short tons (st)' (i.e., [*[maxweight][maxweight'REGEX'^[0-9.]+$][ParameterFunction~inside(class org.openstreetmap.josm.gui.mappaint.Environment,class java.lang.String <US>)], *[maxaxleload][maxaxleload'REGEX'^[0-9.]+$][ParameterFunction~inside(class org.openstreetmap.josm.gui.mappaint.Environment,class java.lang.String <US>)]]) to match way highway=residential maxweight=5 (i.e., TagMap[highway=residential,maxweight=5])
- E: Handled by bug report queue: java.lang.ClassCastException: class org.openstreetmap.josm.data.osm.search.SearchSetting cannot be cast to class org.openstreetmap.josm.data.osm.Filter (org.openstreetmap.josm.data.osm.search.SearchSetting and org.openstreetmap.josm.data.osm.Filter are in unnamed module of loader 'app')


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (19) of main
java.lang.ClassCastException: class org.openstreetmap.josm.data.osm.search.SearchSetting cannot be cast to class org.openstreetmap.josm.data.osm.Filter (org.openstreetmap.josm.data.osm.search.SearchSetting and org.openstreetmap.josm.data.osm.Filter are in unnamed module of loader 'app')
	at org.openstreetmap.josm.gui.dialogs.FilterDialog$1.actionPerformed(FilterDialog.java:144)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6397)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	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:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	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: Keep-Alive-Timer (41)
java.base@11.0.1/java.lang.Thread.sleep(Native Method)
java.base@11.0.1/sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:168)
java.base@11.0.1/java.lang.Thread.run(Thread.java:834)
java.base@11.0.1/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)

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

Thread: Weak reference cleaner (23) of main
java.base@11.0.1/java.lang.Object.wait(Native Method)
java.base@11.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@11.0.1/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$302/0x00000008003f6840.run(Unknown Source)
java.base@11.0.1/java.lang.Thread.run(Thread.java:834)

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

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

Thread: process reaper (18) of system
java.base@11.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@11.0.1/java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:462)
java.base@11.0.1/java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
java.base@11.0.1/java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:937)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1053)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.1/java.lang.Thread.run(Thread.java:834)

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

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

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

Thread: FileSystemWatcher (29) of main
java.base@11.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@11.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
java.base@11.0.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
java.base@11.0.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.1/java.lang.Thread.run(Thread.java:834)

Thread: message-notifier-0 (42) of main
java.base@11.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@11.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
java.base@11.0.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
java.base@11.0.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.1/java.lang.Thread.run(Thread.java:834)

Thread: Signal Dispatcher (4) of system

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

Thread: Nashorn AST Serializer (33) of main
java.base@11.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@11.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
java.base@11.0.1/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
java.base@11.0.1/java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:675)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1053)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.1/java.lang.Thread.run(Thread.java:834)

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

Thread: changeset-updater-0 (43) of main
java.base@11.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@11.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
java.base@11.0.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
java.base@11.0.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.1/java.lang.Thread.run(Thread.java:834)

Thread: AppKit Thread (13) of system

Thread: Nashorn AST Serializer (32) of main
java.base@11.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@11.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
java.base@11.0.1/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:513)
java.base@11.0.1/java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:675)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1053)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.1/java.lang.Thread.run(Thread.java:834)

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

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

Thread: DestroyJavaVM (44) of main

Thread: JCS-ElementEventQueue-Thread-1 (31) of main
java.base@11.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.1/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.1/java.lang.Thread.run(Thread.java:834)

Thread: Reference Handler (2) of system
java.base@11.0.1/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
java.base@11.0.1/java.lang.ref.Reference.processPendingReferences(Reference.java:241)
java.base@11.0.1/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)

Thread: main-worker-0 (47) of main
java.base@11.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.1/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.1/java.lang.Thread.run(Thread.java:834)

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

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

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

Thread: File Watcher (22) of main
java.base@11.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.1/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:483)
java.base@11.0.1/java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:671)
java.base@11.0.1/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$276/0x00000008003b5040.run(Unknown Source)
java.base@11.0.1/java.lang.Thread.run(Thread.java:834)

Attachments (1)

17522.patch (2.5 KB ) - added by taylor.smock 6 years ago.
Add constructor to Filter that takes a SearchSetting and modify FilterDialog to use that instead of casting SearchSetting to Filter.

Download all attachments as: .zip

Change History (5)

by taylor.smock, 6 years ago

Attachment: 17522.patch added

Add constructor to Filter that takes a SearchSetting and modify FilterDialog to use that instead of casting SearchSetting to Filter.

comment:1 by taylor.smock, 6 years ago

Summary: Crash when adding a new filter[PATCH] Crash when adding a new filter

comment:2 by Don-vip, 6 years ago

Keywords: regression added
Milestone: 19.03
Owner: changed from team to Don-vip
Status: newassigned

comment:3 by Don-vip, 6 years ago

Description: modified (diff)

comment:4 by Don-vip, 6 years ago

Resolution: fixed
Status: assignedclosed

In 14932/josm:

see #15051, fix #17522 - crash in filter dialog caused by r14927 (patch by taylor.smock)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
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.