AnsweredAssumed Answered

XOG error while uploading document to project object

Question asked by suep on Mar 29, 2011
Latest reply on Mar 13, 2012 by sonali1
Team,

This is the xml file that I am using to upload a document to the project object, which has an attachment attribute.

<?xml version="1.0" encoding="UTF-8" ?>
- <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">
<Header action="write" externalSource="NIKU" objectType="project" version="12.1.0.5840" />
- <Projects>
- <Project name="test sue1" projectID="0011779">
- <CustomInformation>
- <ColumnValue name="testcharter">
- <Documents>
- <Parent documentLocation="E:\Temp">
- <Document fileCreatedDate="2011-02-03T00:00:00" hasAllParticipants="1" language="en" mimeType="x" name="Project_Charter_5090736.html" numCheckoutDays="0" versioningEnabled="0">
<Version id="1" versionNumber="1" />
</Document>
</Parent>
</Documents>
</ColumnValue>
</CustomInformation>
</Project>
</Projects>
</NikuDataBus>

Here's the error we are getting. Any insight is much appreciated.
<Status state="FAILURE" />
<Statistics failureRecords="1" insertedRecords="0" totalNumberOfRecords="1" updatedRecords="0" />
- <Records>
- <Record>
- <KeyInformation>
<column name="ID">5090736</column>
<column name="name">test sue1</column>
<column name="UNIQUE_NAME">0011779</column>
</KeyInformation>
- <ErrorInformation>
<Severity>FATAL</Severity>
<Description>Project Object update failed</Description>
- <Exception>
- <![CDATA[ com.niku.dms.util.DMSException: Could not retrieve file from file store.

at com.niku.dms.util.FileUtil.readBinaryFile(FileUtil.java:797)

at com.niku.dms.util.FileUtil.retrieveFileContentsFromLocation(FileUtil.java:99)

at com.niku.odf.object.Utils.addAttachmentToObject(Utils.java:2810)

Outcomes