Anonymous | Login | Signup for a new account | 2025-05-14 10:31 EDT | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000267 | JANA | Feature Request | public | 2012-07-09 09:52 | 2012-07-15 20:49 | ||||
Reporter | davidl | ||||||||
Assigned To | davidl | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
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. | ||||||||
Attached Files | |||||||||
![]() |
|
(0000397) davidl (administrator) 2012-07-15 20:49 |
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). |
![]() |
|||
Date Modified | Username | Field | Change |
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 - 2025 MantisBT Team |