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

Summary: IndexOutOfBoundsException: Index: 1, Size: 1
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code CompletionAssignee: petrk
Status: VERIFIED FIXED    
Severity: normal CC: alexvsimon
Priority: P1 Keywords: 7.4_HR_FIX
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203582
Attachments: stacktrace
stacktrace
stacktrace

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)