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 228893

Summary: ArrayIndexOutOfBoundsException: Array index out of range: 0
Product: editor Reporter: Jiri Prox <jiriprox>
Component: OptionsAssignee: Milutin Kristofic <mkristofic>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 200169
Attachments: stacktrace
exported profile

Description Jiri Prox 2013-04-23 12:43:31 UTC
Build: NetBeans IDE Dev (Build 201304222301)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b23, Java(TM) SE Runtime Environment, 1.8.0-ea-b82
OS: Windows 7

User Comments:
jiriprox: AIOOBE when opening imported fonts&colors profile from 7.3beta




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
   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.setCurrentProfile(HighlightingPanel.java:312)
   at org.netbeans.modules.options.colors.HighlightingPanelController.setCurrentProfile(HighlightingPanelController.java:65)
   at org.netbeans.modules.options.colors.FontAndColorsPanel.setCurrentProfile(FontAndColorsPanel.java:215)
   at org.netbeans.modules.options.colors.FontAndColorsPanel.access$200(FontAndColorsPanel.java:80)
Comment 1 Jiri Prox 2013-04-23 12:43:32 UTC
Created attachment 133708 [details]
stacktrace
Comment 2 Jiri Prox 2013-04-23 13:19:51 UTC
Created attachment 133709 [details]
exported profile
Comment 3 Jiri Prox 2013-04-23 13:30:36 UTC
The root is issue 227963

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