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.
This issue was reported manually by alexvsimon. It already has 1 duplicates Build: NetBeans IDE 7.4 (Build 201310111528) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows 8 User Comments: GUEST: I was customizing the GNU code formatting style for C++, and attempted to duplicate it to a new style. Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1911) at org.netbeans.modules.cnd.editor.options.ManageStylesPanel.nextId(ManageStylesPanel.java:255) at org.netbeans.modules.cnd.editor.options.ManageStylesPanel.duplicateButtonActionPerformed(ManageStylesPanel.java:211) at org.netbeans.modules.cnd.editor.options.ManageStylesPanel.access$300(ManageStylesPanel.java:70) at org.netbeans.modules.cnd.editor.options.ManageStylesPanel$2.actionPerformed(ManageStylesPanel.java:163) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
Created attachment 145848 [details] stacktrace
fixed, change set: http://hg.netbeans.org/cnd-main/rev/bbe834c6f9fd
Integrated into 'main-silver', will be available in build *201404180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/bbe834c6f9fd User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #242671 StringIndexOutOfBoundsException: String index out of range: -1
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/0423bcbb543f User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #242671 StringIndexOutOfBoundsException: String index out of range: -1 (transplanted from bbe834c6f9fdfcd9682f9bb0d1245761045246c0)