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.
The example is fixed: https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Operations_Network/3.2/html/Writing_JON_Command-Line_Scripts/multi.html Thanks!