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.
Build: NetBeans IDE 7.3 RC1 (Build 201301172100) VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21 OS: Linux User Comments: mstarnacki: In project properties HTML5Application I selected Run->Start File text field. I have filled out wit non existing file and then I clicked Browse button. Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1911) at org.netbeans.modules.web.clientproject.ui.BrowseFolders.expandSelection(BrowseFolders.java:141) at org.netbeans.modules.web.clientproject.ui.BrowseFolders.<init>(BrowseFolders.java:117) at org.netbeans.modules.web.clientproject.ui.BrowseFolders.showDialog(BrowseFolders.java:225) at org.netbeans.modules.web.clientproject.ui.BrowseFolders.showDialog(BrowseFolders.java:260) at org.netbeans.modules.web.clientproject.ui.customizer.RunPanel.jBrowseButtonActionPerformed(RunPanel.java:391)
Created attachment 130387 [details] stacktrace
Fixed. Thanks. http://hg.netbeans.org/web-main/rev/8bd98d80bb15
Integrated into 'main-silver', will be available in build *201307012300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8bd98d80bb15 User: Tomas Mysik <tmysik@netbeans.org> Log: #225086 - StringIndexOutOfBoundsException: String index out of range: -1