Invocation of the JON Agent method getCurrentDateTime sometimes returns null

Solution Unverified - Updated -

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 getCurrentDateTime function 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content