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

Blame calculation problem: hunks don't match calculation context

    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:10,615 DEBUG [InitPing2 P4-swarm-C ] fisheye BlameChunksCalculator-applyHunks - Applying hunks; oldBlame=[0-30:1131], hunks=[<1:1, 1:1>, <3:1, 3:1>, <
      5:1, 5:1>, <7:1, 7:1>, <9:1, 9:1>, <11:1, 11:1>, <13:1, 13:1>, <15:1, 15:1>, <17:1, 17:1>, <19:1, 19:1>, <21:1, 21:1>, <23:1, 23:1>, <25:1, 25:1>, <27:1, 27:1>, <29:1,
       29:1>, <31:1, 31:1>], hunksRevId=1625
      2015-12-10 04:53:10,615 DEBUG [InitPing2 P4-swarm-C ] fisheye BaseBlameAndLinecountCalculator-calcBlame - Problems calculating blame for guest/richard_geiger/utils/cvs
      2p4/test/changes.good@249, will fetch from repository instead
      com.cenqua.fisheye.rep.AuthorBlameException: Hunk 'to' line does not match current calculation context; hunk=<31:1, 31:1>, currentFromLine=30, currentToLine=30, currentChunk=null, newChunks=[0-1:1131, 1-2:1625, 2-3:1131, 3-4:1625, 4-5:1131, 5-6:1625, 6-7:1131, 7-8:1625, 8-9:1131, 9-10:1625, 10-11:1131, 11-12:1625, 12-13:1131, 13-14:1625, 14-15:1131, 15-16:1625, 16-17:1131, 17-18:1625, 18-19:1131, 19-20:1625, 20-21:1131, 21-22:1625, 22-23:1131, 23-24:1625, 24-25:1131, 25-26:1625, 26-27:1131, 27-28:1625, 28-29:1131, 29-30:1625, 30-31:1625], 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: