Opened 12 months ago
Last modified 12 months ago
#23678 new defect
RejectedExecutionException: Task org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$MarkBoundsSeenRequest from QuadTreeMeta.requestSeenBoundsMark
Reported by: | Owned by: | ris | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin markseen | Version: | |
Keywords: | template_report | Cc: |
Description (last modified by )
What steps will reproduce the problem?
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2024-04-29 18:37:36 +0200 (Mon, 29 Apr 2024) Revision:19067 Build-Date:2024-05-02 01:31:13 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (19067 en_GB) Windows 10 64-Bit OS Build number: Windows 10 Home 22H2 (19045) Memory Usage: 531 MB / 1506 MB (329 MB allocated, but free) Java version: 21.0.1+12-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel Screen: \Display0 1920×1080 (scaling 1.25×1.25) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Dicedtea-web.bin.location=%UserProfile%\AppData\Local\Programs\OpenWebStart\javaws, -Djava.util.Arrays.useLegacyMergeSort=true, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, -Djava.security.manager=allow] Dataset consistency test: No problems found Plugins: + apache-commons (36176) + apache-http (36176) + buildings_tools (36226) + ejml (36176) + geotools (36176) + jackson (36176) + jaxb (36118) + jna (36176) + jts (36004) + mapathoner (1.5.5) + mapwithai (829) + markseen (14) + opendata (36256) + pmtiles (36219) + terracer (36205) + todo (137) + utilsplugin2 (36241) Map paint styles: + https://github.com/osmlab/applepaintstyles/archive/main.zip - https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/ColorWays&zip=1 - https://github.com/MissingMaps/josm_styles/archive/master.zip - https://josm.openstreetmap.de/josmfile?page=Styles/Ph_Typhoon&zip=1 - %UserProfile%\OneDrive\Documents\Map_Styles johnW11.mapcss + %UserProfile%\OneDrive\Documents\Styles_ColorWays JohnW11-style.mapcss + https://gitlab.com/peculiar-theater/mapcss/-/raw/main/tm-taskgrid/tm-taskgrid.mapcss Last errors/warnings: - 00000.608 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF' - 00000.610 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.612 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00038.776 W: Proposed rect has such extreme aspect ratio that it would be zero-width at preferredZoom - 00061.140 E: Handled by bug report queue: java.util.concurrent.RejectedExecutionException: Task org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$MarkBoundsSeenRequest@632eab20 rejected from org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$QuadTreeEditExecutor@6d0a7633[Running, pool size = 1, active threads = 1, queued tasks = 16, completed tasks = 2] - 00061.155 E: Handled by bug report queue: java.util.concurrent.RejectedExecutionException: Task org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$MarkBoundsSeenRequest@56776bec rejected from org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$QuadTreeEditExecutor@6d0a7633[Running, pool size = 1, active threads = 1, queued tasks = 16, completed tasks = 2] - 00061.220 E: Handled by bug report queue: java.util.concurrent.RejectedExecutionException: Task org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$MarkBoundsSeenRequest@2a441805 rejected from org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$QuadTreeEditExecutor@6d0a7633[Running, pool size = 1, active threads = 1, queued tasks = 16, completed tasks = 8] - 00061.240 E: Handled by bug report queue: java.util.concurrent.RejectedExecutionException: Task org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$MarkBoundsSeenRequest@34cc3342 rejected from org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$QuadTreeEditExecutor@6d0a7633[Running, pool size = 1, active threads = 1, queued tasks = 16, completed tasks = 17] - 00061.248 E: Handled by bug report queue: java.util.concurrent.RejectedExecutionException: Task org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$MarkBoundsSeenRequest@14ec1e99 rejected from org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$QuadTreeEditExecutor@6d0a7633[Running, pool size = 1, active threads = 1, queued tasks = 16, completed tasks = 18] === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-1 (54) of JOSM java.util.concurrent.RejectedExecutionException: Task org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$MarkBoundsSeenRequest@34cc3342 rejected from org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$QuadTreeEditExecutor@6d0a7633[Running, pool size = 1, active threads = 1, queued tasks = 16, completed tasks = 17] at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2081) at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841) at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1376) at org.openstreetmap.josm.plugins.markseen.QuadTreeMeta.requestSeenBoundsMark(QuadTreeMeta.java:271) at org.openstreetmap.josm.plugins.markseen.QuadTreeMeta.requestSeenBoundsMark(QuadTreeMeta.java:267) at org.openstreetmap.josm.plugins.markseen.MarkSeenRoot.zoomChanged(MarkSeenRoot.java:197) at org.openstreetmap.josm.gui.NavigatableComponent.lambda$fireZoomChanged$1(NavigatableComponent.java:154) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:225) at org.openstreetmap.josm.gui.NavigatableComponent.fireZoomChanged(NavigatableComponent.java:152) at org.openstreetmap.josm.gui.NavigatableComponent.zoomNoUndoTo(NavigatableComponent.java:779) at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:759) at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:679) at org.openstreetmap.josm.gui.NavigatableComponent.zoomToFactor(NavigatableComponent.java:894) at org.openstreetmap.josm.gui.NavigatableComponent.zoomManyTimes(NavigatableComponent.java:886) at org.openstreetmap.josm.gui.MapMover.mouseWheelMoved(MapMover.java:257) at java.desktop/java.awt.Component.processMouseWheelEvent(Component.java:6709) at java.desktop/java.awt.Component.processEvent(Component.java:6393) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4996) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4604) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744) 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)
Attachments (0)
Change History (8)
comment:1 by , 12 months ago
Component: | Core → Plugin markseen |
---|---|
Owner: | changed from | to
Summary: | marscreen plugin caused crash → RejectedExecutionException: Task org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$MarkBoundsSeenRequest from QuadTreeMeta.requestSeenBoundsMark |
comment:2 by , 12 months ago
Description: | modified (diff) |
---|
comment:3 by , 12 months ago
comment:4 by , 12 months ago
I've seen this before when JOSM is shutting down in another plugin (I think it was the Mapillary plugin) when I was submitting tasks to MainApplication.worker
.
I don't know if this is the case here, but I don't think it is due to low resources.
Memory Usage: 531 MB / 1506 MB (329 MB allocated, but free)
follow-up: 8 comment:5 by , 12 months ago
The problem is, as long as JOSM stick with SVN and all their old tools, getting my toolchain back up and running is going to be a significant piece of archaeology every time that I'm just not going to do anymore. The old versions have broken svn externals that make them very hard to fetch in the first place, the new versions have some new exciting tricks like going and grabbing various random jar files from the internet during the build phase - I'm not going to work with this stuff so you should probably consider MarkSeen unmaintained.
comment:6 by , 12 months ago
I've been working on:
#23286 has been a PITA since I've been trying to do a bunch of technically unnecessary things that will make things easier down the road. Like keeping as much (valid) history as possible and mapping svn users to name + email combinations. And I'm trying to split the plugins up so that it is easier to "archive" a plugin.
I'll do a quickie PR to move markseen to maven. That should fix most of your problems.
comment:7 by , 12 months ago
Here: https://github.com/risicle/josm-markseen/pull/5 .
Changes:
- Add maven pom.xml file
- Convert from JUnit4 to JUnit5
- Remove unnecessary conversion of svg to png (JOSM core can handle svg icons).
comment:8 by , 12 months ago
Replying to ris:
The problem is, as long as JOSM stick with SVN and all their old tools, getting my toolchain back up and running is going to be a significant piece of archaeology every time that I'm just not going to do anymore. The old versions have broken svn externals that make them very hard to fetch in the first place, the new versions have some new exciting tricks like going and grabbing various random jar files from the internet during the build phase - I'm not going to work with this stuff so you should probably consider MarkSeen unmaintained.
Sorry, but what has the build system of JOSM to do with a plugin? This is still Java and the only thing you need is the josm.jar you want to build against. Everything else can be whatever you want.
It makes sense to use the JOSM build system, but it is no way a requirements for plugins (except they should also be maintained by JOSM team).
That's weird. Wonder why it was rejected. Low resources on the machine?
Anyway should probably catch that and do something harmless with it.