Bug 743221 - Monitor->Graph does not display, throws an exception
Summary: Monitor->Graph does not display, throws an exception
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.1
Hardware: Unspecified
OS: Unspecified
high
high vote
Target Milestone: ---
: ---
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: rhq42
TreeView+ depends on / blocked
 
Reported: 2011-10-04 09:48 UTC by Heiko W. Rupp
Modified: 2012-02-07 19:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-07 19:22:19 UTC


Attachments (Terms of Use)
Full stack trace (99.65 KB, text/plain)
2011-10-04 09:48 UTC, Heiko W. Rupp
no flags Details
Proposed patch (3.21 KB, text/plain)
2011-10-05 13:50 UTC, Heiko W. Rupp
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 634648 0 urgent CLOSED Advanced Settings for Metric Display Range do not work 2021-02-22 00:41:40 UTC

Internal Links: 634648

Description Heiko W. Rupp 2011-10-04 09:48:47 UTC
Created attachment 526215 [details]
Full stack trace

I was just trying to access metric graphs, but that fails with an exception page

Page shows:

	 IndexOutOfBoundsException
Index: 0, Size: 0
You can view the stack trace, return to the previous page, Dashboard, or Browse Resources page.

Stack trace then shows:

/rhq/common/monitor/events/data-plain.xhtml @53,56 test="#{not empty EventsTimelineUIBean.data}" Cant instantiate class: org.rhq.enterprise.gui.measurement.graphs.EventsTimelineUIBean.
com.sun.facelets.tag.TagAttributeException: /rhq/common/monitor/events/data-plain.xhtml @53,56 test="#{not empty EventsTimelineUIBean.data}" Cant instantiate class: org.rhq.enterprise.gui.measurement.graphs.EventsTimelineUIBean. at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235) at 

Full trace is attached

Comment 1 Heiko W. Rupp 2011-10-04 09:56:49 UTC
Looks like this is not a general issue. I rather suspect (as I was looking at https://bugzilla.redhat.com/show_bug.cgi?id=634648 before) that the other issue may have caused this.

Comment 2 Heiko W. Rupp 2011-10-04 09:59:33 UTC
Indeed - my range preference were set to "advanced". Going to the tables tab also showed no data with the same trace in the logs.
Then at the bottom of the page I was able to set the time preferences to "last X" mode and set them to last 8 hours. After this the graphs displayed again correctly.

Comment 3 Heiko W. Rupp 2011-10-05 13:50:05 UTC
Created attachment 526496 [details]
Proposed patch

Comment 5 Heiko W. Rupp 2011-10-17 07:53:26 UTC
3e4e63a in master

Comment 6 Mike Foley 2011-10-18 14:59:20 UTC
identified new issue, discussed with heiko, and added new issue ... BZ https://bugzilla.redhat.com/show_bug.cgi?id=747007 

marking this verified

Comment 7 Mike Foley 2012-02-07 19:22:19 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE


Note You need to log in before you can comment on or make changes to this bug.