Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-138

IndexUtil.copyStructure fails when source and destination indices are same

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.5
    • Component/s: .structures
    • Labels:
      None

      Description

      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)
             at.....

        Attachments

          Activity

          Hide
          craigm Craig Macdonald added a comment -

          Simple fix implemented and two JUnit tests added.

          Show
          craigm Craig Macdonald added a comment - Simple fix implemented and two JUnit tests added.

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              craigm Craig Macdonald
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: