Globally uncaught Exception shown in the JBoss ON UI when trying to display orphaned operation schedule

Solution Unverified - Updated -

Issue

  • Globally uncaught Exception shown in the JBoss ON UI when trying to display orphaned operation schedule
  • When attempting to remove a resource group (dynagroup of agent launcher scripts), we fail with this in the server log:
10:08:24,994 ERROR [org.jboss.as.ejb3.invocation] (http-/0.0.0.0:7443-2) JBAS014134: EJB Invocation failed on component OperationManagerBean for method public abstract java.util.List org.rhq.enterprise.server.operation.OperationManagerRemote.findScheduledGroupOperations(org.rhq.core.domain.auth.Subject,int) throws java.lang.Exception: javax.ejb.EJBTransactionRolledbackException: Cannot schedule an operation without a user associated with it
...
...
Caused by: java.lang.NullPointerException: Cannot schedule an operation without a user associated with it
...

Environment

  • Red Hat JBoss Operations Network (JON) 3.2
  • An operation is created for resource (i.e. platform) by the user (i.e. testUser); This operation is configured to be repeatedly executed;
  • User testUser is deleted from JBoss ON UI -> Administration -> Users page by superuser rhqadmin;
  • The superuser rhqadmin navigate to the operation schedule page for resource platform;

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