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 142438 - Regression: cannot run makefile
Summary: Regression: cannot run makefile
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on: 142396
Blocks:
  Show dependency tree
 
Reported: 2008-07-31 16:28 UTC by Thomas Preisler
Modified: 2008-07-31 16:32 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 Thomas Preisler 2008-07-31 16:28:24 UTC
Regression after latest tool set changes. It happens with out-of-the-box setup of IDE (no remote setup).

Right-click any make file and chose 'make' or 'make clean':
java.lang.NullPointerException
	at org.netbeans.modules.cnd.api.compilers.CompilerSetManager.init(CompilerSetManager.java:222)
	at org.netbeans.modules.cnd.api.compilers.CompilerSetManager.<init>(CompilerSetManager.java:211)
	at org.netbeans.modules.cnd.api.compilers.CompilerSetManager.getDefault(CompilerSetManager.java:152)
	at org.netbeans.modules.cnd.api.utils.PlatformInfo.getDefault(PlatformInfo.java:270)
	at org.netbeans.modules.cnd.remote.mapper.HostMappingsAnalyzer.<init>(HostMappingsAnalyzer.java:62)
	at org.netbeans.modules.cnd.remote.mapper.HostMappingsAnalyzer.<init>(HostMappingsAnalyzer.java:58)
	at org.netbeans.modules.cnd.remote.mapper.RemotePathMap.init(RemotePathMap.java:110)
	at org.netbeans.modules.cnd.remote.mapper.RemotePathMap.<init>(RemotePathMap.java:73)
	at org.netbeans.modules.cnd.remote.mapper.RemotePathMap.getMapper(RemotePathMap.java:65)
	at org.netbeans.modules.cnd.remote.mapper.RemoteHostInfoProvider.getMapper(RemoteHostInfoProvider.java:56)
	at org.netbeans.modules.cnd.api.remote.HostInfoProvider$DefaultProvider.getMapper(HostInfoProvider.java:97)
	at org.netbeans.modules.cnd.api.execution.NativeExecutor.executionStarted(NativeExecutor.java:274)
	at org.netbeans.modules.cnd.api.execution.NativeExecutor.run(NativeExecutor.java:204)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Comment 1 Sergey Grinev 2008-07-31 16:32:21 UTC
fixed with 142396 NPE appears when user runs shell script