Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: Grails-FilterPane 0.6.2
-
Fix Version/s: Grails-FilterPane-0.6.3
-
Component/s: None
-
Labels:None
-
Environment:Bug introduced in version 0.6. Does not affect 0.5
-
Patch Submitted:Yes
Description
the "if (filterProperties != null) {" test has been removed from version 0.6
So in FilterService, when 'params' is empty (line 19), then filterOpParams (line 20) is null, and then filterOpParams.keySet() (line 33) throws a NullPointerException.
When you install the plugin, and then call /book/ist, then params is empty and it crashes.
Re-enabling the missing code solves the problem.
The NullPointerException stacktrace