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 32810 - ArrayIndexOutOfBoundsException in editor
Summary: ArrayIndexOutOfBoundsException in editor
Status: RESOLVED DUPLICATE of bug 33040
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 32808 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-10 22:43 UTC by TomBarbaro
Modified: 2007-11-05 13:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
output of "find /opt/netbeans_ide_3.5/ -ls" (95.86 KB, text/plain)
2003-06-10 17:19 UTC, _ proxity
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TomBarbaro 2003-04-10 22:43:46 UTC
At random times while editing I get an 
ArrayIndexOutOfBoundsException exception. It does not seem 
to harm anything.  Here is the stacktrace.

java.lang.ArrayIndexOutOfBoundsException: 471
	at org.netbeans.editor.GapObjectArray.getItem
(GapObjectArray.java:71)
	at org.netbeans.editor.GapBranchElement.getElement
(GapBranchElement.java:45)
	at org.openide.text.NbDocument.findLineOffset
(NbDocument.java:124)
	at org.openide.text.DocumentLine$Set.getCurrent
(DocumentLine.java:754)
	at 
org.netbeans.modules.java.ParserAnnotation.attachToLineSet
(ParserAnnotation.java:133)
	at 
org.netbeans.modules.java.JavaEditor.processAnnotations
(JavaEditor.java:449)
	at org.netbeans.modules.java.JavaEditor.access$300
(JavaEditor.java:77)
[catch] at org.netbeans.modules.java.JavaEditor$2.run
(JavaEditor.java:297)
	at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent
(EventQueue.java:448)
	at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:197)
	at 
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)
	at java.awt.EventDispatchThread.run
(EventDispatchThread.java:99)
Comment 1 Martin Roskanin 2003-04-11 08:08:26 UTC
The similar exception is mentioned also in the issue #31354
Comment 2 ehucka 2003-04-11 08:59:29 UTC
*** Issue 32808 has been marked as a duplicate of this issue. ***
Comment 3 _ proxity 2003-06-10 17:19:10 UTC
Created attachment 10641 [details]
output of "find  /opt/netbeans_ide_3.5/ -ls"
Comment 4 Martin Roskanin 2003-06-16 09:26:35 UTC

*** This issue has been marked as a duplicate of 33040 ***