Content not escaped in distributed build result
-----------------------------------------------

                 Key: CONTINUUM-2655
                 URL: https://jira.codehaus.org/browse/CONTINUUM-2655
             Project: Continuum
          Issue Type: Bug
          Components: Distributed Builds
    Affects Versions: 1.4.1 (Beta)
            Reporter: Brett Porter


A Windows build script executed "CLS", which ends up as a ^L (0xc) character in 
the build output, but Continuum doesn't escape it:

{code}
2011-08-23 19:13:04,941 [pool-1-thread-1] ERROR 
org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient
  -
 Failed to finish the build and return the build result for project 
(projectId=23) to master http://.../continuum/master-xmlrpc
java.lang.RuntimeException: Could not execute RPC method returnBuildResult
        at 
com.atlassian.xmlrpc.XmlRpcInvocationHandler.invoke(XmlRpcInvocationHandler.java:163)
        at $Proxy7.returnBuildResult(Unknown Source)
        at 
org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient.returnBuildResult(MasterBuildAgentTrans
portClient.java:89)
        at 
org.apache.continuum.buildagent.manager.DefaultBuildAgentManager.returnBuildResult(DefaultBuildAgentManager.java:78)
        at 
org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.endBuild(BuildProjectTaskExecutor.java:276)
        at 
org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:15
0)
        at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:1
16)
{code}
...
{code}
Caused by: com.atlassian.xmlrpc.BindingException: 
org.apache.xmlrpc.XmlRpcException: Failed to parse XML-RPC request: An invalid 
XML
 character (Unicode: 0xc) was found in the element content of the document.
        at com.atlassian.xmlrpc.ApacheBinder$1.execute(ApacheBinder.java:68)
        at 
com.atlassian.xmlrpc.XmlRpcInvocationHandler.invoke(XmlRpcInvocationHandler.java:151)
        ... 11 more
{code}



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to