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

Excludes cause indexing to fail for Git repositories

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 2.4.2
    • 2.4.1
    • Indexing

    Description

      If you specify a an Exclude pattern that matches content in a Git repository, upon reindex of that repository the indexing process will fail.

      First, you will get a message in the logs saying that the content isn't being watched:

      2010-10-27 08:28:11,152 DEBUG [ExtProcess IO Pump] fisheye.app LoggingProcessMonitor-onBeforeStart - Starting process: /usr/bin/git diff -C --no-abbrev --full-index 98d3becb2ef1dbde4bb39207ec0c8ec7602d6e2d..40a8d33b7750eeef69727b782cabb46955129b81 
      2010-10-27 08:28:11,295 DEBUG [ExtProcess IO Pump] fisheye.app LoggingProcessMonitor-onAfterFinished - Finished process: /usr/bin/git diff -C --no-abbrev --full-index 98d3becb2ef1dbde4bb39207ec0c8ec7602d6e2d..40a8d33b7750eeef69727b782cabb46955129b81  took 142ms
      2010-10-27 08:28:11,295 DEBUG [ExtProcess IO Pump] fisheye.app GitScanner-processChangeSet - [Testing]: Ignoring changeset 40a8d33b7750eeef69727b782cabb46955129b81; it does not contain any changes in the watched area
      

      However, Fisheye will try to index the changeset regardless and will fail, blocking indexing of the repository:

      2010-10-27 08:28:32,203 ERROR [InitialPinger1] fisheye.app BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo Testing due to class java.lang.IllegalStateException - Indexing changeset 40a8d33b7750eeef69727b782cabb46955129b81 which we have not seen
      java.lang.IllegalStateException: Indexing changeset 40a8d33b7750eeef69727b782cabb46955129b81 which we have not seen
      	at com.atlassian.fisheye.dvcs.DvcsScanner$1.perform(DvcsScanner.java:416)
      	at com.atlassian.fisheye.dvcs.DvcsScanner$1.perform(DvcsScanner.java:412)
      	at com.cenqua.fisheye.lucene.LuceneConnection$2.perform(LuceneConnection.java:557)
      	at com.cenqua.fisheye.lucene.LuceneConnection$2.perform(LuceneConnection.java:553)
      	at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(LuceneConnection.java:526)
      	at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(LuceneConnection.java:553)
      	at com.atlassian.fisheye.dvcs.DvcsScanner.indexChangesets(DvcsScanner.java:412)
      	at com.atlassian.fisheye.dvcs.DvcsScanner.processBranch(DvcsScanner.java:388)
      	at com.atlassian.fisheye.dvcs.DvcsScanner.processRevisions(DvcsScanner.java:221)
      	at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:284)
      	at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:251)
      	at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:187)
      	at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:85)
      	at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:387)
      	at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25)
      	at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:66)
      	at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:129)
      	at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:119)
      	at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:619)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: