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 231208 - Windows: exception in messages.log when IDE creating C/C++ Project with Existing Sources
Summary: Windows: exception in messages.log when IDE creating C/C++ Project with Exist...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project Discovery (show other bugs)
Version: 7.4
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 12:38 UTC by soldatov
Modified: 2013-06-25 02:44 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 soldatov 2013-06-13 12:38:32 UTC
Scenario:
- folder contains test.c and Makefile
- Call "C/C++ Project with Existing Sources" wizard
- Select folder with source files
- Select Automatic mode. Press Finish.
- Wait some time
- Check messages.log
===>
java.lang.Exception: enabling for MakeProject[C:\test_projects\test_src@8449a120:19e2851]
	at org.netbeans.modules.cnd.utils.CndUtils.assertTrueInConsole(CndUtils.java:206)

Project MakeProject[C:\test_projects\test_src@8449a120:19e2851] configuration has:
	C files 1 + excluded 0
	C++ files 0 + excluded 0
	Header files 0 + excluded 0
	All items 2
Configuration updated:
	0 deleted items
	0 added items
	1 changed items
Configuration updated:
	0 deleted items
	0 added items
	0 changed items
INFO [cnd.logger]: enabling for MakeProject[C:\test_projects\test_src@8449a120:19e2851]
java.lang.Exception: enabling for MakeProject[C:\test_projects\test_src@8449a120:19e2851]
	at org.netbeans.modules.cnd.utils.CndUtils.assertTrueInConsole(CndUtils.java:206)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl.setCodeAssistanceEnabled(ModelImpl.java:768)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl.enableProject(ModelImpl.java:746)
	at org.netbeans.modules.cnd.discovery.projectimport.ImportProject.switchModel(ImportProject.java:1324)
	at org.netbeans.modules.cnd.discovery.projectimport.ImportProject.discovery(ImportProject.java:1125)
	at org.netbeans.modules.cnd.discovery.projectimport.ImportProject.access$1800(ImportProject.java:151)
	at org.netbeans.modules.cnd.discovery.projectimport.ImportProject$8.executionFinished(ImportProject.java:918)
	at org.netbeans.modules.cnd.actions.AbstractExecutorRunAction$ProcessChangeListener.run(AbstractExecutorRunAction.java:558)
	at org.netbeans.modules.nativeexecution.api.execution.NativeExecutionService$PostRunnable.run(NativeExecutionService.java:397)
	at org.netbeans.api.extexecution.ExecutionService$3.call(ExecutionService.java:336)
	at org.netbeans.api.extexecution.ExecutionService$3.call(ExecutionService.java:234)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	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]: Indexing of: C:\netbeans-dev\ide\jsstubs\domstubs.zip took: 7 250 ms (New or modified files: 133, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.cnd.discovery.projectimport.ImportProject]: Start fixing of excluded header files for project test_src org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl @8496725:8496725
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\netbeans-dev\ide\jsstubs\corestubs.zip took: 2 828 ms (New or modified files: 31, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\netbeans-dev\ide\jsstubs\reststubs.zip took: 859 ms (New or modified files: 11, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 3 source roots took: 10 937 ms (New or modified files: 175, Deleted files: 0) [Adding listeners took: 0 ms]
Comment 1 Alexander Simon 2013-06-21 13:55:21 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/b325c2a07d1c
Comment 2 Quality Engineering 2013-06-25 02:44:05 UTC
Integrated into 'main-golden', will be available in build *201306242301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b325c2a07d1c
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #231208 Windows: exception in messages.log when IDE creating C/C++ Project with Existing Sources