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 232744

Summary: ArrayIndexOutOfBoundsException: Array index out of range: 24
Product: editor Reporter: MackSix
Component: OptionsAssignee: Milutin Kristofic <mkristofic>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 202124
Attachments: stacktrace

Description MackSix 2013-07-15 20:36:47 UTC
Build: NetBeans IDE Dev (Build 201307150106)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
GUEST: ArrayIndexOutOfBoundsException: Array index out of range: 16

MackSix: 1. Goto Tools>>Options>>Fonts & Colors.
2. Goto Highlighting Tab
3. Choose Profile: Norway Today and then click Restore Button.
4. Choose Category: Trailing Whitespace

This Exception happens.




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 24
   at java.util.Vector.get(Vector.java:744)
   at org.netbeans.modules.options.colors.HighlightingPanel.refreshUI(HighlightingPanel.java:413)
   at org.netbeans.modules.options.colors.HighlightingPanel.access$100(HighlightingPanel.java:81)
   at org.netbeans.modules.options.colors.HighlightingPanel$1.valueChanged(HighlightingPanel.java:112)
   at javax.swing.JList.fireSelectionValueChanged(JList.java:1798)
   at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1812)
Comment 1 MackSix 2013-07-15 20:36:49 UTC
Created attachment 137153 [details]
stacktrace
Comment 2 MackSix 2013-07-15 20:41:05 UTC
This happens for all profiles except the default NetBeans profile.
Comment 3 Jiri Prox 2013-07-16 06:35:34 UTC
reproducible
Comment 4 Milutin Kristofic 2013-07-16 14:12:38 UTC
http://hg.netbeans.org/jet-main/rev/bdc8e9c5320e
Comment 5 Quality Engineering 2013-07-20 02:14:05 UTC
Integrated into 'main-silver', will be available in build *201307192300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bdc8e9c5320e
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #232744 - ArrayIndexOutOfBoundsException: Array index out of range: 24
Comment 6 MackSix 2013-07-26 07:48:26 UTC
Verified fixed in:

Product Version: NetBeans IDE Dev (Build 201307252300)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)