"Can't find method org.rhq.core.domain.criteria.ResourceCriteria.addFilterExplicitGroupIds(number)" using JON CLI example

Solution Unverified - Updated -

Issue

I was working on some JON CLI scripting and following our documentation at: https://access.redhat.com/site/documentation/en-US/JBoss_Operations_Network/3.1/html-single/Dev_Writing_JON_Command-Line_Scripts/index.html#Creating_the_JON_Scripts-Getting_inventory_and_status_information_out

I am running 3.1.2.GA of JON, and the download for the CLI that it offers (4.4.0.JON312GA).
When I run the status.js mentioned in that section, I get an error: Can't find method org.rhq.core.domain.criteria.ResourceCriteria.addFilterExplicitGroupIds(number).

Environment

  • JBoss Operation Network (JON) 3.1.2
  • Sun/Oracle JDK 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content