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 240077 - ArrayIndexOutOfBoundsException: -1
Summary: ArrayIndexOutOfBoundsException: -1
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-07 13:48 UTC by christiaensm
Modified: 2014-01-09 08:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206375


Attachments
stacktrace (4.32 KB, text/plain)
2014-01-07 13:48 UTC, christiaensm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description christiaensm 2014-01-07 13:48:55 UTC
Build: NetBeans IDE Dev (Build 201401070002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b57, Java(TM) SE Runtime Environment, 1.8.0-ea-b115
OS: Linux

User Comments:
christiaensm: Simply opened my C++ project.




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
   at java.util.ArrayList.elementData(ArrayList.java:403)
   at java.util.ArrayList.set(ArrayList.java:431)
   at org.netbeans.modules.cnd.modelimpl.csm.TemplateUtils.checkTemplateType(TemplateUtils.java:413)
   at org.netbeans.modules.cnd.modelimpl.csm.TemplateUtils.checkTemplateType(TemplateUtils.java:382)
   at org.netbeans.modules.cnd.modelimpl.impl.services.InstantiationProviderImpl.instantiate(InstantiationProviderImpl.java:179)
   at org.netbeans.modules.cnd.modelimpl.impl.services.InstantiationProviderImpl.instantiate(InstantiationProviderImpl.java:229)
Comment 1 christiaensm 2014-01-07 13:48:57 UTC
Created attachment 143673 [details]
stacktrace
Comment 2 Alexander Simon 2014-01-09 08:39:33 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/7d5e02f4ffb8