|Anonymous | Login | Signup for a new account||2020-08-13 22:24 EDT|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000267||JANA||Feature Request||public||2012-07-09 09:52||2012-07-15 20:49|
|Summary||0000267: Give better error message when input source does not exits|
|Description||JANA exits with an ugly and cryptic error message when there is no valid input. This can be because the user forgot to add a source to the command line, or that the given source does not exist.|
Currently, the exception (buried in a sea of other messages) is:
JEvent::GetObjects called when source is NULL
This should never happen since a NULL source should be detected earlier and GetObjects never called.
|Tags||No tags attached.|
Changes committed in revision 997. The number of specified sources is now checked in the Run method so if zero are specified, then an error is printed and the program exits immediately.
Additional checks are no done in OpenNext as well to print a message and exit quicker of none of the specified event sources could be opened.
I did not reproduce the error exactly as described so it's possible this won't work in all cases. I did, however test it for both these cases and it works as expected (on Mac OS X 10.7).
|2012-07-09 09:52||davidl||New Issue|
|2012-07-15 20:49||davidl||Note Added: 0000397|
|2012-07-15 20:49||davidl||Status||new => resolved|
|2012-07-15 20:49||davidl||Resolution||open => fixed|
|2012-07-15 20:49||davidl||Assigned To||=> davidl|
|Copyright © 2000 - 2020 MantisBT Team|