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 - Invoking of CC in "Condition" field of "Customise BP" dialog couses exception
Summary: Invoking of CC in "Condition" field of "Customise BP" dialog couses exception
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 63395 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-18 11:14 UTC by Max Sauer
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stack trace (886 bytes, text/plain)
2005-08-18 11:16 UTC, Max Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
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.