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: | javax.swing.text.BadLocationException: reqPos=2634, reqLen=-2379, doc.getLength()=2643 | ||
---|---|---|---|
Product: | editor | Reporter: | _ potingwu <potingwu> |
Component: | Code folding | Assignee: | issues@editor <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ potingwu
2004-05-28 00:04:49 UTC
The first part of the problem should be fixed by the fix of issue 42504 (already backported into custom_folds). Could you please provide a full stacktrace of the second problem? I would like to know from where the org.openide.text.DocumentLine$Set.getCurrent(DocumentLine.java:904) gets called because the DocumentLine.Set.getCurrent() is declared to throw the exception in case the given line is invalid so the caller should be aware of that. Thanks. No info provided thus closing. Please reopen if the problem persists. |