Modify

Ticket #1742 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

crash anytime (OpenStreetBugs plugin)

Reported by: anonymous Owned by: framm
Priority: major Component: Plugin openstreetbugs
Version: Keywords:
Cc:

Description

Path: trunk URL: http://josm.openstreetmap.de/svn/trunk Repository Root: http://josm.openstreetmap.de/svn Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Revision: 1065 Node Kind: directory Last Changed Author: stoecker Last Changed Rev: 1065 Last Changed Date: 2008-11-02 15:06:01 +0100 (Sun, 02 Nov 2008)

java.util.ConcurrentModificationException

at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761) at java.util.LinkedList$ListItr.next(LinkedList.java:696) at org.openstreetmap.josm.plugins.osb.OsbLayer.paint(OsbLayer.java:113) at org.openstreetmap.josm.gui.MapView.paint(MapView.java:281) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1382) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1313) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:301) at javax.swing.RepaintManager.paint(RepaintManager.java:1128) at javax.swing.JComponent._paintImmediately(JComponent.java:5070) at javax.swing.JComponent.paintImmediately(JComponent.java:4880) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:723) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679) at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Attachments

Change History

comment:1 Changed 3 years ago by framm

  • Component changed from unspecified to Plugin openstreetbugs
  • Summary changed from crash anytime to crash anytime (OpenStreetBugs plugin)

comment:2 Changed 3 years ago by henrik.niehaus@…

  • Status changed from new to closed
  • Resolution set to fixed

data.nodes gets copied into an array before rendering, so that changes on the data.nodes list can't cause a ConcurrentModificationException.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.