Explanation
For method allocatePages(), value of the currentPage
parameter must be less than it of the numPages parameter.
User response
Ensure the value of the currentPage parameter is
less than it of the numPages parameter when using method allocatePages().