You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Artifactory Version: Enterprise Plus 7.37.14 rev 73714900 Licensed to Acquia, Inc.
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)
The text was updated successfully, but these errors were encountered:
pavan-acquia
changed the title
artifactory plugin failing with java.lang.NullPointerException
artifactory plugin from cloudbees failing with java.lang.NullPointerException
Jul 10, 2022
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
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)
The text was updated successfully, but these errors were encountered: