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 268270 - ArrayIndexOutOfBoundsException: 2
Summary: ArrayIndexOutOfBoundsException: 2
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-29 14:46 UTC by Exceptions Reporter
Modified: 2017-03-31 18:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226494


Attachments
stacktrace (4.18 KB, text/plain)
2016-09-29 14:46 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-09-29 14:46:27 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
GUEST: I reparsed a CPP project. Thats all.




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 2
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionExpression.getTokenText(CsmCompletionExpression.java:470)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveItem(CsmCompletionQuery.java:2692)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp(CsmCompletionQuery.java:1885)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveType(CsmCompletionQuery.java:1599)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveType(CsmCompletionQuery.java:1588)
   at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.insertTypeOfParam(CsmCompletionQuery.java:3709)
Comment 1 Exceptions Reporter 2016-09-29 14:46:29 UTC
Created attachment 162270 [details]
stacktrace