I am trying to migrate from Twiki to Confluence and stuck at one error:
2011-10-24 19:28:12,588 ERROR [http-8080-2] [confluence.rpc.xmlrpc.XmlRpcServer] service javax.servlet.ServletException: org.apache.xmlrpc.ParseFailed: Content is not allowed in prolog.
-- url: /rpc/xmlrpc | userName: anonymous
javax.servlet.ServletException: org.apache.xmlrpc.ParseFailed: Content is not allowed in prolog.
at com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.serviceXmlRpcRequest(XmlRpcServer.java:122)
at com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.service(XmlRpcServer.java:86)
at com.atlassian.confluence.servlet.SpringManagedServlet.service(SpringManagedServlet.java:64)
This error is seen in the confluence logs and it is thrown when the attachments are loaded. To make things worse, the error is thrown at different points every time and there is nothing common between them. Gives me a feeling that the error has nothing to do with a specific attachment. Following is the error in uwc log.
2011-10-24 19:39:32,588 ERROR [Thread-4] - Unexpected problem while converting:
null
java.lang.NullPointerException
at biz.artemis.confluence.xmlrpcwrapper.AttachmentForXmlRpc.getFileName(
AttachmentForXmlRpc.java:91)
at biz.artemis.confluence.xmlrpcwrapper.RemoteWikiBroker.storeAttachment
(RemoteWikiBroker.java:548)
at com.atlassian.uwc.ui.ConverterEngine.sendAttachmentRemoteAPI(Converte
rEngine.java:1443)
at com.atlassian.uwc.ui.ConverterEngine.sendAttachment(ConverterEngine.j
ava:1383)
Anyone seen this before?