| Summary: | "java.lang.IllegalArgumentException: PageList was passed an empty collection but 'totalSize' was 3, PageControl[firstRow=26, size=50]" exception thrown when fetching compatible groups | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | John Sanda <jsanda> |
| Component: | Core Server | Assignee: | John Sanda <jsanda> |
| Status: | CLOSED WORKSFORME | QA Contact: | Mike Foley <mfoley> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.2 | CC: | hrupp, ian.springer, mazz |
| Target Milestone: | --- | ||
| Target Release: | JON 3.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-27 21:56:26 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 735475, 782579 | ||
|
Description
John Sanda
2012-01-03 17:03:10 UTC
I have not been able to replicate this on master branch. This sounds very similar to https://bugzilla.redhat.com/show_bug.cgi?id=720490, which was fixed back on 10/14/11, but it's possible the fix didn't make it into RHQ 4.2, which was released on 10/31/11. I fixed one code path that can cause the invalid page control exception w/ http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=f85fcf0a. This will reset the ListGrid to page 0 after the user deletes or uninventories resources or groups to prevent an invalid PageControl from being sent to the Server in the subsequent fetch call. However, John said that he did not delete any groups prior to seeing the invalid page control exception, so I think there may be another code path that triggers the exception. However, I was unable to find it using the repro steps provided by John. I'm assigning this back to John to see if he can reproduce it again and provide improved repro steps. I have tested this again and am not able to reproduce the issue. I am closing the bug out. |