Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2655

Content not escaped in distributed build result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.1
    • None
    • Distributed Builds

    Description

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

      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)
      

      ...

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            brett Brett Porter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: