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

Blame calculation problem: applying hunks after end of ancestor's blame chunks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Low
    • N/A
    • None
    • None

    Description

      For example when calculating blame for https://swarm.workshop.perforce.com/changes/249, we get the following error:

      2015-12-10 04:53:11,211 DEBUG [InitPing2 P4-swarm-C ] fisheye BlameChunksCalculator-applyHunks - Applying hunks; oldBlame=[0-15:1135], hunks=[<0:16, 0:16>], hunksRevId=1626
      2015-12-10 04:53:11,212 DEBUG [InitPing2 P4-swarm-C ] fisheye BaseBlameAndLinecountCalculator-calcBlame - Problems calculating blame for guest/richard_geiger/utils/cvs2p4/test/metadata.good@249, will fetch from repository instead
      com.cenqua.fisheye.rep.AuthorBlameException: Run over the end of blame chunks; hunk=null, currentFromLine=15, currentToLine=15, currentChunk=null, newChunks=[0-16:1626], remainingChunks=[]
              at com.cenqua.fisheye.rep.BlameChunksCalculator.throwNewAuthorBlameException(BlameChunksCalculator.java:184) [fisheye.jar:?]
              at com.cenqua.fisheye.rep.BlameChunksCalculator.access$200(BlameChunksCalculator.java:15) [fisheye.jar:?]

      or for https://swarm.workshop.perforce.com/changes/553

      2015-12-10 04:54:14,139 DEBUG [InitPing2 P4-swarm-C ] fisheye BlameChunksCalculator-applyHunks - Applying hunks; oldBlame=[0-20:15, 20-21:3022, 21-24:15, 24-29:3022, 2
      9-34:15, 34-35:3022, 35-40:15, 40-44:3022, 44-45:15, 45-47:3022, 47-49:15, 49-50:3022, 50-57:15, 57-58:3022, 58-63:15], hunks=[<8:14, 8:0>, <34:1, 20:1>, <38:7, 24:5>,
       <46:2, 30:0>, <52:0, 34:1>, <57:3, 40:4>, <61:7, 45:2>, <70:6, 49:1>, <83:2, 57:1>], hunksRevId=3475
      2015-12-10 04:54:14,139 DEBUG [InitPing2 P4-swarm-C ] fisheye BaseBlameAndLinecountCalculator-calcBlame - Problems calculating blame for guest/grant_glouser/jam/comman
      d.c@553, will fetch from repository instead
      com.cenqua.fisheye.rep.AuthorBlameException: Run over the end of blame chunks; hunk=null, currentFromLine=63, currentToLine=42, currentChunk=null, newChunks=[0-8:15, 8-10:15, 10-15:3022, 15-20:15, 20-21:3475, 21-24:15, 24-29:3475, 29-30:3022, 30-31:15, 31-32:3022, 32-34:15, 34-35:3475, 35-40:15, 40-44:3475, 44-45:15, 45-47:3475], remainingChunks=[]
              at com.cenqua.fisheye.rep.BlameChunksCalculator.throwNewAuthorBlameException(BlameChunksCalculator.java:184) [fisheye.jar:?]
              at com.cenqua.fisheye.rep.BlameChunksCalculator.access$200(BlameChunksCalculator.java:15) [fisheye.jar:?]

      See full log attached to FECRU-6112.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kcichy Kamil Cichy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: