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.
Build: NetBeans IDE 6.7.1 (Build 200907230233) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Windows Vista, 6.0, x86 User Comments: GUEST: closing windows and then resizing the overall window I guess the second comment also applies to my situation Debugging, IDE stopped at a breakpoint in code while i was viewing the associated JSP. IDE Unable to switch view for Visual JSF page GUEST: Replacing in project pavaneshwar: Used "Find and Replace in Projects" function. vanob: Invoked F6 on the Enterprise Application gtzabari: I selected a block of text (multiple lines) using SHIFT + arrow keys, then deleted it using backspace then I get the attached exception. Stacktrace: javax.swing.text.BadLocationException: Invalid offset=14003, docLength=1047 at org.netbeans.editor.DocumentContent.checkOffset(DocumentContent.java:326) at org.netbeans.editor.DocumentContent.createPosition(DocumentContent.java:117) at javax.swing.text.AbstractDocument.createPosition(AbstractDocument.java:816) at org.netbeans.api.editor.fold.Fold.<init>(Fold.java:142) at org.netbeans.api.editor.fold.FoldHierarchy$ApiPackageAccessorImpl.createFold(FoldHierarchy.java:352) at org.netbeans.modules.editor.fold.FoldOperationImpl.createFold(FoldOperationImpl.java:155)
Created attachment 85490 [details] stacktrace
This issue already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=595
Looks like a problem in JspFoldManager.
*** This issue has been marked as a duplicate of 157706 ***