This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | IndexOutOfBoundsException: Invalid line index=14 >= lineCount=1 | ||
---|---|---|---|
Product: | third-party | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | -- Other -- | Assignee: | issues@third-party <issues> |
Status: | REOPENED --- | ||
Severity: | blocker | CC: | squib |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=384 | ||
Issue Type: | DEFECT | Exception Reporter: | 384 |
Attachments: |
stacktrace
stacktrace |
Description
Exceptions Reporter
2009-07-06 15:03:49 UTC
Created attachment 84399 [details]
stacktrace
This issue already has 6 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=384 Build: NetBeans IDE 6.7 (Build 200906241340) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.IndexOutOfBoundsException: Invalid line index=184 >= lineCount=183<br/> at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:112)<br/> at org.openide.text.NbDocument$DocumentRenderer.run(NbDocument.java:669)<br/> at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1371)<br/> at org.openide.text.NbDocument$DocumentRenderer.renderToInt(NbDocument.java:644)<br/> at org.openide.text.NbDocument.findLineOffset(NbDocument.java:176)<br/> at cz.sickboy.netbeans.checkstyle.editor.CheckstyleAnnotation.documentAttach(CheckstyleAnnotation.java:59)<br/> Created attachment 85002 [details]
stacktrace
This issue already has 7 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=384 User issue. NbDocument.findLineOffset () must be called under document lock! Most likely a problem in cz.sickboy.netbeans.checkstyle.editor.CheckstyleAnnotation.documentAttach(CheckstyleAnnotation.java:59). |