The root cause of the exception was null pointer in isNextExists(); The error seems to be
related to getMaxResults() returning a null if no resultset has been defined.
Adding max-results=25 to the framework query fixed the error, but it seems like the error
should be caught in getMaxResults and handled there.
The unfortunate thing is that this implementation suffers from the same problem that my
original implementation does. The list appears, you can click on next page to navigate to
the next page, click on previous page to return to the first page and the pagination
disappears.
MG
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099321#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...