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 198754 - libhello3lib.so and libhello4lib.so projects doesn't appears ("C/C++ Project from Binary File" wizard)
Summary: libhello3lib.so and libhello4lib.so projects doesn't appears ("C/C++ Project ...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 08:22 UTC by soldatov
Modified: 2011-06-22 14:02 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 2011-05-20 08:22:32 UTC
build from elif

Prepare executable file:
- Create "Subproject Application" sample
- Build it by Oracle Solaris Studio
- Close project and restart IDE

Scenario:
- Call "C/C++ Project from Binary File" wizard
- Select /export/files/NB/SubProjects_2/main/dist/Debug/OracleSolarisStudio-Solaris-x86/main executable
- Select "Include Dependencies into the Project"
- Push Next and Finish buttons
====> libhello3lib.so and libhello4lib.so projects doesn't appears

INFO [org.netbeans.modules.cnd.discovery.projectimport.ImportProject]: Start fixing of excluded header files for project main_1222222 org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl @27374116:27374116
INFO [cnd.logger]: path must be absolute libhello3lib.so
java.lang.Exception: path must be absolute libhello3lib.so
	at org.netbeans.modules.cnd.utils.CndUtils.assertTrueInConsole(CndUtils.java:194)
	at org.netbeans.modules.cnd.utils.CndUtils.assertAbsolutePathInConsole(CndUtils.java:211)
	at org.netbeans.modules.cnd.utils.cache.CndFileUtils.createLocalFile(CndFileUtils.java:256)
	at org.netbeans.modules.cnd.discovery.projectimport.CreateDependencies.createProject(CreateDependencies.java:272)
	at org.netbeans.modules.cnd.discovery.projectimport.CreateDependencies.create(CreateDependencies.java:145)
	at org.netbeans.modules.cnd.discovery.projectimport.ImportExecutable$4.projectParsingFinished(ImportExecutable.java:509)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ProgressSupport.fireProjectParsingFinished(ProgressSupport.java:154)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.handleLastProjectFile(ParserQueue.java:844)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.onFileParsingFinished(ParserQueue.java:814)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread._run(ParserThread.java:145)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:72)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:91)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 2 ms
Comment 1 soldatov 2011-05-20 08:51:37 UTC
Wrong line in scenario:
- Select "Include Dependencies into the Project"
Correct line:
- Select "Create Separate Projects for Dependencies"
Comment 2 Alexander Simon 2011-05-23 08:10:18 UTC
fixed, change set:
http://hg.netbeans.org/releases/rev/85e101597691
Comment 3 Quality Engineering 2011-06-22 14:02:54 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/5e38fede658e
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #198754 libhello3lib.so and libhello4lib.so projects doesn't appears ("C/C++ Project from Binary File" wizard)
(transplanted from 85e1015976911611000ed696c67a070f84cb23c7)