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

Updated 2011-05-05T19:58:09+00:00


  • 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 content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.