Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-2363

Illegal state exception when excluding files from a git repo

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • High
    • None
    • 2.1.2
    • Indexing

    Description

      Steps to reproduce:

      1. Set up a git repository.
      2. mkdir test
      3. date > test/now.txt
      4. git add .
      5. git commit

      Now set up the repo in fisheye and exclude /test/. When fisheye tries to scan this it will throw an illegal state exception:

      ERROR - Problem processing revisions from repo GitTest due to class java.lang.IllegalStateException - 
      Unable to load changeset for ddb9ed0395a2e0d00c94845f1a5a746141193c03
      java.lang.IllegalStateException: Unable to load changeset for ddb9ed0395a2e0d00c94845f1a5a746141193c03
              at com.atlassian.fisheye.git.GitCache.getChangeSet(GitCache.java:114)
              at com.atlassian.fisheye.git.GitScanner$5.perform(GitScanner.java:356)
              at com.atlassian.fisheye.git.GitScanner$5.perform(GitScanner.java:350)

      It can't find the changeset because we have excluded the files from fisheye.

      Attachments

        Activity

          People

            cmacneill Conor
            andrew.myers Andrew Myers [Atlassian]
            Votes:
            10 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: