Bug 976270

Summary: Failed deploy creates an artifact in the repository.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: Business CentralAssignee: Mauricio Salatino <msalatin>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Baluch <mbaluch>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: rzhang
Target Milestone: DR6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:13:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marek Baluch 2013-06-20 09:13:07 UTC
*** Description of problem:

When the deployment fails. An exception like the following one is present in the server log then an artifact is created in the repository.

11:01:42,949 ERROR [stderr] (http-/127.0.0.1:8080-4) java.lang.NullPointerException
11:01:42,950 ERROR [stderr] (http-/127.0.0.1:8080-4) 	at org.jbpm.kie.services.impl.KModuleDeploymentService.deploy(KModuleDeploymentService.java:68)
11:01:42,950 ERROR [stderr] (http-/127.0.0.1:8080-4) 	at org.jbpm.kie.services.impl.KModuleDeploymentService$Proxy$_$$_WeldClientProxy.deploy(KModuleDeploymentService$Proxy$_$$_WeldClientProxy.java)
11:01:42,951 ERROR [stderr] (http-/127.0.0.1:8080-4) 	at org.jbpm.console.ng.bd.backend.server.DeploymentManagerEntryPointImpl.deploy(DeploymentManagerEntryPointImpl.java:77)
11:01:42,951 ERROR [stderr] (http-/127.0.0.1:8080-4) 	at org.jbpm.console.ng.bd.backend.server.DeploymentManagerEntryPointImpl.autoDeploy(DeploymentManagerEntryPointImpl.java:165)
11:01:42,952 ERROR [stderr] (http-/127.0.0.1:8080-4) 	at org.jbpm.console.ng.bd.backend.server.DeploymentManagerEntryPointImpl$Proxy$_$$_WeldClientProxy.autoDeploy(DeploymentManagerEntryPointImpl$Proxy$_$$_WeldClientProxy.java)

*** How reproducible:

Steps to Reproduce:
1) Create a new project (e.g. in jbpm-playground.git)
2) Hit the "Build & Deploy" button
3) Check the repository.

*** Actual results:

Jar file present in the repository.


*** Expected results:

No file in the repository (or an older version) if the deployment failed.

Comment 1 Mauricio Salatino 2013-06-24 14:46:45 UTC
Fixed in master

Comment 3 Marek Baluch 2013-07-11 10:03:29 UTC
Verified on DR6.