[
https://jira.jboss.org/browse/EMBJOPR-339?page=com.atlassian.jira.plugin....
]
Ivo Studensky updated EMBJOPR-339:
----------------------------------
Steps to Reproduce:
In admin console,
1) Deploy the eardeployment.ear from testdata
2) AdminConsole says: Failed to create Resource eardeployment.ear - cause:
java.lang.NullPointerException:null
3) Check the server.log, you would see something like this:
14:42:41,073 ERROR [LocalDeployer] Error deploying application for request
[CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=Enterprise
Application (EAR), plugin=JBossAS5]], ResourceKey=[null]].
java.lang.NullPointerException
at
org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeployer.java:131)
at
org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:124)
at
org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:56)
at
org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:308)
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:525)
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)
4) Click on Enterprise Applications (EARs) in Admin Console and check that there is no
eardeployment.ear deployed
5) Restart the EAP
6) Click on Enterprise Applications (EARs) in Admin Console, the eardeployment.ear should
be deployed
was:
In admin console,
1) Deploy the eardeployment.ear from testdata
2) AdminConsole says: Failed to create Resource eardeployment.ear - cause:
java.lang.NullPointerException:null
3) Check the server.log, you would see something like this:
14:42:41,073 ERROR [LocalDeployer] Error deploying application for request
[CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=Enterprise
Application (EAR), plugin=JBossAS5]], ResourceKey=[null]].
java.lang.NullPointerException
at
org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeployer.java:131)
at
org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:124)
at
org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:56)
at
org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:308)
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:525)
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)
4) click on Enterprise Applications (EARs) in Admin Console, the eardeployment should be
deployed
Deploying an EAR in exploded form fails with NPE
------------------------------------------------
Key: EMBJOPR-339
URL:
https://jira.jboss.org/browse/EMBJOPR-339
Project: Embedded Jopr
Issue Type: Bug
Affects Versions: 1.3.4
Environment: EAP 5.1.0 CR-3.5 + CXF
Reporter: Ivo Studensky
Priority: Critical
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira