modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/drift/DriftCarouselView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit be9d41a3a6e8be965b5d016bea666c38af29b31c Author: Jay Shaughnessy jshaughn@redhat.com Date: Mon Dec 5 11:08:25 2011 -0500
[Bug 760105 - Drift: Unchecking the 'File Changed' option in 'Category' drop-down in the carousel view displays Globally uncaught exception] This had to do with the filtering leaving no eligible snapshots.
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/drift/DriftCarouselView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/drift/DriftCarouselView.java index 544ef81..6ccbb17 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/drift/DriftCarouselView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/drift/DriftCarouselView.java @@ -167,7 +167,7 @@ public class DriftCarouselView extends BookmarkableCarousel implements DetailsVi break; } } - if (null == maxSnapshotVersion || maxSnapshotVersion < carouselStart) { + if (null == maxSnapshotVersion || null == carouselStart || maxSnapshotVersion < carouselStart) { maxSnapshotVersion = carouselStart; setCarouselStartFilterMax(maxSnapshotVersion); }