java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Eric Fox,
  • 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
    via by Eric Fox,
    • java.lang.NullPointerException at org.jfrog.bamboo.util.generic.GenericBuildInfoHelper.getDynamicPropertyMap(GenericBuildInfoHelper.java:153) at org.jfrog.bamboo.util.generic.GenericBuildInfoHelper.createDeployDetailsAndAddToBuildInfo(GenericBuildInfoHelper.java:138) at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.deploy(ArtifactoryGenericDeployTask.java:186) at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.execute(ArtifactoryGenericDeployTask.java:111) at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$2(TaskExecutorImpl.java:313) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:313) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:122) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:215) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51) 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)
    No Bugmate found.