MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000002Scoring Application Prototype[All Projects] Generalpublic2014-05-10 11:292014-05-27 18:38
Reporteradministrator 
Assigned Toptrue 
PrioritynormalSeveritymajorReproducibilityrandom
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionSprint #4Fixed in VersionSprint #4 
Summary0000002: StaffAddAboveActionGUITest execution is hanging somtimes
DescriptionStaffAddAboveActionGUITest execution is hanging sporadically. There also might be an exception about concurrent changes. Something with synchronize?

This dosen't happen with other tests nor with the manual run.

As a result builds on jenkins also may hang.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000002)
administrator (administrator)
2014-05-11 02:58

There might be two problems:
1) Caret is blinking and redrawing the whole page in any moment, it could be after the new staff and bracket have already been added but recalculate() is not yet called;
2) Undo/Redo actions enablement is updated before recalculate is done but it calls repaint!
(0000004)
ptrue (developer)
2014-05-14 00:59

Both mentioned above are fixed, so there is some third reason which calls repaint before recalculation is done.
(0000005)
ptrue (developer)
2014-05-14 11:09

Solution: synchronize paint and commands (including recalculation and other changes). Put commands to the thread, add lock in the document, let command thread wait until paint thread finish and let paint thread wait until command thread finish.
(0000006)
ptrue (developer)
2014-05-14 20:22

Fixed in build #145 by synchronizing all document operations.

- Issue History
Date Modified Username Field Change
2014-05-10 11:29 administrator New Issue
2014-05-10 11:29 administrator Status new => assigned
2014-05-10 11:29 administrator Assigned To => administrator
2014-05-10 11:37 administrator Severity minor => major
2014-05-10 11:37 administrator Description Updated View Revisions
2014-05-11 02:58 administrator Note Added: 0000002
2014-05-14 00:30 ptrue Assigned To administrator => ptrue
2014-05-14 00:59 ptrue Note Added: 0000004
2014-05-14 02:02 administrator Target Version => Sprint 0000004
2014-05-14 02:04 administrator Status assigned => new
2014-05-14 02:04 administrator Assigned To ptrue =>
2014-05-14 02:04 administrator Status new => assigned
2014-05-14 02:08 administrator Assigned To => administrator
2014-05-14 02:10 administrator Assigned To administrator => ptrue
2014-05-14 11:09 ptrue Note Added: 0000005
2014-05-14 20:22 ptrue Note Added: 0000006
2014-05-14 20:22 ptrue Status assigned => resolved
2014-05-14 20:22 ptrue Resolution open => fixed
2014-05-27 18:38 administrator Fixed in Version => Sprint 0000004


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker