Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The following code snippet throws a NPE on a fairly recent version of 1.5. I would expect it to return true, or at the very least, to throw a meaningful exception.
SadPanda.java
VisibilityEvaluator evaluator = new VisibilityEvaluator(new Authorizations("a".getBytes())); ColumnVisibility cv = new ColumnVisibility(new byte[0]); //The following line throws a NPE boolean result = evaluator.evaluate(cv);