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 232337 - ArrayIndexOutOfBoundsException: -1
Summary: ArrayIndexOutOfBoundsException: -1
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-07 07:50 UTC by MackSix
Modified: 2013-08-14 10:37 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201961


Attachments
stacktrace (3.40 KB, text/plain)
2013-07-07 07:50 UTC, MackSix
Details
stacktrace (3.40 KB, text/plain)
2013-07-09 14:30 UTC, MackSix
Details
stacktrace (2.52 KB, text/plain)
2013-07-09 14:36 UTC, MackSix
Details
stacktrace (3.40 KB, text/plain)
2013-07-16 12:42 UTC, Marian Mirilovic
Details
stacktrace (3.40 KB, text/plain)
2013-07-19 05:33 UTC, Exceptions Reporter
Details
stacktrace (3.39 KB, text/plain)
2013-07-21 13:12 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-07-07 07:50:50 UTC
Build: NetBeans IDE Dev (Build 201307062300)
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:
MackSix: Continuing from Steps listed here: http://statistics.netbeans.org/analytics/exception.do?id=680002
4. Clicked Cancel on Options Dialog.
5. Tools>>Options>>C/C++ and Activate. Wait for Options Dialog to come back.
6. Java and Activate JavaFX.
This Exception was thrown.




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
   at java.util.ArrayList.elementData(ArrayList.java:371)
   at java.util.ArrayList.get(ArrayList.java:384)
   at javax.swing.JTabbedPane.getTitleAt(JTabbedPane.java:1112)
   at org.netbeans.modules.options.TabbedController.getHelpCtx(TabbedController.java:239)
   at org.netbeans.modules.options.CategoryModel$Category.getHelpCtx(CategoryModel.java:433)
   at org.netbeans.modules.options.CategoryModel$Category.access$900(CategoryModel.java:322)
Comment 1 MackSix 2013-07-07 07:50:51 UTC
Created attachment 136774 [details]
stacktrace
Comment 2 MackSix 2013-07-09 14:30:20 UTC
Created attachment 136883 [details]
stacktrace

1. Setting up PHP Code Analyis Code Sniffer. 
2. URL would not show after closing and reopening Options, but Default Standards showed. 3. Restarted NetBeans and JavaFX, PHP, C/C++ had automatically deactivated. 
4. Re-activated JavaFX and then PHP.
This Exeption happened.
Comment 3 MackSix 2013-07-09 14:36:19 UTC
Created attachment 136885 [details]
stacktrace

After this happened: https://netbeans.org/bugzilla/show_bug.cgi?id=232337
Activated C/C++ and this Exception happened.
Comment 4 Marian Mirilovic 2013-07-16 12:42:36 UTC
Created attachment 137211 [details]
stacktrace

Enabled PHP through Tools|Options, running in dark theme
Comment 5 Exceptions Reporter 2013-07-18 00:03:42 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=201961
Comment 6 Exceptions Reporter 2013-07-19 05:33:42 UTC
Created attachment 137412 [details]
stacktrace

I have just started using net beans 7.4 and open net beans 7.3 project after i was using preferance it crashed.
Comment 7 Exceptions Reporter 2013-07-21 13:12:43 UTC
Created attachment 137504 [details]
stacktrace

Activated PHP support in preferences.
Comment 8 Theofanis Oikonomou 2013-08-14 10:37:28 UTC
The fix in http://hg.netbeans.org/core-main/rev/d2be382ab254 should better sync getting the help context. Please try a latest build and reopen if it happens again. Thank you