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 - code model IndexOutOfBoundsException: Index: 0, Size: 0
Summary: code model IndexOutOfBoundsException: Index: 0, Size: 0
Status: RESOLVED DUPLICATE of bug 107090
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-19 03:14 UTC by Thomas Preisler
Modified: 2007-09-06 18:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***