Invocation of the JON Agent method getCurrentDateTime sometimes returns null
Issue
- Invoking the method below on JON agent sometimes results in NULL instead of retrieving the current date.
ProxyFactory.getResource(agent.id).getCurrentDateTime(null)
Why is this happening?
- We are using
getCurrentDateTimefunction to validate proper functioning of the JON Agent. However, sometimes this function will return null. What is the reason?
Environment
- JBoss Operations Network (JON) 3.1.1
- JON Command Line Interface (CLI) 3.1.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.