JON Command Line Client (rhq-cli) fails to start with NullPointerException on OpenJDK 6 in RHEL 5
Issue
- When I start rhq-cli.sh I get the following error:
Exception in thread "main" java.lang.NullPointerException at org.rhq.enterprise.client.commands.ScriptCommand.<init>(ScriptCommand.java:83) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at java.lang.Class.newInstance0(Class.java:372) at java.lang.Class.newInstance(Class.java:325) at org.rhq.enterprise.client.ClientMain.initCommands(ClientMain.java:118) at org.rhq.enterprise.client.ClientMain.main(ClientMain.java:103) - Starting rhq-cli.sh fails with java.lang.NullPointerException
Environment
- 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
