Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.5-incubating
-
None
Description
When calling isActive() on JobContextImpl while the context is not active the method should return false.
The implementation of isActive() is in BaseContext
public boolean isActive() { return currentKey() != null; }
However the implementation of currentKey() in JobContextImpl does not return null but throws a NullPointerException when the context is not active yet.