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

Summary: ArrayIndexOutOfBoundsException: 1
Product: java Reporter: ehsavoie <ehsavoie>
Component: TestNGAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED FIXED    
Severity: normal CC: jungi
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217406
Attachments: stacktrace

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