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'm not sure what triggers it, but once or twice a day, I get an exception popup with "NoSuchElementException". From that point on, the IDE becomes unusable - anything Java-related I try to do (code completion, go to file, etc. etc.) just aborts with NoSuchElement exception. The only workaround I have found is to save my work and restart the IDE. This is on OSX using sources up to date as of 11/27. java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:427) at org.netbeans.modules.timers.InstanceWatcher.contains(InstanceWatcher.java:61) at org.netbeans.modules.timers.InstanceWatcher.add(InstanceWatcher.java:55) at org.netbeans.modules.timers.TimesCollectorPeer$ObjectCountDescripton.add(TimesCollectorPeer.java:187) at org.netbeans.modules.timers.TimesCollectorPeer$ObjectCountDescripton.access$000(TimesCollectorPeer.java:166) at org.netbeans.modules.timers.TimesCollectorPeer.reportReference(TimesCollectorPeer.java:82) at org.netbeans.api.timers.TimesCollector.reportReference(TimesCollector.java:45) at org.netbeans.api.java.source.JavaSource.createCurrentInfo(JavaSource.java:1349) at org.netbeans.api.java.source.JavaSource.access$2300(JavaSource.java:117) at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1112) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) [catch] at java.lang.Thread.run(Thread.java:613)
Hopefully fixed: Checking in InstanceWatcher.java; /cvs/apisupport/timers/src/org/netbeans/modules/timers/InstanceWatcher.java,v <-- InstanceWatcher.java new revision: 1.3; previous revision: 1.2 done