AnsweredAssumed Answered

Unable to create subobject for object Project

Question asked by msnizek on Feb 6, 2015
Latest reply on Feb 6, 2015 by Dave

Hello,

 

 

we have got a problem with creating subobject with parent object Project. We tried to create it by XOG, but it failed with following error:

 

 

<Records>

    <Record>

      <KeyInformation>

        <column name="externalSource">NIKU</column>

        <column name="source"/>

        <column name="code">c_cust_orders</column>

      </KeyInformation>

      <ErrorInformation>

        <Severity>FATAL</Severity>

        <Description>XOG-3360: Custom attribute record has not been inserted com.niku.xql2.XQLVisitorException

  at com.niku.odf.object.xbl.ODFObjectQueryHandler.getQuery(ODFObjectQueryHandler.java:121)

  at com.niku.xql2.handlers.QueryHandler.preProcess(QueryHandler.java:68)

  at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1377)

  at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)

 

 

Then we tried to do it in Studio in Clarity, but there we got this error "ODF-0101: No object found" after Save Action.

 

 

in app-ca.log we found following:

ERROR 2015-02-06 17:25:04,967 [ajp-bio-8010-exec-2] odf.ObjectController (clarity:ADMIN:21934267__318B7B22-B3D1-4217-9E47-95CB94A12EBA:odf.createObjectSave) Error occured trying to materialize object "project"

com.niku.union.odf.exception.ODFException: subobject c_cust_orders does not exist

  at com.niku.odf.object.AbstractODFMetaData.getSubObjects(AbstractODFMetaData.java:1507)

  at com.niku.odf.object.ODFAbstractObjectImpl.cloneForPartition(ODFAbstractObjectImpl.java:4580)

  at com.niku.odf.object.ObjectControllerImpl.getPartitionedObject(ObjectControllerImpl.java:148)

  at com.niku.union.odf.ObjectController.getODFObject(ObjectController.java:277)

  at com.niku.union.odf.ObjectController.getODFObject(ObjectController.java:205)

  at com.niku.odf.object.xbl.ODFObjectQueryHandler.getQuery(ODFObjectQueryHandler.java:117)

  at com.niku.xql2.handlers.QueryHandler.preProcess(QueryHandler.java:68)

  at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1377)

  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.traverse(DOMWalker.java:51)

  at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:384)

  at com.niku.xql2.handlers.LoopHandler.processSet(LoopHandler.java:255)

  at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:212)

  at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1377)

  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:384)

  at com.niku.xql2.handlers.LoopHandler.processSet(LoopHandler.java:255)

  at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:212)

  at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1377)

  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.traverseIntern(DOMWalker.java:92)

  at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:36)

  at com.niku.xql2.XQLProcessor.process(XQLProcessor.java:257)

  at com.niku.xql2.XQLProcessor.process(XQLProcessor.java:283)

  at com.niku.xql2.binding.ServiceControlBindingXql.processFile(ServiceControlBindingXql.java:388)

  at com.niku.xql2.binding.ServiceControlBindingXql.getDocument(ServiceControlBindingXql.java:271)

  at com.niku.xql2.binding.ServiceControlBindingXql.processRequest(ServiceControlBindingXql.java:155)

  at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:762)

 

 

We also tried to create another custom object with parent object Project, but it gives the same result.

 

 

Please have you got any idea how to solve it?

 

 

Regards,

Martin

Outcomes