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

Summary: ArrayIndexOutOfBoundsException: 2
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: Code ModelAssignee: petrk
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226494
Attachments: stacktrace

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