Description of problem: Tried to create a new child resource to the domain controller by uploading a war file. (Also tried with postgresql-9.0-801.jdbc4.jar) The child history tab of DomainController displays failed status with NullPointerException. The details in the error are: java.lang.NullPointerException at org.rhq.modules.plugins.jbossas7.HostControllerComponent.createResource(HostControllerComponent.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:537) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Version-Release number of selected component (if applicable): Build#281 (Version: 4.1.0-SNAPSHOT Build Number: 2f858f7) Database: Postgres 8.4.2 AS-7 Version: jboss-as-7.0.0.Final How reproducible: Always Steps to Reproduce: 1. Start the AS7 domain mode. 2. Install RHQ with As7 plugin. 3. Navigate to the 'Inventory'->Child Resources tab of the DomainController after discovery and import. 4. Click on 'Create Child->DomainDeployment' in Child Resources tab. 5. Click 'Next' and upload a war file. 6. Click 'Next' and 'Finish' buttons. 7. Navigate to the child history tab and click on the history status. Actual results: NullPointerException on creating a new child resource to the domain controller Expected results: Should be able to create a new child resource to the domain controller with success. Additional info:
Created attachment 518452 [details] Screenshot
99ec567c4ac in as7plugin
9645f3ed8eb73744 in master
Verified on build#283 (Version: 4.1.0-SNAPSHOT Build Number: 3c15c6f) Successfully created a new child resource to the domain controller by uploading a war file. Marking as verified.
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE
marking VERIFIED BZs to CLOSED/CURRENTRELEASE