Uploaded image for project: 'Bamboo Artifactory Plug-in'
  1. Bamboo Artifactory Plug-in
  2. BAP-288

NullPointerException when using Generic Deploy plugin in Bamboo

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.9.0
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              aviads Aviad Shikloshi (Inactive)
              Reporter:
              eri267 Eric Fox
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: