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 48612 - A java.lang.ArrayIndexOutOfBoundsException exception has occurred.
Summary: A java.lang.ArrayIndexOutOfBoundsException exception has occurred.
Status: RESOLVED DUPLICATE of bug 42625
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Other Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 21:21 UTC by fabiancito
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A java.lang.ArrayIndexOutOfBoundsException exception has occurred. (110.36 KB, text/plain)
2004-09-07 21:22 UTC, fabiancito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fabiancito 2004-09-07 21:21:10 UTC
java.lang.ArrayIndexOutOfBoundsException: -1
	at org.netbeans.lib.editor.view.GapObjectArray.
getItem(GapObjectArray.java:78)
	at org.netbeans.lib.editor.view.
GapBoxViewChildren.getChild(GapBoxViewChildren.
java:189)
	at org.netbeans.lib.editor.view.GapBoxView.
getChild(GapBoxView.java:1574)
	at org.netbeans.lib.editor.view.GapBoxView.
getView(GapBoxView.java:458)
	at org.netbeans.editor.CodeFoldingSideBar.
collectPaintInfos(CodeFoldingSideBar.java:335)
	at org.netbeans.editor.CodeFoldingSideBar.
getPaintInfo(CodeFoldingSideBar.java:380)
	at org.netbeans.editor.CodeFoldingSideBar.
paintComponent(CodeFoldingSideBar.java:450)
	at javax.swing.JComponent.paint(JComponent.java:
808)
	at javax.swing.JComponent.
paintChildren(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:
817)
	at javax.swing.JComponent.
paintChildren(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:
817)
	at javax.swing.JViewport.paint(JViewport.java:
722)
	at javax.swing.JComponent.
paintChildren(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:
817)
	at javax.swing.JComponent.
paintWithOffscreenBuffer(JComponent.java:4787)
	at javax.swing.JComponent.
paintDoubleBuffered(JComponent.java:4740)
	at javax.swing.JComponent.
_paintImmediately(JComponent.java:4685)
	at javax.swing.JComponent.
paintImmediately(JComponent.java:4488)
	at javax.swing.RepaintManager.
paintDirtyRegions(RepaintManager.java:410)
[catch] at javax.swing.
SystemEventQueueUtilities$ComponentWorkRequest.
run(SystemEventQueueUtilities.java:117)
	at java.awt.event.InvocationEvent.
dispatch(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.
java:454)
	at java.awt.EventDispatchThread.
pumpOneEventForHierarchy(EventDispatchThread.java:
201)
	at java.awt.EventDispatchThread.
pumpEventsForHierarchy(EventDispatchThread.java:
151)
	at java.awt.EventDispatchThread.
pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.
pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.
run(EventDispatchThread.java:100)
Comment 1 fabiancito 2004-09-07 21:22:21 UTC
Created attachment 17447 [details]
A java.lang.ArrayIndexOutOfBoundsException exception has occurred.
Comment 2 Martin Roskanin 2004-09-08 08:46:35 UTC
Already fixed. Thanks for your report.

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