Entering Invitation Results causes ConcurrentModificationException and application exit

Bug #427657 reported by Ken McLean
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenScore
New
Critical
Tudor Holton

Bug Description

Entering Invitation Results causes ConcurrentModificationException and application exit.

1. Enter one invitation result.
2. Enter another. After tabbing out of Lastname, a ConcurrentModificationException is thrown. Tabbing further crashes the app.
There was also a series of ZipUtils errors previous to this.

Perf = 1:22.00
Competitor null, lastname is Null
11:36:30.687:INFO :Added Individual object to NEW queue.
11:36:30.687:INFO :Added Competitor object to NEW queue.
11:36:30.687:INFO :Adding new ICompetitorResult TODO: CompetitorResult.toString()
11:36:30.687:INFO :Added CompetitorResult object to NEW queue.
11:36:52.281:ERROR:Trying to set a Performance value to null
11:36:52.281:ERROR:Trying to set a Duration value to null
11:37:00.015:INFO :CSVFile:Matrix read from Individuals.csv. Max line number is 84739.
11:37:00.015:INFO :CSVFile:Matrix is 84740 lines.
11:37:00.015:Last message repeated 2 times.
11:37:00.015:INFO :CSVFile:Allocated line number 84740
11:37:00.046:INFO :CSVFile:Closed file Individuals.csv
11:37:00.046:INFO :CSVFile:0 Locks Open
11:37:00.046:INFO :CSVFile:Waiting to give others a chance.
11:37:00.140:INFO :CSVFile:AppendLine[84740]:Individuals.csv:,Adam,,Asparagus,,,,,
11:37:00.140:INFO :CSVFile:Individuals.csv:Appended, file now 3338365 bytes.
11:37:00.140:INFO :New Individual object allocated line 84740
Exception in thread "Thread-1" java.util.ConcurrentModificationException
        at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
        at java.util.AbstractList$Itr.next(Unknown Source)
        at avscoreswt.storage.Storage_CSVFolder.flushQueue(Storage_CSVFolder.java:2405)
        at avscoreswt.storage.Storage_CSVFolder.flushWaiting(Storage_CSVFolder.java:2325)
        at avscoreswt.storage.Storage_CSVFolder.doEvent(Storage_CSVFolder.java:2761)
        at avscoreswt.util.TimedEventController.run(TimedEventController.java:106)
        at java.lang.Thread.run(Unknown Source)

Ken McLean (kenmclean)
Changed in openscore:
assignee: Craig Mahony (cmahony) → Tudor Holton (tudor)
Revision history for this message
Craig Mahony (cmahony) wrote :

I tested this. I put in several invitations directly into results, ie not through bibno, and did not get an error. However, I do occasionally get thread errors. This has only started happening since the Thursday morning 8/09/09

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.