Bug 721290

Summary: MeasurementAggregate not serializable
Product: [Other] RHQ Project Reporter: Andreas Veithen <andreas.veithen>
Component: CLIAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0.0CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 4.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 19:24:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Andreas Veithen 2011-07-14 08:40:12 UTC
I'm trying to use MeasurementDataManager.getAggregate in a CLI script in order to determine the maximum value of a metric over a given interval of time. However this fails on the server side with the following exception:

java.io.NotSerializableException: org.rhq.enterprise.server.measurement.MeasurementAggregate

Obviously, since MeasurementAggregate is used as a return value in MeasurementDataManagerRemote, it should implement Serializable. I got this error with RHQ 3.0.0, but MeasurementAggregate doesn't implement Serializable on the trunk either.

Comment 1 Heiko W. Rupp 2011-07-14 10:14:03 UTC
Made serializable in a8e47b2

Comment 2 Mike Foley 2011-07-26 17:37:29 UTC
verified through code inspection

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