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 63395 - javax.swing.text.BadLocationException: Upon invoking of Code Completion in "Advanced Initialization Code"
Summary: javax.swing.text.BadLocationException: Upon invoking of Code Completion in "A...
Status: VERIFIED DUPLICATE of bug 62566
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:
Depends on:
Blocks:
 
Reported: 2005-08-31 10:13 UTC by Max Sauer
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc. stack trace (886 bytes, text/plain)
2005-08-31 10:14 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-31 10:13:27 UTC
Following exception is typed in console when invoking CC in "Advanced
Initialization Codde" dialog:

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)
        at javax.swing.text.AbstractDocument.getText(AbstractDocument.java:777)
...
(whole stack trace added as attachement.)

[200508301800, JDK 1.5.0_05, solaris 10 /sparc]
Comment 1 Max Sauer 2005-08-31 10:14:50 UTC
Created attachment 24392 [details]
exc. stack trace
Comment 2 Jan Stola 2005-09-01 13:37:27 UTC
The exception comes from editor's code. Reassigning to editor for evaluation.
Comment 3 Martin Roskanin 2005-10-07 11:43:54 UTC
already reported, thanks

*** This issue has been marked as a duplicate of 62566 ***
Comment 4 Max Sauer 2005-10-07 11:55:27 UTC
Verified duplicate.

Must be really bad with me, I'm making duplicates of my own issues :-x