AnsweredAssumed Answered

Project Object update failed error while xog task though process

Question asked by dodki01 Employee on Aug 14, 2017
Latest reply on Aug 14, 2017 by Eric_van_den_Broek

When I am trying to update a task dates through a process.I am getting the following error.

"Project Object update failed"

 

Could any one help me out with this?

 

Input xml:

project write xml :<?xml version="1.0" encoding="UTF-8"?> <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_change.xsd">   <Header action="write" externalSource="NIKU" objectType="project" version="14.3.0.298"/>   <Projects>     <Project name="Acton Site Strategy" projectID="PR_00007139">       <Tasks>         <Task finish="2017-09-08T12:00:00" internalTaskID="5386309" 
name="Commercial Launch" outlineLevel="1" start="2017-09-08T12:00:00" taskID="GDO_ID.03"/>       </Tasks>     </Project>   </Projects> </NikuDataBus>

 

 

Error xml:

 

xml:<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">   <soapenv:Header/>   <soapenv:Body>     <XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/status.xsd">       <Object type="project"/>       <Status elapsedTime="1.106 seconds" state="FAILURE"/>       <Statistics failureRecords="1" insertedRecords="0" totalNumberOfRecords="1" updatedRecords="0"/>       <Records>         <Record>           <KeyInformation>             <column name="ID">5130030</column>             <column name="name">Acton Site Strategy</column>             <column name="UNIQUE_NAME">PR_00007139</column>           </KeyInformation>           <ErrorInformation>             <Severity>FATAL</Severity>             <Description>Project Object update failed</Description>             <Exception><![CDATA[ java.lang.Exception: 31      at com.niku.schedulers.api.XOGProjectAPI.returnErrorMessage(XOGProjectAPI.java:472)      at com.niku.schedulers.api.XOGProjectAPI.process(XOGProjectAPI.java:300)      at com.niku.schedulers.api.XOGProjectAPI.eval(XOGProjectAPI.java:142)      at com.niku.xql2.eval.XQLFunctionNode.eval(XQLFunctionNode.java:27)      at com.niku.xql2.eval.XQLEvaluator.parse(XQLEvaluator.java:40)      at com.niku.xql2.XQLVisitor.eval(XQLVisitor.java:1086)      at com.niku.xql2.XQLVisitor.eval(XQLVisitor.java:1060)      at com.niku.xql2.XQLVisitor.process(XQLVisitor.java:1292)      at com.niku.xql2.XQLVisitor.process(XQLVisitor.java:1325)      at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:178)      at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)      at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)      at com.niku.xql2.handlers.TryHandler.preProcess(TryHandler.java:54)      at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1385)      at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)      at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)      at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)      at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:388)      at com.niku.xql2.handlers.LoopHandler.processSet(LoopHandler.java:259)      at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:216)      at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1385)      at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)      at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)      at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)      at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:388)      at com.niku.xql2.handlers.LoopHandler.processSet(LoopHandler.java:259)      at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:216)      at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1385)      at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)      at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)      at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)      at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:388)      at com.niku.xql2.handlers.LoopHandler.processSet(LoopHandler.java:259)      at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:216)      at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1385)      at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)      at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)      at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)      at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)      at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:36)      at com.niku.xog.service.XOGXBLHandler.processXBL(XOGXBLHandler.java:263)      at com.niku.xog.service.XOGXBLHandler.process(XOGXBLHandler.java:170)      at com.niku.xog.service.ObjectHandler.processRequest(ObjectHandler.java:198)      at com.niku.xog.service.ObjectHandler.process(ObjectHandler..

Outcomes