Bug 1133985 - Deploying an application on EAP5 results to NPE
Summary: Deploying an application on EAP5 results to NPE
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 5
Version: JON 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER02
: JON 3.3.0
Assignee: Thomas Segismont
QA Contact: Sunil Kondkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-26 15:13 UTC by Jakub Cechacek
Modified: 2015-02-01 23:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-11 14:02:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
example war deployment (2.40 KB, application/octet-stream)
2014-08-26 15:14 UTC, Jakub Cechacek
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1125343 0 high CLOSED All content-related workflows broken on Agent 2021-02-22 00:41:40 UTC

Internal Links: 1125343

Description Jakub Cechacek 2014-08-26 15:13:45 UTC
Attempt to deploy application of any type (ejb2/ejb3/war) on EAP5 results in NPE exception [1] in agent's log. The application is not deployed only uploaded into $server-dir/tmp directory.

[1]
ERROR [ResourceContainer.invoker.nonDaemon-11] (rhq.plugins.jbossas5.deploy.ManagedComponentDeployer)- Error deploying application for request [CreateResourceReport: ResourceType=[Reso    urceType[id=0, name=Web Application (WAR), plugin=JBossAS5, category=Service]], ResourceKey=[null]].
832 java.lang.NullPointerException
833         at org.rhq.plugins.jbossas5.deploy.RemoteDownloader.prepareArchive(RemoteDownloader.java:89)
834         at org.rhq.plugins.jbossas5.deploy.ManagedComponentDeployer.deploy(ManagedComponentDeployer.java:88)
835         at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:147)
836         at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:79)
837         at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:281)
838         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
839         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
840         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
841         at java.lang.reflect.Method.invoke(Method.java:606)
842         at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocation.call(ResourceContainer.java:759)
843         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
844         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
845         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
846         at java.lang.Thread.run(Thread.java:744)

Comment 1 Jakub Cechacek 2014-08-26 15:14:49 UTC
Created attachment 931028 [details]
example war deployment

Comment 2 Thomas Segismont 2014-08-29 12:43:53 UTC
It looks like a possible consequence of Bug 1125343 - All content-related workflows broken on Agent

Setting to MODIFIED as it should be fixed in ER02

Comment 3 Simeon Pinder 2014-09-03 20:31:24 UTC
Moving to ON_QA as available for test with the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=381194

Comment 4 Sunil Kondkar 2014-09-10 10:42:41 UTC
Verified on version : 3.3.0.ER02 Build Number :4fbb183:7da54e2

Verified that the war file is deployed to EAP5 successfully without NPE.


Note You need to log in before you can comment on or make changes to this bug.