JON Command Line Client (rhq-cli) fails to start with NullPointerException on OpenJDK 6 in RHEL 5

Solution Unverified - Updated -


  • When I start I get the following error:
    Exception in thread "main" java.lang.NullPointerException
         at org.rhq.enterprise.client.commands.ScriptCommand.<init>(
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
         at java.lang.reflect.Constructor.newInstance(
         at java.lang.Class.newInstance0(
         at java.lang.Class.newInstance(
         at org.rhq.enterprise.client.ClientMain.initCommands(
         at org.rhq.enterprise.client.ClientMain.main(
  • Starting fails with java.lang.NullPointerException


  • JBoss Operations Network (JON) 2.4, 2.4.1
  • JON Command-Line Client tool rhq-cli
  • Red Hat Enterprise Linux (RHEL) 5.6
  • OpenJDK 1.6.0 - java-1.6.0-openjdk

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In