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.
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)
*** This issue has been marked as a duplicate of 107090 ***