Ticket #5480 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

[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:1 Changed 8 years ago by Peter Parker

  • Status changed from new to accepted

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

comment:7 Changed 8 years ago by Stuart Campbell

  • Status changed from verifying to closed

Did a clean install (RHEL6) and made sure that datasearch.directories was blank in all my *.properties files.

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6326

Note: See TracTickets for help on using tickets.