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

error in file annotation page 'unknown line number 215 only know about 214'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.4.0
    • None
    • Indexing

    Description

      from https://support.atlassian.com/browse/FSH-4311


      an error when rendering annotations view:

      2010-09-06 09:02:58,729 ERROR [btpool0-104] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /fisheye/browse/Qt/src/declarative/graphicsitems/qdeclarativeflickable_p_p.h
      java.lang.RuntimeException: unknown line number 215 only know about 214
      	at com.cenqua.fisheye.io.StreamIndexedLineReader.guardLineNumber(StreamIndexedLineReader.java:184)
      	at com.cenqua.fisheye.io.StreamIndexedLineReader.getOffsetForLine(StreamIndexedLineReader.java:164)
      	at com.cenqua.fisheye.web.tags.SyntaxHighlightTag.doTag(SyntaxHighlightTag.java:37)
      	at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_cru_synhi_0(fileAnnotation_jsp.java:810)
      	at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_set_13(fileAnnotation_jsp.java:774)
      	at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_forEach_1(fileAnnotation_jsp.java:552)
      	at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_forEach_0(fileAnnotation_jsp.java:418)
      	at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspService(fileAnnotation_jsp.java:121)

      may be caused by a bad blame chunk from the db - see screehshot , taken during debug of syntax highlighting rendering

      blamechunk {
         blameInfo { 
            path: src/declarative/graphicsitems/qdeclarativeflickable_p_p.h
            revision: 7c76abb0dc4204043bec9b6fa315f9753a7986ae
            comment: Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to QDeclarativeXXX.
            date:1266979320000
            changesetid:7c76abb0dc4204043bec9b6fa315f9753a7986ae
         }
         start = 171
         originalStartingLine = 162
         revId = 488830
         length = 52
      }
      

      Attached is the file, but you can clone the repo at git://gitorious.org/qt/qt.git to reproduce this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jxie Chii
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: