Fix #23362: Cannot close ImageViewerDialog when multiple image layers… #14
GitHub Actions / JUnit Test Report
failed
Jan 15, 2024 in 0s
44642 tests run, 44411 passed, 228 skipped, 3 failed.
Annotations
Check failure on line 32 in WikimediaCommonsLoaderTest
github-actions / JUnit Test Report
WikimediaCommonsLoaderTest.test()
Listener was not registered before: Geotagged Images
Raw output
java.lang.IllegalArgumentException: Listener was not registered before: Geotagged Images
at org.openstreetmap.josm.gui.layer.LayerManager.removeLayerChangeListener(LayerManager.java:434)
at org.openstreetmap.josm.gui.layer.geoimage.ImageViewerDialog.destroy(ImageViewerDialog.java:406)
at org.openstreetmap.josm.gui.layer.geoimage.WikimediaCommonsLoaderTest.tearDown(WikimediaCommonsLoaderTest.java:32)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Check failure on line 29 in ImageMarkerTest
github-actions / JUnit Test Report
ImageMarkerTest.testTicket22638()
Listener was not registered before: Geotagged Images
Raw output
java.lang.IllegalArgumentException: Listener was not registered before: Geotagged Images
at org.openstreetmap.josm.gui.layer.LayerManager.removeLayerChangeListener(LayerManager.java:434)
at org.openstreetmap.josm.gui.layer.geoimage.ImageViewerDialog.destroy(ImageViewerDialog.java:406)
at org.openstreetmap.josm.gui.layer.markerlayer.ImageMarkerTest.tearDown(ImageMarkerTest.java:29)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Check failure on line 29 in ImageMarkerTest
github-actions / JUnit Test Report
ImageMarkerTest.testImageMarker()
Listener was not registered before: Geotagged Images
Raw output
java.lang.IllegalArgumentException: Listener was not registered before: Geotagged Images
at org.openstreetmap.josm.gui.layer.LayerManager.removeLayerChangeListener(LayerManager.java:434)
at org.openstreetmap.josm.gui.layer.geoimage.ImageViewerDialog.destroy(ImageViewerDialog.java:406)
at org.openstreetmap.josm.gui.layer.markerlayer.ImageMarkerTest.tearDown(ImageMarkerTest.java:29)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Loading