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

NPE with CVS repo when doing a Lucene index upgrade (when there is some strange head-less state)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.6.2
    • 2.6.0
    • Indexing

    Description

      Looks like there's no head revision? Or no head revision for that particular file? From FSH-6135.

      Conor says "no head revision would be odd - we should be more defensive there"

      NPE code line

      2011-06-15 12:58:19,741 ERROR [IncrementalPinger1 ] fisheye.app CvsHistoryChangeDetector-doRunOnce - problem with initial scan
      java.lang.NullPointerException
      	at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgradeContentIndex(CachedCvsRepositoryUpdater.java:406)
      	at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgradeLuceneIndexesIfNecessary(CachedCvsRepositoryUpdater.java:348)
      	at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgrade(CachedCvsRepositoryUpdater.java:296)
      	at com.cenqua.fisheye.cvsrep.cache.CvsHistoryChangeDetector.doRunOnce(CvsHistoryChangeDetector.java:117)
      	at com.cenqua.fisheye.cvsrep.cache.CvsHistoryChangeDetector.ping(CvsHistoryChangeDetector.java:54)
      	at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.pingSlurp(CachedCvsRepositoryUpdater.java:279)
      	at com.cenqua.fisheye.cvsrep.CvsRepositoryEngine.doSlurp(CvsRepositoryEngine.java:68)
      	at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:390)
      	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:132)
      	at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:122)
      	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:662)
      

      Attachments

        Issue Links

          Activity

            People

              jxie Chii
              aahmed Adam Ahmed (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: