What's causing me the error? (Please see the attached image..)
Asked by eosalalima:

I'm setting up my deployment plan and I'm using SCP task.. When I try to deploy, I get this error..

![error.PNG](/t5/image/serverpage/image-id/3032i8A0B1CCD6F4A2E9D/image-size/large?v=v2&px=999 "error.PNG")![config.PNG](/t5/image/serverpage/image-id/3033i0D1EA70075B5E3AC/image-size/large?v=v2&px=999 "config.PNG")


Answers:
author: eosalalima
body: ```

simple 13-Jul-2017 13:51:06 Build Deployment of 'release-1' on 'APCIS Production Environment' started building on agent Default Agentsimple 13-Jul-2017 13:51:06 simple 13-Jul-2017 13:51:06 Build working directory is /var/atlassian/application/bamboo/xml-data/build-dir/1343489-1409026simple 13-Jul-2017 13:51:06 Executing build Deployment of 'release-1' on 'APCIS Production Environment'simple 13-Jul-2017 13:51:06 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'simple 13-Jul-2017 13:51:06 Cleaning working directory '/var/atlassian/application/bamboo/xml-data/build-dir/1343489-1409026'simple 13-Jul-2017 13:51:06 Finished task 'Clean working directory task' with result: Successsimple 13-Jul-2017 13:51:06 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'simple 13-Jul-2017 13:51:06 Build always requires a clean checkoutsimple 13-Jul-2017 13:51:06 Cleaning build directory '/var/atlassian/application/bamboo/xml-data/build-dir/1343489-1409026/apcis'simple 13-Jul-2017 13:51:06 Updating source code to the latest revisionsimple 13-Jul-2017 13:51:07 Git: Updating referencessimple 13-Jul-2017 13:51:07 Git: simple 13-Jul-2017 13:51:07 Fetching '+refs/heads/master:refs/heads/master' from 'ssh://git@bitbucket.apc.edu.ph:7999/apcdp/apcis-cobalt-codebase.git'.simple 13-Jul-2017 13:51:07 Checking out revision 0b2533857de137c6cc28ce863b1e69d96223e4e4.simple 13-Jul-2017 13:51:07 Creating local git repository in '/var/atlassian/application/bamboo/xml-data/build-dir/1343489-1409026/apcis/.git'.simple 13-Jul-2017 13:51:08 Updated source code to revision: 0b2533857de137c6cc28ce863b1e69d96223e4e4simple 13-Jul-2017 13:51:08 Finished task 'Source Code Checkout' with result: Successsimple 13-Jul-2017 13:51:08 Starting task 'Download release contents' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'simple 13-Jul-2017 13:51:08 Finished task 'Download release contents' with result: Successsimple 13-Jul-2017 13:51:08 Starting task 'Deploy via SCP task' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask'error 13-Jul-2017 13:51:08 Error occurred while running Task 'Deploy via SCP task(3)' of type com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask.error 13-Jul-2017 13:51:08 java.lang.NullPointerExceptionerror 13-Jul-2017 13:51:08  at java.io.File.<init>(File.java:360)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.plugins.scp.ScpTask.artifactToScpFromTransferTask(ScpTask.java:205)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.plugins.scp.ScpTask.getPathSpecToCopy(ScpTask.java:144)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.plugins.scp.ScpTask.run(ScpTask.java:119)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.plugins.scp.ScpTask.execute(ScpTask.java:113)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$1(TaskExecutorImpl.java:280)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:223)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:280)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:69)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:185)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:122)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:115)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:47)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)error 13-Jul-2017 13:51:08  at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)error 13-Jul-2017 13:51:08  at java.lang.Thread.run(Thread.java:748)simple 13-Jul-2017 13:51:08 Finalising the build...simple 13-Jul-2017 13:51:08 Stopping timer.simple 13-Jul-2017 13:51:08 Build 1343489-1409026-1572870 completed.simple 13-Jul-2017 13:51:08 Finished processing deployment result Deployment of 'release-1' on 'APCIS Production Environment'
```

comments: author: Alexey Chystoprudov
body: what version of Bamboo do you have?


author: eosalalima
body: ![bamboo_version.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/3112iBFFD29FE35BF4B5D/image-size/large?v=v2&px=999 "bamboo_version.PNG")


author: eosalalima
body: It seemed to work now.. I changed the Artifact field to Local Files..