[HAP-52] Deploy Artifact causes NullPointerException Created: 10/Jul/10  Updated: 15/Jul/10  Resolved: 15/Jul/10

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: None
Affects Version/s: 1.1.0
Fix Version/s: 1.2.0

Type: Bug Priority: Normal
Reporter: Alphonse Bendt Assignee: Yossi Shaul
Resolution: Fixed Votes: 0
Labels: None

hudson v1.365, maven v2.2.1, artifactory v2.2.4


after a successful build the deploy step fails with:

[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53 seconds
[INFO] Finished at: Sat Jul 10 15:28:32 CEST 2010
[INFO] Final Memory: 112M/268M
[INFO] ------------------------------------------------------------------------
channel stopped
Deploying artifacts to http://.../artifactory
Deploying artifacts of module: ...
ERROR: null
at org.jfrog.hudson.ArtifactsDeployer.deploy(ArtifactsDeployer.java:59)
at org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:108)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:598)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
at hudson.model.Run.run(Run.java:1280)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:306)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:127)

Comment by Yossi Shaul [ 11/Jul/10 ]

Which version of the plugin are you using? How many artifacts and what types are produced by your build? Does any of them got deployed?

Comment by Alphonse Bendt [ 13/Jul/10 ]

Which version of the plugin are you using?
we are using v1.1.0

How many artifacts and what types are produced by your build?
the build is a multi module project with about 85 modules. we use the packaging types:

Some of the modules attach additional artifacts using the build-helper-maven-plugin

Does any of them got deployed?

in hudson we use the incremental build feature so only the modules are processed which actually have svn changes.

Comment by Yossi Shaul [ 13/Jul/10 ]

There's a known bug (http://issues.hudson-ci.org/browse/HUDSON-5712) with the plugin when using incremental builds. I'll give it a higher priority and hope it will be resolved soon.

Comment by Alphonse Bendt [ 13/Jul/10 ]

thanks. i've added my vote too

Generated at Tue May 21 12:36:28 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.