Ticket #5480 (closed: fixed)
[C2E] - Crash When Starting Interface
Reported by: | Peter Parker | Owned by: | Peter Parker |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.2 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Stuart Campbell |
Description
A relatively recent change elsewhere has meant that the datasearch.directories property in the mantid.properties file no longer has any value when installing Mantid afresh, in a clean directory.
Meanwhile, the assumption has been made at least once (in the C2E code), that there will always be at least one directory listed. This assumption has led to the unsafe use of the [] operator, and results in a crash.
Change History
comment:2 Changed 8 years ago by Peter Parker
Refs #5480 - Fix C2E crash when starting up after fresh install.
Changeset: 13ae30beed7674fb327dda39f640ed73e03a8a9f
comment:3 Changed 8 years ago by Peter Parker
Refs #5480 - Fix C2E crash when starting up after fresh install.
Changeset: 13ae30beed7674fb327dda39f640ed73e03a8a9f
comment:4 Changed 8 years ago by Peter Parker
- Status changed from accepted to verify
- Resolution set to fixed
comment:5 Changed 8 years ago by Peter Parker
Refs #5480 - Fix C2E crash when starting up after fresh install.
Changeset: 13ae30beed7674fb327dda39f640ed73e03a8a9f
comment:6 Changed 8 years ago by Stuart Campbell
- Status changed from verify to verifying
- Tester set to Stuart Campbell