Bug 976270 - Failed deploy creates an artifact in the repository.
Summary: Failed deploy creates an artifact in the repository.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DR6
: 6.0.0
Assignee: Mauricio Salatino
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-20 09:13 UTC by Marek Baluch
Modified: 2014-08-06 20:13 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:13:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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