java.lang.NullPointerException

JFrog JIRA | Eric Fox | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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. 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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jfrog.bamboo.configuration.ConfigurationHelper.prepareRequestUrl()
    2. org.jfrog.bamboo
      ArtifactoryGenericDeployTask.execute
      1. org.jfrog.bamboo.configuration.ConfigurationHelper.prepareRequestUrl(ConfigurationHelper.java:83)
      2. org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:56)
      3. org.jfrog.bamboo.builder.BaseBuildInfoHelper.filterAndGetGlobalVariables(BaseBuildInfoHelper.java:119)
      4. org.jfrog.bamboo.util.generic.GenericBuildInfoHelper.extractBuildInfo(GenericBuildInfoHelper.java:89)
      5. org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.deploy(ArtifactoryGenericDeployTask.java:160)
      6. org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.execute(ArtifactoryGenericDeployTask.java:90)
      6 frames
    3. com.atlassian.bamboo
      ImpersonationHelper$1.run
      1. com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:278)
      2. com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:274)
      3. com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200)
      4. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:274)
      5. com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:110)
      6. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)
      7. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196)
      8. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124)
      9. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115)
      10. com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215)
      11. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114)
      12. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118)
      13. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      14. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      15. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      16. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      16 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame