exception with CriteriaQueryRunner

Heiko W.Rupp hrupp at redhat.com
Thu May 23 18:36:47 UTC 2013


Am 23.05.2013 um 20:31 schrieb John Sanda:

> I'm hitting the following exception regularly,
> 
> 1:19:21,821 ERROR [org.jboss.as.ejb3.invocation] (RHQScheduler_Worker-3) JBAS014134: EJB Invocation failed on component MeasurementDefinitionManagerBean for method public abstract org.rhq.core.domain.util.PageList org.rhq.enterprise.server.measurement.MeasurementDefinitionManagerLocal.findMeasurementDefinitionsByCriteria(org.rhq.core.domain.auth.Subject,org.rhq.core.domain.criteria.MeasurementDefinitionCriteria): javax.ejb.EJBTransactionRolledbackException: PageList was passed an empty collection but 'totalSize' was 146, PageControl[page=1, size=200, sort[id ASC]]

Page numbers start at 0

You request a page size of 200 and page 1 - i.e. items 200-399, but there are only 146 items available.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.fedorahosted.org/pipermail/rhq-devel/attachments/20130523/06db9ec1/attachment.sig>


More information about the rhq-devel mailing list