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 252414

Summary: NullPointerException at org.netbeans.modules.nativeexecution.NativeProcessInfo.setArguments
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: RemoteAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217315
Attachments: stacktrace

Description Alexander Simon 2015-05-15 09:42:08 UTC
Build: NetBeans IDE Dev (Build 20150515-9abbf3397cab)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b26
OS: SunOS

User Comments:
alexvsimon: add new remote host




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.nativeexecution.NativeProcessInfo.setArguments(NativeProcessInfo.java:202)
   at org.netbeans.modules.nativeexecution.api.NativeProcessBuilder.setArguments(NativeProcessBuilder.java:306)
   at org.netbeans.modules.nativeexecution.api.util.ProcessUtils.execute(ProcessUtils.java:336)
   at org.netbeans.modules.cnd.remote.mapper.RemotePathMap.isTheSame(RemotePathMap.java:445)
   at org.netbeans.modules.cnd.remote.mapper.HostMappingProviderUnixAbstract.findMappings(HostMappingProviderUnixAbstract.java:119)
   at org.netbeans.modules.cnd.remote.mapper.HostMappingsAnalyzer.getMappingsImpl(HostMappingsAnalyzer.java:125)
Comment 1 Alexander Simon 2015-05-15 09:42:10 UTC
Created attachment 153679 [details]
stacktrace
Comment 2 Vladimir Kvashin 2015-05-15 15:32:05 UTC
Occurs just as I connect a host
Comment 3 Vladimir Kvashin 2015-05-15 16:06:21 UTC
Sorry.
Fixed:
http://hg.netbeans.org/cnd-main/rev/09f0a1459b22
Comment 4 Quality Engineering 2015-05-16 08:29:20 UTC
Integrated into 'main-silver', will be available in build *201505160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/09f0a1459b22
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #252414 - NullPointerException at org.netbeans.modules.nativeexecution.NativeProcessInfo.setArguments