Bug 974017 - Incorrect example 'Getting Data for Single and Multiple Resources'
Summary: Incorrect example 'Getting Data for Single and Multiple Resources'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Documentation
Version: JON 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Deon Ballard
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-13 09:55 UTC by Filip Brychta
Modified: 2014-10-23 12:30 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-24 17:33:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Filip Brychta 2013-06-13 09:55:58 UTC
Document URL: 
https://access.redhat.com/site/documentation/en-US/JBoss_Operations_Network/3.1/html/Dev_Writing_JON_Command-Line_Scripts/multi.html

Section Number and Name: 
Example 3. get(i)

Describe the issue: 
Command MeasurementDataManager.findDataForResource(resources.get(0).id,[mdef.id],start,end,"") throws java.lang.IllegalArgumentException: Number of buckets must be > 0

Suggestions for improvement: 
Correct command - MeasurementDataManager.findDataForResource(resources.get(0).id,[mdef.id],start,end,1)

Additional information: 
This issue has appeared on RHQ Version: 4.8.0-SNAPSHOT.


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