java.lang.RuntimeException

Failed while invoking URL https://<server>/bamboo/plugins/servlet/artifactoryAdminConfigServlet?planKey=<project>-JOB1 to get Bamboo variables. Stream closed

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web47142

  • via JFrog JIRA by J. E., 1 year ago
    Failed while invoking URL https://<server>/bamboo/plugins/servlet/artifactoryAdminConfigServlet?planKey=<project>-JOB1 to get Bamboo variables. Stream closed
  • via JFrog JIRA by J. E., 10 months ago
    Failed while invoking URL https://<server>/bamboo/plugins/servlet/artifactoryAdminConfigServlet?planKey=<project>-JOB1 to get Bamboo variables. Stream closed
  • via JFrog JIRA by Derek Pilat, 10 months ago
    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
  • Stack trace

    • java.lang.RuntimeException: Failed while invoking URL https://<server>/bamboo/plugins/servlet/artifactoryAdminConfigServlet?planKey=<project>-JOB1 to get Bamboo variables. Stream closed at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:75) at org.jfrog.bamboo.builder.BaseBuildInfoHelper.filterAndGetGlobalVariables(BaseBuildInfoHelper.java:119) at org.jfrog.bamboo.builder.GradleInitScriptHelper.createClientConfiguration(GradleInitScriptHelper.java:180) at org.jfrog.bamboo.builder.GradleInitScriptHelper.createAndGetGradleInitScriptPath(GradleInitScriptHelper.java:79) at org.jfrog.bamboo.task.ArtifactoryGradleTask.getGradleInitScriptFile(ArtifactoryGradleTask.java:198) at org.jfrog.bamboo.task.ArtifactoryGradleTask.execute(ArtifactoryGradleTask.java:131) at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:278) at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:274) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:274) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:106) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Stream closed at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170) at java.io.BufferedInputStream.read(BufferedInputStream.java:269) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at org.jfrog.bamboo.configuration.ConfigurationHelper.executeMethod(ConfigurationHelper.java:110) at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:60) ... 22 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    63 times, 3 weeks ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    27 more bugmates