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 231304

Summary: ArrayIndexOutOfBoundsException: List contains 421 items, but tried to fetch item 421
Product: platform Reporter: everflux <everflux>
Component: Output WindowAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 201439
Attachments: stacktrace

Description everflux 2013-06-15 14:34:51 UTC
Build: NetBeans IDE Dev (Build 201306142301)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
everflux: glassfish output window, rightclick and select "output folds -> collapse nodes"




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: List contains 421 items, but tried to fetch item 421
   at org.netbeans.core.output2.IntListSimple.get(IntListSimple.java:70)
   at org.netbeans.core.output2.AbstractLines.getFoldStart(AbstractLines.java:1604)
   at org.netbeans.core.output2.ui.AbstractOutputPane.collapseFoldTree(AbstractOutputPane.java:836)
   at org.netbeans.core.output2.OutputTab$TabAction.actionPerformed(OutputTab.java:1206)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
Comment 1 everflux 2013-06-15 14:34:52 UTC
Created attachment 135838 [details]
stacktrace
Comment 2 Jaroslav Havlin 2013-06-18 15:19:20 UTC
http://hg.netbeans.org/core-main/rev/1b413002a9d8
Fixed.
Thank you for reporting.