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.

Bug 62566

Summary: Invoking of CC in "Condition" field of "Customise BP" dialog couses exception
Product: editor Reporter: Max Sauer <msauer>
Component: -- Other --Assignee: issues@editor <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: exception stack trace

Description Max Sauer 2005-08-18 11:14:58 UTC
Upon invoking of Code Completion in "Condition" field of "Customise Breakpoint"
dialog, an exception is written to console:

javax.swing.text.BadLocationException: Invalid offset=-2
        at org.netbeans.editor.DocumentContent.checkBounds(DocumentContent.java:284)
        at org.netbeans.editor.DocumentContent.getString(DocumentContent.java:135)
...

Whole stacktrace is attached.

[200508171800, JDK 1.5.0_05 fcs b03, solaris 10/sparc]
Comment 1 Max Sauer 2005-08-18 11:16:09 UTC
Created attachment 24033 [details]
exception stack trace
Comment 2 Martin Entlicher 2005-08-18 11:21:24 UTC
This looks like an editor issue...
Comment 3 Martin Roskanin 2005-10-07 11:43:53 UTC
*** Issue 63395 has been marked as a duplicate of this issue. ***
Comment 4 Miloslav Metelka 2005-11-07 20:59:07 UTC
Looks like the Javadoc completion provider does not read-lock the document.
Anyway the javadoc completion was removed from production because of time
limitation. It will be finished in the next release.