Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artifactory plugin from cloudbees failing with java.lang.NullPointerException #686

Open
pavan-acquia opened this issue Jul 10, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@pavan-acquia
Copy link

Describe the bug
Artifactory plugin failing with java.lang.NullPointerException

To Reproduce
Whenever we try to upload artifacts, we face the below issue whenever we generate cloudbees jobs from Jobdsl for the first time we see this issue. And then once you reset "Override default deployer credentials" to none from Artifactory plugin parameter, and re-run the issue disappears. It's behaving weird.

Expected behavior
It has to upload artifacts to jfrog without null pointer exception even though you had over the credentials.
Note: I had already configured Artifactory plugin configuration globally in cloudbees with creds

Screenshots
image
Versions

Additional context
12:04:36 FATAL: null
12:04:36 java.lang.NullPointerException
12:04:36 at org.jfrog.hudson.util.SpecUtils.getSpecStringFromSpecConf(SpecUtils.java:20)
12:04:36 at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator.setUp(ArtifactoryGenericConfigurator.java:375)
12:04:36 at hudson.model.Build$BuildExecution.doRun(Build.java:158)
12:04:36 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:522)
12:04:36 at hudson.model.Run.execute(Run.java:1896)
12:04:36 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
12:04:36 at hudson.model.ResourceController.execute(ResourceController.java:101)
12:04:36 at hudson.model.Executor.run(Executor.java:442)

@pavan-acquia pavan-acquia added the bug Something isn't working label Jul 10, 2022
@pavan-acquia pavan-acquia changed the title artifactory plugin failing with java.lang.NullPointerException artifactory plugin from cloudbees failing with java.lang.NullPointerException Jul 10, 2022
@pavan-acquia
Copy link
Author

fraz3alpha
Can you help check here

@pavan-acquia
Copy link
Author

@yahavi

Can you help check here

@MarkEWaite
Copy link

MarkEWaite commented Jul 12, 2022

@pavan-acquia the Artifactory plugin is not "from CloudBees". It is a Jenkins plugin that is provided by JFrog.

See my reply at community.jenkins.io for more details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants