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 184390 - [69cat] javax.swing.text.BadLocationException: Invalid offset=1074 not within <0, 1073>
Summary: [69cat] javax.swing.text.BadLocationException: Invalid offset=1074 not within...
Status: RESOLVED DUPLICATE of bug 180980
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-17 17:49 UTC by xpilot
Modified: 2010-04-19 10:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 168144


Attachments
stacktrace (3.40 KB, text/plain)
2010-04-17 17:49 UTC, xpilot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xpilot 2010-04-17 17:49:10 UTC
This bug was originally marked as duplicate of bug 172978, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201002152000)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
jasondonmoyer: using code completion to select a method (getter) from the current class that I was editing.

GUEST: When using code autocompletion (completing the name of the method).

GUEST: Editing Java Sources

xpilot: Tried to autocomplete method

GUEST: Occurred while compiling C program and using the editor at the same time.




Stacktrace: 
javax.swing.text.BadLocationException: Invalid offset=1074 not within <0, 1073>
   at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1389)
   at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1384)
   at org.netbeans.editor.Utilities.getRowStart(Utilities.java:156)
   at org.netbeans.editor.Utilities.getRowStart(Utilities.java:139)
   at org.netbeans.editor.CodeFoldingSideBar.traverseForward(CodeFoldingSideBar.java:332)
   at org.netbeans.editor.CodeFoldingSideBar.getPaintInfo(CodeFoldingSideBar.java:299)
Comment 1 xpilot 2010-04-17 17:49:16 UTC
Created attachment 97564 [details]
stacktrace
Comment 2 Vitezslav Stejskal 2010-04-19 10:12:39 UTC

*** This bug has been marked as a duplicate of bug 180980 ***