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 Dev (Build 20140721-6145e99720a5) VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12 OS: Linux User Comments: GUEST: It happend while building. petrk: Tried to compile and run program (it was not comilable, so build failed) Stacktrace: java.lang.IndexOutOfBoundsException: No group 2 at java.util.regex.Matcher.group(Matcher.java:538) at org.netbeans.modules.cnd.toolchain.execution.GCCErrorParser.handleLine(GCCErrorParser.java:266) at org.netbeans.modules.cnd.toolchain.execution.GCCErrorParser.handleLine(GCCErrorParser.java:182) at org.netbeans.modules.cnd.spi.toolchain.CompilerLineConvertor.handleLine(CompilerLineConvertor.java:138) at org.netbeans.modules.cnd.spi.toolchain.CompilerLineConvertor.convert(CompilerLineConvertor.java:111) at org.netbeans.modules.cnd.makeproject.api.DefaultProjectActionHandler$ProcessChangeListener.convert(DefaultProjectActionHandler.java:520)
Created attachment 148239 [details] stacktrace
fixed, change set: http://hg.netbeans.org/cnd-main/rev/4874c5c6594a
Integrated into 'main-silver', will be available in build *201407310738* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4874c5c6594a User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #245919 IndexOutOfBoundsException: No group 2
Probably fixed. I was going to reopen, but your fix postdates the version I am running on my home machine (why am I running such old code?!?) Anyway, for me this persisted while I had a const constructor and a copy constructor declared private. The class instance was being assigned to an stl::vector element which needed the copy constructor. Once I changed the vector member to an auto pointer (so that the copy constructor was unneeded) the exceptions stopped. I am running... Product Version: NetBeans IDE Dev (Build 201407090001) Updates: Updates available Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.14.8-100.fc19.x86_64 running on i386; UTF-8; en_US (nb) User directory: /home/toddb/.netbeans/dev Cache directory: /home/toddb/.cache/netbeans/dev