Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328445

Summary: [stdlib] SystemCommand: property 'directory' not set leads to NPE
Product: [Modeling] M2T Reporter: Karsten Thoms <karsten.thoms>
Component: XpandAssignee: Project Inbox <m2t.xpand-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: 1.0.1   
Target Milestone: SR2   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Karsten Thoms CLA 2010-10-22 05:27:43 EDT
Specifying the 'directory' property for the SystemCommand component is mandatory. It can be either defaulted to "." or checked that it is set. When not setting this property the log statement
			log
					.info("Running command '" + pb.command() + "' in directory " + pb.directory().getAbsolutePath()
							+ " ...");

produces a NPE.
Comment 1 Karsten Thoms CLA 2011-02-15 15:31:20 EST
Initialized property 'directory' with 'new File(".")'

pushed to master
Comment 2 Karsten Thoms CLA 2013-02-21 08:10:18 EST
Bug resolved before Xpand 1.2 release date => Closing