NullPointerException when starting un-setup JON agent

Solution Verified - Updated -

Issue

When trying to start the JON agent, we see the following error:

Agent Name [myhost] : Failed to start the agentjava.lang.NullPointerException
at org.rhq.enterprise.communications.util.prefs.Setup.prompt(Setup.java:303)
at org.rhq.enterprise.communications.util.prefs.Setup.setup(Setup.java:193)
at org.rhq.enterprise.agent.promptcmd.SetupPromptCommand.performBasicSetup(SetupPromptCommand.java:107)
at org.rhq.enterprise.agent.AgentMain.main(AgentMain.java:407) 

Environment

  • JBoss Operation Network (JON) 2.4.1

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.