java.lang.RuntimeException: unknown line number 777 only know about 776

Atlassian JIRA | Ming Giet Chong [Atlassian] | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    from https://support.atlassian.com/browse/FSH-4311 ----- an error when rendering annotations view: {noformat}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){noformat} ----- may be caused by a bad blame chunk from the db - see [screehshot|http://img.skitch.com/20100916-jimt7yfnm3bcb9rsbge8u73qs3.png] , taken during debug of syntax highlighting rendering {noformat} 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 } {noformat} Attached is the file, but you can clone the repo at {{git://gitorious.org/qt/qt.git}} to reproduce this.

    Atlassian JIRA | 6 years ago | Joe Xie [atlassian]
    java.lang.RuntimeException: unknown line number 215 only know about 214
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    from https://support.atlassian.com/browse/FSH-4311 ----- an error when rendering annotations view: {noformat}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){noformat} ----- may be caused by a bad blame chunk from the db - see [screehshot|http://img.skitch.com/20100916-jimt7yfnm3bcb9rsbge8u73qs3.png] , taken during debug of syntax highlighting rendering {noformat} 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 } {noformat} Attached is the file, but you can clone the repo at {{git://gitorious.org/qt/qt.git}} to reproduce this.

    Atlassian JIRA | 6 years ago | Joe Xie [atlassian]
    java.lang.RuntimeException: unknown line number 215 only know about 214

    Root Cause Analysis

    1. java.lang.RuntimeException

      unknown line number 777 only know about 776

      at com.cenqua.fisheye.io.StreamIndexedLineReader.guardLineNumber()
    2. com.cenqua.fisheye
      SyntaxHighlightTag.doTag
      1. com.cenqua.fisheye.io.StreamIndexedLineReader.guardLineNumber(StreamIndexedLineReader.java:184)
      2. com.cenqua.fisheye.io.StreamIndexedLineReader.getOffsetForLine(StreamIndexedLineReader.java:164)
      3. com.cenqua.fisheye.web.tags.SyntaxHighlightTag.doTag(SyntaxHighlightTag.java:37)
      3 frames
    3. org.apache.jsp
      fileAnnotation_jsp._jspService
      1. org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_cru_synhi_0(fileAnnotation_jsp.java:810)
      2. org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_set_13(fileAnnotation_jsp.java:774)
      3. org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_forEach_1(fileAnnotation_jsp.java:552)
      4. org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_forEach_0(fileAnnotation_jsp.java:418)
      5. org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspService(fileAnnotation_jsp.java:121)
      5 frames