Performing the following steps (using the gocql library) results in an NPE:
- With a table of 12 entries, read all rows.
- Set the page size to 1 and read the first row. Save the query state.
- Read all the row again.
- Set the page size to 5 and the page state to the previous state. (This is where the NPE occurs).
This can be reproduced with the following project: