Bug 1126500 - Graphs fail to render with 'java.lang.IllegalArgumentException: lowValue' in log
Summary: Graphs fail to render with 'java.lang.IllegalArgumentException: lowValue' in log
Status: ON_QA
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server, Storage Node
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified vote
Target Milestone: GA
: RHQ 4.13
Assignee: Nobody
QA Contact: Mike Foley
Depends On:
Blocks: 1126495
TreeView+ depends on / blocked
Reported: 2014-08-04 15:22 UTC by John Sanda
Modified: 2020-04-27 01:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description John Sanda 2014-08-04 15:22:54 UTC
Description of problem:
Prior to RHQ 4.12 it was possible to produce an aggregate metric like {min: Double.NaN, max: Double.NaN, avg: 0.0}. This was caused in part by not handling late measurement reports. When these invalid metrics are included in the result set for a query to fetch data points for a graph, it could result in an IllegalArgumentException being thrown from MetricsServer.createComposites.

InvalidMetricsManager was introduced to handle metrics where max < avg or min > avg, but it also needs to treat metrics having NaN as a value as invalid.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 1 John Sanda 2014-08-04 15:49:04 UTC
I have added logic to InvalidMetricsManager to treat aggregate metrics having a value of Double.NaN as invalid.

master commit hash: 1275e5dc862

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