gvSIG bugs #775

Modifying data of the GraphicLayer while drawing the view generates random errors

Added by Cesar Ordiñana almost 12 years ago. Updated over 11 years ago.

Status:Closed% Done:

100%

Priority:HighSpent time:-
Assignee:Cesar Ordiñana
Category:Application
Target version:2.0.0-alpha6
Severity: Add-on version:
gvSIG version:2.0.0 Add-on build:
gvSIG build:2048 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:No Hito:
Add-on name:Unknown

Description

If the GraphicLayer is modified while the view is being drawn, it generates random errors of ConcurrentModificationException to the user, which gets annoying. Also the draw in process is interrupted, generating half drawings and artifacts.

To solve it, some changes must be performed:

- Remove current retries when the legend is drawing and gets a ConcurrentModificationException.

- Make sure those errors don't open a window which bothers the user.

- Synchronize writing on a store, so if a thread is reading, another writing thread must wait and viceversa.

Associated revisions

Revision 38415
Added by Cesar Ordiñana almost 12 years ago

Solve concurrency problems with GraphicsLayer, FeatureStore and the table document.
Fixes #775.

Revision 38416
Added by Cesar Ordiñana almost 12 years ago

Solve concurrency problems with GraphicsLayer, FeatureStore and the table document.
Fixes #775.

Revision 38417
Added by Cesar Ordiñana almost 12 years ago

Solve concurrency problems with GraphicsLayer, FeatureStore and the table document.
Fixes #775.

History

#1 Updated by Cesar Ordiñana almost 12 years ago

  • Status changed from In progress to Fixed
  • % Done changed from 0 to 100

Applied in changeset r38415.

#2 Updated by María Maluenda almost 12 years ago

  • Status changed from Fixed to Under review

Need instructions in order to check the bugfix

#3 Updated by Cesar Ordiñana almost 12 years ago

Sorry, currently there is not any gvSIG funcionality at user level for you to be able to validate the correction.

#4 Updated by Joaquín del Cerro Murciano over 11 years ago

  • Status changed from Under review to Closed

Also available in: Atom PDF