Bug 1431100 - "java.lang.IllegalArgumentException: NaN" is logged in the server.log file when trying to store BaseLine values in the database
Summary: "java.lang.IllegalArgumentException: NaN" is logged in the server.log file wh...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Database
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1431097
TreeView+ depends on / blocked
 
Reported: 2017-03-10 11:59 UTC by bkramer
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description bkramer 2017-03-10 11:59:23 UTC
Description of problem:

The following error is logged every time when RHQ tries to add NaN value in the database:
****************************
ERROR [org.jboss.as.ejb3.invocation] (RHQScheduler_Worker-1) JBAS014134: EJB Invocation failed on component MeasurementBaselineManagerBean for method public abstract long org.rhq.enterprise.server.measurement.MeasurementBaselineManagerLocal.calculateAutoBaselines(long,long): javax.ejb.EJBException: java.lang.RuntimeException: Auto-calculation failure
...
Caused by: java.lang.RuntimeException: Auto-calculation failure
...
Caused by: javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
...
Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
...
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not insert: [org.rhq.core.domain.measurement.MeasurementBaseline]
...
Caused by: java.lang.IllegalArgumentException: NaN
****************************

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

How reproducible:
Sometimes (not clear in what situations NaN values are generated)

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


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