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 243688

Summary: IndexOutOfBoundsException: Index: 17, Size: 15
Product: cnd Reporter: yuraaka
Component: Code ModelAssignee: issues@cnd <issues>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 209014
Attachments: stacktrace

Description yuraaka 2014-04-09 09:07:57 UTC
This bug was originally marked as duplicate of bug 240503, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201404080419)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
yuraaka: Steps to reproduce:
1) Update to development build 2014-04-08_04-19-16
2) Create remote project on existing files
3) Wait for parsing project is finished
4) Select any function or method, press right mouse button and select Show Call Graph

It worked on stable version of NetBeans 8.0.




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 17, Size: 15
   at java.util.ArrayList.RangeCheck(ArrayList.java:0)
   at java.util.ArrayList.get(ArrayList.java:0)
   at java.util.Collections$UnmodifiableList.get(Collections.java:0)
   at org.netbeans.modules.cnd.repository.storage.Storage$UnitIDReadConverterImpl.layerToClient(Storage.java:857)
   at org.netbeans.modules.cnd.indexing.impl.TextIndexStorage.toClientKey(TextIndexStorage.java:144)
   at org.netbeans.modules.cnd.indexing.impl.TextIndexStorage.query(TextIndexStorage.java:85)
Comment 1 yuraaka 2014-04-09 09:07:59 UTC
Created attachment 146646 [details]
stacktrace
Comment 2 Alexander Simon 2014-08-18 09:10:24 UTC

*** This bug has been marked as a duplicate of bug 243240 ***