Play! unable to "recover" from ExceptionInItializationError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
play framework |
New
|
Undecided
|
Unassigned |
Bug Description
If a controller class throws a RuntimeException when it is loaded, Play! will say there was an ExceptionInInti
Basically, for some reason, if Play! fails to initialize a controller class once, it is then unable to load a new copy forever after until it is restarted. This affects Play! 1.0.2.1, and may also be a problem if any class loaded throws such an exception, not just controller classes. However, I only observed said issue via a controller class.
If the ability to replace the class after the first failure cannot be fixed, it would at least be nice to ensure that when the ExceptionInInit