I'm facing a issue while running a deployment against few environments. Below is the error.
2017-07-18 10:51:35,703 [Thread-22] DEBUG com.midvision.rapiddeploy.plugins.transport.remoting.server.RemoteInvocationHandler - Run the batch command in thread: 40
2017-07-18 10:51:35,704 [Thread-22] DEBUG com.midvision.rapiddeploy.domain.task.core.AbstractBatch - prepareDefinitionFile
2017-07-18 10:51:35,704 [Thread-22] DEBUG com.midvision.rapiddeploy.domain.task.core.AbstractBatch - project [XXXXXXXXXXXXXXXXXX] definition [/opt/midvision/XXXX/buildstore/20170718105129389_midvision-deploy-orchestration.xml] server [XXXXXXXXXXXXXX] environment [XXXX] instance [null] application [XXXXXXXXXXX]
2017-07-18 10:51:35,704 [Thread-22] DEBUG com.midvision.rapiddeploy.domain.task.core.AbstractBatch - deployFile [/opt/midvision/was80/buildstore/XXXXXXXXXXXXXXXXXX-XXXXXXXXX_INJECTED.jar]
2017-07-18 10:51:35,705 [Thread-22] DEBUG com.midvision.rapiddeploy.domain.task.core.AbstractBatch - Empty argument found.
Failed RapidDeploy Deployment Request Code: 200Remoting Command Execution Error (details follow):
CommandExecutionException [RapidDeployBusinessException [com.midvision.rapiddeploy.exceptions.CommandExecutionException: Failed RapidDeploy Deployment Request Code: 200]]
Could you please suggest from where this variable instance [null] is getting added? I am not seeing this parameter while running deployment against few environments.
Hi, The 'instance' object (and references to it) was removed as part of the 3.5.0 release. It could be that you are using a version of remote agent from an earlier release (3.4 or older) and this is why you see this in the logs because the RD agent is still expecting the instance object. Without further logging info it is hard to tell.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!