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

          craigm Craig Macdonald created issue -
          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.
          craigm Craig Macdonald made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          craigm Craig Macdonald made changes -
          Project TREC [ 10010 ] Terrier Core [ 10000 ]
          Key TREC-185 TR-138
          Workflow jira [ 10433 ] Terrier Open Source [ 10531 ]
          Affects Version/s 3.0 [ 10030 ]
          Affects Version/s 3.0 [ 10020 ]
          Component/s .structures [ 10007 ]
          Component/s Core [ 10020 ]
          Fix Version/s 3.1 [ 10040 ]
          Fix Version/s 3.1 [ 10021 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: