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 107116

Summary: code model IndexOutOfBoundsException: Index: 0, Size: 0
Product: cnd Reporter: Thomas Preisler <thp>
Component: Code ModelAssignee: issues@cnd <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Thomas Preisler 2007-06-19 03:14:24 UTC
I have gotten this exception many times today when opening a project:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
	at java.util.ArrayList.set(ArrayList.java:337)
	at org.netbeans.modules.cnd.modelimpl.repository.KeyUtilities$UnitsCache.read(KeyUtilities.java:532)
	at org.netbeans.modules.cnd.modelimpl.repository.KeyUtilities.readUnitsCache(KeyUtilities.java:669)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl.readProjectsIndex(ModelImpl.java:774)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl.startup(ModelImpl.java:479)
	at org.netbeans.modules.cnd.modelimpl.Installer.restored(Installer.java:45)
	at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:366)
	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:282)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:904)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:383)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:317)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:250)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:210)
	at org.netbeans.core.startup.Main.start(Main.java:381)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:96)
[catch] at java.lang.Thread.run(Thread.java:595)
Comment 1 Alexander Simon 2007-06-19 06:51:51 UTC

*** This issue has been marked as a duplicate of 107090 ***