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 218545 - IndexOutOfBoundsException: Index: 0, Size: 0
Summary: IndexOutOfBoundsException: Index: 0, Size: 0
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.3
Hardware: Macintosh Mac OS X
: P2 normal (vote)
Assignee: henk89
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-18 13:44 UTC by Alexander Pepin
Modified: 2012-09-26 02:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 192535


Attachments
stacktrace (7.74 KB, text/plain)
2012-09-18 13:44 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2012-09-18 13:44:48 UTC
Build: NetBeans IDE Dev (Build 201209180001)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.8-b03-424, Java(TM) SE Runtime Environment, 1.6.0_33-b03-424-10M3720
OS: Mac OS X

User Comments:
apepin: tried to customize existing function breakpoint




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.RangeCheck(ArrayList.java:547)
   at java.util.ArrayList.get(ArrayList.java:322)
   at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.NativeBreakpoint.postChange(NativeBreakpoint.java:1466)
   at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.BreakpointPanel.post(BreakpointPanel.java:570)
   at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.BreakpointPanel.access$600(BreakpointPanel.java:93)
   at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.BreakpointPanel$BptController.ok(BreakpointPanel.java:520)
Comment 1 Alexander Pepin 2012-09-18 13:44:51 UTC
Created attachment 124520 [details]
stacktrace
Comment 2 Alexander Pepin 2012-09-18 14:56:05 UTC
This exceptions appears on Mac and Windows but on Linux everything is OK.
Comment 3 henk89 2012-09-21 09:07:14 UTC
Behavior of breakpoints of another type is the same in case GDB can't find the location specified in a breakpoint.
Comment 4 henk89 2012-09-25 08:01:33 UTC
Fixed in:
http://hg.netbeans.org/cnd-main/rev/421a23d196aa
Comment 5 Quality Engineering 2012-09-26 02:10:33 UTC
Integrated into 'main-golden', will be available in build *201209260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/421a23d196aa
User: Nikolay Koldunov <henk89@netbeans.org>
Log: fixed #218545 - IndexOutOfBoundsException: Index: 0, Size: 0