Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.3.0
Description
Hi.
In this code:
if (status == null || (status != Status.OK && status != Status.ERROR && status != Status.KILLED)) { throw new IllegalArgumentException("Action status must be OK, ERROR or KILLED. Received [" + status.toString() + "]"); }
if status is null, status.toString() will be executed, so NullPointerException will be throw.
This possible defect found by AppChecker.