[BAP-64] NullPointerException when running tasks on the remote agents Created: 31/May/11  Updated: 13/Jun/11  Resolved: 13/Jun/11

Status: Resolved
Project: Bamboo Artifactory Plug-in
Component/s: None
Affects Version/s: 1.3.0
Fix Version/s: 1.3.1

Type: Bug Priority: Blocker
Reporter: Tomer Cohen Assignee: Tomer Cohen
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Eli Givoni [ 13/Jun/11 ]

I get this exception on local agent

Starting task 'build maven 3 on remote agent'
	Error occurred while running Task 'build maven 3 on remote agent(1)'. This build will fail. Caused by:
	java.lang.NullPointerException
	        at org.apache.tools.ant.types.Commandline.quoteArgument(Commandline.java:420)
	        at org.jfrog.bamboo.task.ArtifactoryMaven3Task.getCommand(ArtifactoryMaven3Task.java:121)
	        at org.jfrog.bamboo.task.ArtifactoryMaven3Task.execute(ArtifactoryMaven3Task.java:85)
	        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:117)
	        at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:69)
	        at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:87)
	        at sun.reflect.GeneratedMethodAccessor487.invoke(Unknown Source)
	        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	        at java.lang.reflect.Method.invoke(Unknown Source)
	        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
	        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
	        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
	        at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
	        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	        at $Proxy358.call(Unknown Source)
	        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:192)
	        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:99)
	        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:106)
	        at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
	        at java.lang.Thread.run(Unknown Source)
	Running post build plugin 'NCover Results Collector'
Generated at Thu May 23 03:58:45 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.