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 187443

Summary: IndexOutOfBoundsException: Index: 0, Size: 0
Product: cnd Reporter: Alexander Pepin <apepin>
Component: DebuggerAssignee: Egor Ushakov <gorrus>
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 170612
Attachments: stacktrace

Description Alexander Pepin 2010-06-10 16:33:01 UTC
Build: NetBeans IDE 6.9 (Build 201006082101)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows Vista

User Comments:
apepin: Steps to reproduce:
- add remote host
- call Attach Debugger
- choose the remote host
- check "Show all processes"

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.RangeCheck(
   at java.util.ArrayList.get(
   at org.netbeans.modules.cnd.debugger.gdb.attach.ProcessList$
   at org.openide.util.RequestProcessor$
   at org.openide.util.RequestProcessor$
Comment 1 Alexander Pepin 2010-06-10 16:33:06 UTC
Created attachment 99986 [details]
Comment 2 Alexander Pepin 2010-06-10 17:00:39 UTC
It seems that the problem occurs when we use user names with dash like 'sstrunk-tester'  
Nice to have it fixed in 6.9.1.
Comment 3 Egor Ushakov 2010-06-11 10:04:25 UTC
fixed in trunk:
Comment 4 Egor Ushakov 2010-06-11 10:28:14 UTC
transplanted to 691:
Comment 5 Egor Ushakov 2010-06-11 10:28:33 UTC
once again, do I need to change spec versions myself?
Comment 6 Quality Engineering 2010-06-12 06:49:29 UTC
Integrated into 'main-golden', will be available in build *201006120001* on (upload may still be in progress)
User: Egor Ushakov <>
Log: fixed #187443 (IndexOutOfBoundsException: Index: 0, Size: 0)
Comment 7 rbalada 2010-06-16 09:12:42 UTC
Please verify the bugfix
Comment 8 rbalada 2010-06-17 14:16:18 UTC
Please mark bugs VERIFIED-FIXED before transplanting to release691.

Please verify this bugfix asap.

Comment 9 Alexander Pepin 2010-06-18 12:33:49 UTC
verified in trunk
Comment 10 Alexander Pepin 2010-07-07 13:43:23 UTC
verified in 6.9.1