NullPointerException on Shutdown without Start #2481
Labels
Priority 3: Could
Low priority. Issues that are nice to have but have a straightforward workaround.
Status: Resolved
Use to signal that work on this issue is done.
Type: Bug
Use to signal issues that describe a bug within the system.
Milestone
Hi,
We noticed an interesting behaviour of (at least) the MessageHandlerRegistrar which fails with a NPE when it is stopped but not started.
Basic information
Steps to reproduce
Please take a look at the above code.
Expected behaviour
The shutdown should - in my opinion - never fail with a NPE, even if it has never been started. Either make sure that the components can handle this (no exception at all) or make sure that shutdown can not be called without being started first (IllegalStateException with clear message).
Actual behaviour
The shutdown fails with a NullPointerException in MessageHandlerRegistrar.
The text was updated successfully, but these errors were encountered: