| Summary: | [stdlib] SystemCommand: property 'directory' not set leads to NPE | ||
|---|---|---|---|
| Product: | [Modeling] M2T | Reporter: | Karsten Thoms <karsten.thoms> |
| Component: | Xpand | Assignee: | 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: | |||
Initialized property 'directory' with 'new File(".")'
pushed to master
Bug resolved before Xpand 1.2 release date => Closing |
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.