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 252504 - IDE can't create Full Remote binary project (simplest Static Library)
Summary: IDE can't create Full Remote binary project (simplest Static Library)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-20 12:50 UTC by soldatov
Modified: 2015-05-30 10:05 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 2015-05-20 12:50:24 UTC
This test fails in 1 of many cases only. Remote host is Solaris with Oracle Solaris Studio 12.4, binary file is a simplest static library and I use FullRemote "C/C++ Project from Binary Files" wizard.
In this case IDE generates empty project (empty "Source Files" logical folder). Also I see NullPointerException in IDE log.

INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: May 20, 2015 4:43:34 PM org.netbeans.modules.cnd.dwarfdump.LddService getPubNames
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: INFO: Exception in file /export/hudson/home/SolStudioProjects/CppStaticLibrary_1/dist/Debug/OracleSolarisStudio-Solaris-Sparc/libcppstaticlibrary_1.a
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: java.lang.NullPointerException
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: 	at org.netbeans.modules.cnd.dwarfdump.Dwarf.readPubNames(Dwarf.java:133)
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: 	at org.netbeans.modules.cnd.dwarfdump.LddService.getPubNames(LddService.java:108)
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: 	at org.netbeans.modules.cnd.dwarfdump.LddService.dump(LddService.java:76)
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: 	at org.netbeans.modules.cnd.dwarfdump.LddService.main(LddService.java:69)
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: 
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: May 20, 2015 4:43:35 PM org.netbeans.modules.cnd.dwarfdump.LddService getPubNames
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: INFO: Exception in file /export/hudson/home/SolStudioProjects/CppStaticLibrary_1/dist/Debug/OracleSolarisStudio-Solaris-Sparc/libcppstaticlibrary_1.a
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: java.lang.NullPointerException
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: 	at org.netbeans.modules.cnd.dwarfdump.Dwarf.readPubNames(Dwarf.java:133)
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: 	at org.netbeans.modules.cnd.dwarfdump.LddService.getPubNames(LddService.java:108)
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: 	at org.netbeans.modules.cnd.dwarfdump.LddService.dump(LddService.java:76)
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: 	at org.netbeans.modules.cnd.dwarfdump.LddService.main(LddService.java:69)
INFO [org.netbeans.modules.cnd.remote.projectui.wizard.cnd.dwarf]: 
java.lang.NullPointerException
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.BaseDwarfProvider.getSourceFilePropertiesRemote(BaseDwarfProvider.java:418)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.BaseDwarfProvider.getSourceFileProperties(BaseDwarfProvider.java:398)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.BaseProvider.processArtifactFile(BaseProvider.java:352)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.BaseProvider.getSourceFileProperties(BaseProvider.java:222)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.AnalyzeExecutable$5.getSourcesConfiguration(AnalyzeExecutable.java:295)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.AnalyzeExecutable$5.getIncludedFiles(AnalyzeExecutable.java:312)
	at org.netbeans.modules.cnd.discovery.wizard.DiscoveryExtension.buildModel(DiscoveryExtension.java:409)
	at org.netbeans.modules.cnd.discovery.wizard.DiscoveryExtension.canApply(DiscoveryExtension.java:342)
	at org.netbeans.modules.cnd.discovery.wizard.DiscoveryExtension.canApply(DiscoveryExtension.java:461)
	at org.netbeans.modules.cnd.discovery.projectimport.ImportExecutable$3.run(ImportExecutable.java:374)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1440)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2055)
Comment 1 Alexander Simon 2015-05-20 14:22:21 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/d7107cd01f2a
Comment 2 Quality Engineering 2015-05-30 10:05:21 UTC
Integrated into 'main-silver', will be available in build *201505300811* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d7107cd01f2a
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug 252504 - IDE can't create Full Remote binary project (simplest Static Library)