JON310 Steps to reproduce: 1) Go to the Operations > Schedules subtab for the RHQ Agent resource and hit the New button 2) Choose "Get Plugin Info" from the Operation dropdown 3) Note that the operation takes a single argument: "Plugin Name" 4) DO NOT SCHEDULE THE OPERATION 5) Choose "Get Info On All Plugins" from the Operation dropdown 6) Note that this operation does not take any arguments 7) Hit the Schedule button 8) Go find the operation in the Schedule > History subtab 9) Note that operation failed, it should have succeeded. Failure message: java.lang.RuntimeException: Failed to invoke operation [retrieveAllPluginInfo] at org.rhq.plugins.agent.AgentServerComponent.invokeOperation(AgentServerComponent.java:207) at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:634) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.IllegalArgumentException: Operation [retrieveAllPluginInfo] does not support params at org.rhq.plugins.agent.AgentServerComponent.invokeOperation(AgentServerComponent.java:203) ... 9 more
To summarize, the issue is if you go directly to the "Get Info On All Plugins" and schedule it works. However, if you first go to the "Get Plugin Info" screen first it allows you to enter parameters that are cached and sent to "Get Info On All Plugins" operation that doesn't accept any parameters and causes it to fail.
master commit: 63b805d29a7b66593203de5a006770adab06e105 This was a state issue with things not getting properly cleared out when going from one operation to another.
Verified on Version: 4.6.0-SNAPSHOT Build Number: 2b908fa
Done in an old release, closing now.