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 235514 - IndexOutOfBoundsException: Index: 1, Size: 1
Summary: IndexOutOfBoundsException: Index: 1, Size: 1
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 7.4
Hardware: All All
: P1 normal (vote)
Assignee: petrk
URL:
Keywords: 7.4_HR_FIX
Depends on:
Blocks:
 
Reported: 2013-09-04 15:28 UTC by Alexander Simon
Modified: 2013-11-11 15:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203582


Attachments
stacktrace (4.30 KB, text/plain)
2013-09-04 15:28 UTC, Alexander Simon
Details
stacktrace (4.54 KB, text/plain)
2013-09-04 15:52 UTC, Alexander Simon
Details
stacktrace (4.30 KB, text/plain)
2013-09-04 15:55 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2013-09-04 15:28:55 UTC
Build: NetBeans IDE Dev (Build 20130904-d34ff664d95a)
VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: SunOS

User Comments:
alexvsimon: visit references boost_1_54_0




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
   at java.util.ArrayList.RangeCheck(ArrayList.java:604)
   at java.util.ArrayList.get(ArrayList.java:382)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.gatherTemplateParamsMap(CsmCompletionQuery.java:2803)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.collectInstantiationParameters(CsmCompletionQuery.java:2772)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.createInstantiation(CsmCompletionQuery.java:2723)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.extractFunctionType(CsmCompletionQuery.java:1353)
Comment 1 Alexander Simon 2013-09-04 15:28:58 UTC
Created attachment 139665 [details]
stacktrace
Comment 2 Alexander Simon 2013-09-04 15:52:38 UTC
Created attachment 139667 [details]
stacktrace

boost
Comment 3 Alexander Simon 2013-09-04 15:55:39 UTC
Created attachment 139668 [details]
stacktrace

boost
Comment 4 petrk 2013-09-05 15:35:15 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/6530137a9376
Comment 5 soldatov 2013-09-09 10:32:09 UTC
verified in trunk

Product Version         = NetBeans IDE Dev (Build 201309090001) (#0d0494161044)
Operating System        = SunOS version 5.11 running on x86
Comment 6 Vladimir Voskresensky 2013-09-09 14:39:44 UTC
fix is safe
Comment 8 soldatov 2013-09-16 10:22:20 UTC
verified in NetBeans IDE 7.4 RC1 (Build 201309152201)