[TR-138] IndexUtil.copyStructure fails when source and destination indices are same Created: 26/Jul/10  Updated: 05/Apr/11  Resolved: 26/Jul/10

Status: Resolved
Project: Terrier Core
Component/s: .structures
Affects Version/s: 3.0
Fix Version/s: 3.5

Type: Bug Priority: Major
Reporter: Craig Macdonald Assignee: Craig Macdonald
Resolution: Fixed  
Labels: None

Exception in thread "main" java.util.ConcurrentModificationException
        at java.util.Hashtable$Enumerator.next(Hashtable.java:1031)
        at org.terrier.structures.IndexUtil.copyStructure(IndexUtil.java:272)

Comment by Craig Macdonald [ 26/Jul/10 ]

Simple fix implemented and two JUnit tests added.

Generated at Sat Jul 11 16:04:19 BST 2020 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.