[HAP-351] NPE during BuildInfo creation Created: 19/Oct/12  Updated: 30/Jan/13  Resolved: 30/Jan/13

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

Type: Bug Priority: Normal
Reporter: Baruch Sadogursky Assignee: Shay Yaakov (Inactive)
Resolution: Fixed Votes: 1
Labels: None


 Description   

java.lang.NullPointerException
at org.jfrog.hudson.AbstractBuildInfoDeployer.addBuildInfoProperties(AbstractBuildInfoDeployer.java:148)
at org.jfrog.hudson.AbstractBuildInfoDeployer.createBuildInfo(AbstractBuildInfoDeployer.java:99)
at org.jfrog.hudson.generic.GenericBuildInfoDeployer.<init>(GenericBuildInfoDeployer.java:61)
at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator$1.tearDown(ArtifactoryGenericConfigurator.java:251)
at hudson.model.Build$BuildExecution.doRun(Build.java:171)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1502)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)



 Comments   
Comment by Shay Yaakov (Inactive) [ 22/Oct/12 ]

This happens on generic deployment only.
Workaround: Enter the job config and save it, this will make sure the object is not null.

Generated at Tue Aug 11 16:51:43 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.