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 252485 - ArrayIndexOutOfBoundsException: 1
Summary: ArrayIndexOutOfBoundsException: 1
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-19 15:09 UTC by ehsavoie
Modified: 2015-09-14 08:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217406


Attachments
stacktrace (3.27 KB, text/plain)
2015-05-19 15:09 UTC, ehsavoie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehsavoie 2015-05-19 15:09:43 UTC
Build: NetBeans IDE Dev (Build 201505170001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
ehsavoie: Clicking on the Tools menu




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 1
   at org.netbeans.modules.gsf.testrunner.ui.api.UICommonUtils.getFileObjectsFromNodes(UICommonUtils.java:84)
   at org.netbeans.modules.gsf.testrunner.ui.TestCreatorAction.enable(TestCreatorAction.java:119)
   at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:209)
   at org.openide.actions.ToolsAction.generate(ToolsAction.java:240)
   at org.openide.actions.ToolsAction.access$100(ToolsAction.java:94)
   at org.openide.actions.ToolsAction$Inline.synchMenuPresenters(ToolsAction.java:321)
Comment 1 ehsavoie 2015-05-19 15:09:45 UTC
Created attachment 153750 [details]
stacktrace
Comment 2 Theofanis Oikonomou 2015-09-14 08:14:59 UTC
This should be fixed by http://hg.netbeans.org/main-silver/rev/e1b49383cc4f. Please try a latest build and reopen if it still happens for you. Thank you