Bug 721290 - MeasurementAggregate not serializable
Summary: MeasurementAggregate not serializable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: CLI
Version: 3.0.0
Hardware: x86_64
OS: Linux
medium
medium vote
Target Milestone: ---
: ---
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-14 08:40 UTC by Andreas Veithen
Modified: 2012-02-07 19:24 UTC (History)
1 user (show)

Fixed In Version: 4.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-07 19:24:53 UTC


Attachments (Terms of Use)

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


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