Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Improves exception message when alarmer is restarted #298

Open
kakwok opened this issue Jul 3, 2017 · 0 comments
Open

Improves exception message when alarmer is restarted #298

kakwok opened this issue Jul 3, 2017 · 0 comments

Comments

@kakwok
Copy link
Collaborator

kakwok commented Jul 3, 2017

The watchthreads throw null pointer exception from this line:
https://github.com/HCALRunControl/levelOneHCALFM/blob/integration/src/rcms/fm/app/level1/HCALEventHandler.java#L2493
Would be better to get more descriptive exception messages other than null pointer exception.

2017-06-30 12:35:18 and 428 ms : cms.hcalpro.rcms.fm.app.level1.HCALEventHandler
ERROR: AlarmerWatchThread(): got an exeption with stacktrace:java.lang.NullPointerException    at rcms.fm.app.level1.HCALEventHandler$AlarmerWatchThread.run(HCALEventHandler.java:2493)
2017-06-30 12:35:18 and 428 ms : cms.hcalpro.rcms.fm.app.level1.HCALEventHandler
ERROR: [HCAL HCAL_LEVEL_1] Error! Got an exception: AlarmerWatchThread()...
Here is the exception: null
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants