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 182043 - Unexpected exceptions found in message.log ([java.util.NoSuchElementException])
Summary: Unexpected exceptions found in message.log ([java.util.NoSuchElementException])
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
: 181936 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-15 14:23 UTC by Alexander Pepin
Modified: 2010-03-17 05:13 UTC (History)
1 user (show)

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 Alexander Pepin 2010-03-15 14:23:34 UTC
while automatic testing the following exception appears quite often in messages.log and causes test failures (due to exception in messages.log) 
java.util.NoSuchElementException
	at java.util.AbstractList$Itr.next(AbstractList.java:350)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileContainer$FileEntry.getState(FileContainer.java:646)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileContainer$FileEntry.access$500(FileContainer.java:543)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileContainer.getPreprocState(FileContainer.java:220)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.findFileByPath(ProjectBase.java:1774)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.findFile(ProjectBase.java:1761)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl.findFile(ModelImpl.java:365)
	at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFiles(CsmUtilities.java:416)
	at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFiles(CsmUtilities.java:437)
	at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport$ExternalUpdateListener.run(ModelSupport.java:713)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl$2.run(ModelImpl.java:349)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1356)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1894)
Comment 1 Alexander Simon 2010-03-15 14:48:50 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/5ce9d5476df3
Comment 2 Vladimir Voskresensky 2010-03-15 15:21:20 UTC
*** Bug 181936 has been marked as a duplicate of this bug. ***
Comment 3 Quality Engineering 2010-03-17 05:13:57 UTC
Integrated into 'main-golden', will be available in build *201003170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5ce9d5476df3
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed BZ#182043 Unexpected exceptions found in message.log ([java.util.NoSuchElementException])