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 238342

Summary: Assert appears in messages.log after "Reparse Project" action
Product: cnd Reporter: soldatov <soldatov>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2013-11-14 08:06:49 UTC
Scenario:
- Launch NetBeans 7.4 patch1 build with -J-ea option
- Create C++ project with main.cpp file
- Open main.cpp file in editor
- Call context menu on project node
- Select "Code Assistance|Reparse Project"
==> assert in log

INFO [cnd.logger]: FILE PARSED FileImpl @681566967:12639124 /export/files/NB/CppApplication_1/main.cpp prj:26213899KeyBasedUID on ProjectKey /export/files/NB/CppApplication_1/N/ NOT_BEING_PARSED from invalid PROJECT CppApplication_1 org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl @15359582:15359582
java.lang.Exception: FILE PARSED FileImpl @681566967:12639124 /export/files/NB/CppApplication_1/main.cpp prj:26213899KeyBasedUID on ProjectKey /export/files/NB/CppApplication_1/N/ NOT_BEING_PARSED from invalid PROJECT CppApplication_1 org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl @15359582:15359582
	at org.netbeans.modules.cnd.utils.CndUtils.assertTrueInConsole(CndUtils.java:200)
	at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFiles(CsmUtilities.java:504)
	at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFile(CsmUtilities.java:533)
	at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFile(CsmUtilities.java:344)
	at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory.getCsmFile(CsmFileTaskFactory.java:259)
	at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory.access$1400(CsmFileTaskFactory.java:76)
	at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory$CsmSafeRunnable.run(CsmFileTaskFactory.java:490)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 3 ms
Comment 1 Vladimir Voskresensky 2014-11-20 12:04:12 UTC
can not reproduce and no anything similar for a year