-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 M4
-
Component/s: ~ [Archived] Frontend Infrastructure, ~[Archived] UI Taglibs
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
Steps to reproduce
- Execute following groovy script:
try { def rowChecker = new com.liferay.portal.kernel.dao.search.RowChecker(actionResponse); out.println(rowChecker); rowChecker.getAllRowsCheckBox(); } catch (Exception e) { e.printStackTrace(out); }
- Expected behavior: No NPE exception is thrown
- Wrong behavior: NPE exception is thrown
com.liferay.portal.kernel.dao.search.RowChecker@63f6f22 java.lang.NullPointerException at com.liferay.portal.kernel.dao.search.RowChecker.getAllRowsCheckbox(RowChecker.java:168) at com.liferay.portal.kernel.dao.search.RowChecker.getAllRowsCheckBox(RowChecker.java:67) at com.liferay.portal.kernel.dao.search.RowChecker.getAllRowsCheckBox(RowChecker.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)