java.lang.NullPointerException

GitHub | giulio1979 | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Bamboo version 5.9.1 build 5914 We are trying to send environment variables in the build information using the Generic Deploy plugin in Bamboo and no matter what pattern we use for the Include Pattern - we get the following exception. error 11-Aug-2015 10:57:04 Exception occurred while executing task error 11-Aug-2015 10:57:04 java.lang.NullPointerException error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.configuration.ConfigurationHelper.prepareRequestUrl(ConfigurationHelper.java:83) error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:56) error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.builder.BaseBuildInfoHelper.filterAndGetGlobalVariables(BaseBuildInfoHelper.java:119) error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.util.generic.GenericBuildInfoHelper.extractBuildInfo(GenericBuildInfoHelper.java:89) error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.deploy(ArtifactoryGenericDeployTask.java:160) error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.execute(ArtifactoryGenericDeployTask.java:90) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:278) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:274) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:274) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:110) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 11-Aug-2015 10:57:04 at java.lang.Thread.run(Unknown Source) simple 11-Aug-2015 10:57:04 Finished task 'Deploy Artifact to Artifactory' with result: Error

    JFrog JIRA | 2 years ago | Eric Fox
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Bamboo version 5.9.1 build 5914 We are trying to send environment variables in the build information using the Generic Deploy plugin in Bamboo and no matter what pattern we use for the Include Pattern - we get the following exception. error 11-Aug-2015 10:57:04 Exception occurred while executing task error 11-Aug-2015 10:57:04 java.lang.NullPointerException error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.configuration.ConfigurationHelper.prepareRequestUrl(ConfigurationHelper.java:83) error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:56) error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.builder.BaseBuildInfoHelper.filterAndGetGlobalVariables(BaseBuildInfoHelper.java:119) error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.util.generic.GenericBuildInfoHelper.extractBuildInfo(GenericBuildInfoHelper.java:89) error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.deploy(ArtifactoryGenericDeployTask.java:160) error 11-Aug-2015 10:57:04 at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.execute(ArtifactoryGenericDeployTask.java:90) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:278) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:274) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:274) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:110) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 11-Aug-2015 10:57:04 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 11-Aug-2015 10:57:04 at java.lang.Thread.run(Unknown Source) simple 11-Aug-2015 10:57:04 Finished task 'Deploy Artifact to Artifactory' with result: Error

    JFrog JIRA | 2 years ago | Eric Fox
    java.lang.NullPointerException
  4. 0

    bamboo artifactory plugin 1.8.1, Bamboo 5.9.3 and Artifactory 3.9.2 When running either Artifactory maven 3 or Artifactory generic deploy tasks. Starting task 'Artifactory Generic Deploy' of type 'org.jfrog.bamboo.bamboo-artifactory-plugin:artifactoryGenericTask' error 21-Aug-2015 11:46:10 Exception occurred while executing task error 21-Aug-2015 11:46:10 java.lang.RuntimeException: Failed while invoking URL https://<server>:8443/plugins/servlet/artifactoryAdminConfigServlet?planKey=NA-P2AC-JOB1 to get Bamboo variables. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:75) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.builder.BaseBuildInfoHelper.filterAndGetGlobalVariables(BaseBuildInfoHelper.java:119) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.util.generic.GenericBuildInfoHelper.extractBuildInfo(GenericBuildInfoHelper.java:89) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.deploy(ArtifactoryGenericDeployTask.java:160) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.execute(ArtifactoryGenericDeployTask.java:90) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:278) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:274) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:274) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:110) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 21-Aug-2015 11:46:10 at java.lang.Thread.run(Thread.java:745) error 21-Aug-2015 11:46:10 Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 11:46:10 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) error 21-Aug-2015 11:46:10 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1478) error 21-Aug-2015 11:46:10 at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:957) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.process_record(Handshaker.java:892) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735) error 21-Aug-2015 11:46:10 at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) error 21-Aug-2015 11:46:10 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) error 21-Aug-2015 11:46:10 at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:827) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1975) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.configuration.ConfigurationHelper.executeMethod(ConfigurationHelper.java:110) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:60) error 21-Aug-2015 11:46:10 ... 21 more error 21-Aug-2015 11:46:10 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 11:46:10 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) error 21-Aug-2015 11:46:10 at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) error 21-Aug-2015 11:46:10 at sun.security.validator.Validator.validate(Validator.java:260) error 21-Aug-2015 11:46:10 at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) error 21-Aug-2015 11:46:10 at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) error 21-Aug-2015 11:46:10 at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) error 21-Aug-2015 11:46:10 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1460) error 21-Aug-2015 11:46:10 ... 39 more error 21-Aug-2015 11:46:10 Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 11:46:10 at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145) error 21-Aug-2015 11:46:10 at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131) error 21-Aug-2015 11:46:10 at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) error 21-Aug-2015 11:46:10 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) error 21-Aug-2015 11:46:10 ... 45 more simple 21-Aug-2015 11:46:10 Finished task 'Artifactory Generic Deploy' with result: Error simple 21-Aug-2015 10:41:00 Starting task 'Artifactory Maven 3' of type 'org.jfrog.bamboo.bamboo-artifactory-plugin:maven3Task' error 21-Aug-2015 10:41:00 Error occurred while preparing Artifactory Maven Runner dependencies. Build Info support is disabled: Failed while invoking URL: https://<server>:8443/download/resources/org.jfrog.bamboo.bamboo-artifactory-plugin/builder/dependencies/build-info-extractor-maven3-2.5.0-uber.jar sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 Error occurred while running Task '(2)' of type org.jfrog.bamboo.bamboo-artifactory-plugin:maven3Task. error 21-Aug-2015 10:41:00 java.lang.RuntimeException: Failed while invoking URL https://<server>:8443/plugins/servlet/artifactoryAdminConfigServlet?planKey=NA-P2AC-JOB1 to get Bamboo variables. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:75) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.getBuildJdkOverride(ConfigurationHelper.java:43) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryTaskType.getConfiguredJdkPath(ArtifactoryTaskType.java:85) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.getExecutable(ArtifactoryMaven3Task.java:147) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.getCommand(ArtifactoryMaven3Task.java:185) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.execute(ArtifactoryMaven3Task.java:104) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:278) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:274) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:274) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:106) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 21-Aug-2015 10:41:00 at java.lang.Thread.run(Thread.java:745) error 21-Aug-2015 10:41:00 Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) error 21-Aug-2015 10:41:00 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1478) error 21-Aug-2015 10:41:00 at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:957) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.process_record(Handshaker.java:892) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735) error 21-Aug-2015 10:41:00 at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) error 21-Aug-2015 10:41:00 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) error 21-Aug-2015 10:41:00 at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:827) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1975) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.executeMethod(ConfigurationHelper.java:110) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:60) error 21-Aug-2015 10:41:00 ... 22 more error 21-Aug-2015 10:41:00 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) error 21-Aug-2015 10:41:00 at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) error 21-Aug-2015 10:41:00 at sun.security.validator.Validator.validate(Validator.java:260) error 21-Aug-2015 10:41:00 at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) error 21-Aug-2015 10:41:00 at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) error 21-Aug-2015 10:41:00 at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) error 21-Aug-2015 10:41:00 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1460) error 21-Aug-2015 10:41:00 ... 40 more error 21-Aug-2015 10:41:00 Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145) error 21-Aug-2015 10:41:00 at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131) error 21-Aug-2015 10:41:00 at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) error 21-Aug-2015 10:41:00 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) error 21-Aug-2015 10:41:00 ... 46 more simple 21-Aug-2015 10:41:00 Running post build plugin 'Artifactory Release Management Staging'

    JFrog JIRA | 2 years ago | Derek Pilat
    java.lang.RuntimeException: Failed while invoking URL https://<server>:8443/plugins/servlet/artifactoryAdminConfigServlet?planKey=NA-P2AC-JOB1 to get Bamboo variables. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jfrog.bamboo.util.generic.GenericBuildInfoHelper.getDynamicPropertyMap()
    2. org.jfrog.bamboo
      ArtifactoryGenericDeployTask.execute
      1. org.jfrog.bamboo.util.generic.GenericBuildInfoHelper.getDynamicPropertyMap(GenericBuildInfoHelper.java:153)
      2. org.jfrog.bamboo.util.generic.GenericBuildInfoHelper.createDeployDetailsAndAddToBuildInfo(GenericBuildInfoHelper.java:138)
      3. org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.deploy(ArtifactoryGenericDeployTask.java:186)
      4. org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.execute(ArtifactoryGenericDeployTask.java:111)
      4 frames
    3. com.atlassian.bamboo
      ImpersonationHelper$1.run
      1. com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$2(TaskExecutorImpl.java:313)
      2. com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246)
      3. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:313)
      4. com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:122)
      5. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74)
      6. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:215)
      7. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139)
      8. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130)
      9. com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221)
      10. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129)
      11. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137)
      12. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
      13. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      14. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      15. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      15 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame