Ticket #1947 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

AlignDetectors should throw an exception

Reported by: Peter Peterson Owned by: Peter Peterson
Priority: minor Milestone: Iteration 26
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Whitty

Description

Rather than generating a segfault by accessing a null pointer, throw an exception when the instrument doesn't contain information.

Change History

comment:1 Changed 10 years ago by Peter Peterson

  • Status changed from new to accepted
  • Owner set to Peter Peterson

comment:2 Changed 10 years ago by Peter Peterson

  • Status changed from accepted to verify
  • Resolution set to fixed

(In [7586]) Check that the instrument actually has a source. Fixes #1947.

comment:3 Changed 10 years ago by Michael Whitty

  • Status changed from verify to verifying
  • Tester set to Michael Whitty

comment:4 Changed 10 years ago by Michael Whitty

  • Status changed from verifying to closed

doesn't crash rudely anymore.

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2794

Note: See TracTickets for help on using tickets.