Description of problem: I got NPE when I try to deploy war having on HC to server group Version-Release number of selected component (if applicable): Version: 4.3.0-SNAPSHOT Build Number: b4761de EAP6 DR12 How reproducible:always Steps to Reproduce: 1. inventory eap6 DomainController 2. deploy war to DomainController using JON 3. wait 'till war is discovered, deploy it to server group (using Operations tab on that war) Actual results: operation fails 2012-02-08 13:50:06,128 DEBUG [OperationManager.invoker-1] (rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler)- Call to [org.rhq.modules.plugins.jbossas7.DomainDeploymentComponent.invokeOperation()] with args [[domain-deployment:promote, Configuration[id=1336 6]]] failed. java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:262) at java.util.concurrent.FutureTask.get(FutureTask.java:119) at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invokeInNewThreadWithLock(ResourceContainer.java:473) at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invoke(ResourceContainer.java:461) at $Proxy96.invokeOperation(Unknown Source) at org.rhq.core.pc.operation.OperationInvocation.run(OperationInvocation.java:217) 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:636) Caused by: java.lang.NullPointerException at org.rhq.modules.plugins.jbossas7.BaseComponent.invokeOperation(BaseComponent.java:594) at org.rhq.modules.plugins.jbossas7.DeploymentComponent.invokeOperation(DeploymentComponent.java:69) at sun.reflect.GeneratedMethodAccessor165.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:552) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) ... 3 more Expected results: Additional info: This must have been introduced by some recent commit, it did not happen, on yesterday's build
Not sure from when your build is Interesting as no activity in git has happened since last week until hudson build 963, which is one version after the one you have. I'll look into it.
Could it be that the server was not reachable? Can you still reproduce the agent.log for said time?
I'll try to repro again, tests are running, I'll wait for results and check again
Yes, it was because of server was not reachable. In fact, I had a bug in script setting cleaning EAP instances, and there were 4 domain controllers running trying to listen on same ports. So unless we want as7 plugin to be more robust, I'd propose this as NOTABUG