CodePudding user response:
You can query method is correct, the value to print it out firstCodePudding user response:
Null pointer exception, in point of its properties in an empty object, a good check and remind the wrong lineCodePudding user response:
Try to transform 35 4 rows into this:Int currentPage=(null==pager? 0: pager. GetCurrentPage ());
Int lastPage=(null==pager? 0: parer. GetTotalPages ());
CodePudding user response:
Null pointer exception, to see if the line of code where the error is not empty,Either by value, or judgment is empty to default value,