Modify

Opened 6 years ago

Closed 6 years ago

#18104 closed defect (fixed)

RejectedExecutionException at QuadTreeMeta.requestSeenBoundsMark

Reported by: CKSaunders Owned by: ris
Priority: normal Milestone:
Component: Plugin markseen Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. mapping
  2. no particular steps

What is the expected result?

What happens instead? pop up window states I should report bug

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-08-26 08:55:27 +0200 (Mon, 26 Aug 2019)
Build-Date:2019-08-26 06:57:10
Revision:15322
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15322 en) Windows 7 64-Bit
OS Build number: Windows 7 Professional (7601)
Memory Usage: 457 MB / 989 MB (170 MB allocated, but free)
Java version: 1.8.0_221-b11, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ buildings_tools (34982)
+ imagery_offset_db (34908)
+ markseen (13)
+ scripting (30796)
+ turnrestrictions (34977)
+ utilsplugin2 (35098)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.util.concurrent.RejectedExecutionException: Task org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$MarkBoundsSeenRequest@1144aca rejected from org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$QuadTreeEditExecutor@3e2bda[Running, pool size = 1, active threads = 0, queued tasks = 8, completed tasks = 885]
- E: Handled by bug report queue: java.util.concurrent.RejectedExecutionException: Task org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$MarkBoundsSeenRequest@137139d rejected from org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$QuadTreeEditExecutor@3e2bda[Running, pool size = 1, active threads = 0, queued tasks = 8, completed tasks = 885]
- W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>scripting</li><li>imagery_offset_db</li><li>utilsplugin2</li><li>markseen</li><li>buildings_tools</li><li>turnrestrictions</li></ul>The plugins are not going to be loaded.</html>


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (15) of main
java.util.concurrent.RejectedExecutionException: Task org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$MarkBoundsSeenRequest@1144aca rejected from org.openstreetmap.josm.plugins.markseen.QuadTreeMeta$QuadTreeEditExecutor@3e2bda[Running, pool size = 1, active threads = 0, queued tasks = 8, completed tasks = 885]
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
	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:147)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:217)
	at org.openstreetmap.josm.gui.NavigatableComponent.fireZoomChanged(NavigatableComponent.java:145)
	at org.openstreetmap.josm.gui.NavigatableComponent.zoomNoUndoTo(NavigatableComponent.java:707)
	at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:687)
	at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:607)
	at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:716)
	at org.openstreetmap.josm.gui.MapMover.doMoveForDrag(MapMover.java:198)
	at org.openstreetmap.josm.gui.MapMover.mouseDragged(MapMover.java:186)
	at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
	at java.awt.Component.processMouseMotionEvent(Unknown Source)
	at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Change History (4)

comment:1 by Don-vip, 6 years ago

Component: CorePlugin markseen
Owner: changed from team to ris
Summary: pop up window saying plugins could not update.RejectedExecutionException at QuadTreeMeta.requestSeenBoundsMark

comment:2 by ris, 6 years ago

Sigh - yes. This hasn't happened to you often has it?

It will happen when the mapping pane creates "seen" areas much faster than the markseen thread can process them and the queue overflows its capacity of 8. Perhaps I could increase the capacity. Perhaps I should set the policy to silently reject the requests when overflowing...

comment:3 by Don-vip, 6 years ago

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

comment:4 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.