Clarity

  • 1.  com.niku.union.service.ServiceException: Service Exception

    Posted Oct 03, 2017 05:18 AM

    Hi All,

     

    Im facing a random warning message while XOGing in modified Cost plan (XOG read of POR(plan of record) and then modify name and code to SUBM001 before xogging that back) for creating a submission plan.

    This process works fine except for few instances where it results in below XOG output and results in missing SUBM001 Cost plan or missing updates and when we re-trigger this process, then we didn't have any warning and SUBM001 updated successfully.

     

    2017/07/21 18:52:05.854 | Xog output for SUB Committed Cost is: <?xml version="1.0" encoding="UTF-8"?>
    2017/07/21 18:52:05.869 | <NikuDataBus>
    2017/07/21 18:52:05.869 |   <Header action="write" externalSource="NIKU" objectType="costPlan" version="14.2.0.237"/>
    2017/07/21 18:52:05.885 |   <XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/status.xsd">
    2017/07/21 18:52:05.916 |     <Object type="costPlan"/>
    2017/07/21 18:52:05.916 |     <Status elapsedTime="4.407 seconds" state="SUCCESS"/>
    2017/07/21 18:52:05.932 |     <Statistics failureRecords="1" insertedRecords="0" totalNumberOfRecords="1" updatedRecords="0"/>
    2017/07/21 18:52:05.963 |     <Records>
    2017/07/21 18:52:05.963 |       <Record>
    2017/07/21 18:52:05.963 |         <KeyInformation>
    2017/07/21 18:52:05.979 |           <column name="externalSource">NIKU</column>
    2017/07/21 18:52:05.994 |           <column name="UNIQUE_NAME">SUBM001</column>
    2017/07/21 18:52:05.994 |           <column name="name">Submission Plan</column>
    2017/07/21 18:52:06.010 |         </KeyInformation>
    2017/07/21 18:52:06.010 |         <ErrorInformation>
    2017/07/21 18:52:06.025 |           <Severity>ERROR</Severity>
    2017/07/21 18:52:06.041 |           <Description>com.niku.union.service.ServiceException: Service Exception</Description>
    2017/07/21 18:52:06.057 |         </ErrorInformation>
    2017/07/21 18:52:06.057 |       </Record>
    2017/07/21 18:52:06.072 |     </Records>
    2017/07/21 18:52:06.072 |   </XOGOutput>
    2017/07/21 18:52:06.088 | </NikuDataBus>
    2017/07/21 18:52:06.088 |

     

    Regards,

    Prashank Singh



  • 2.  Re: com.niku.union.service.ServiceException: Service Exception

    Posted Oct 03, 2017 06:02 AM

    Hi Prashank, 

     

    Please check and see if you have any attributes under Cost Plan Detail object where the Audit is enabled. If that is the case, please do the following: 

    1. Login to CA PPM instance as an administrator.
    2. Administration > Studio: Objects > Cost Plan Detail > Audit Trail.
    3. Move all 'Selected' attributes back to the 'Available' combo box.
    4. Click 'Save' button.
    5. Move the desired attributes from the 'Available' list to the 'Selected' list.
    6. Click 'Save' button.

    Then check if you are still getting the same problem. 

     

    Thanks,

    Abhisek Dhar



  • 3.  Re: com.niku.union.service.ServiceException: Service Exception

    Posted Oct 03, 2017 06:16 AM

    We don't have audit enable for any field in cost plan or cost plan detail.



  • 4.  Re: com.niku.union.service.ServiceException: Service Exception

    Broadcom Employee
    Posted Oct 03, 2017 06:27 AM

    The error message is very generic to comment on the methods invoked. Also if this is a new project or a idea converted to project? What is the PPM version. How about you enable a trace and see detailed error which comes out if it.

     

    Regards

    Suman Pramanik 



  • 5.  Re: com.niku.union.service.ServiceException: Service Exception

    Posted Oct 03, 2017 06:51 AM

    Its not a new project or idea converted into project and we are at version 14.2, its a process which user trigger for copying (Cost Plan) plan of record to another cost plan which is not plan of record.

    For doing this, we read cost plan (plan of record) via xog and then modify that xog (name, code and unchecck that for plan of record) then we xog that again using gel sccript which user triggers via action item in cost plan property page.

     

    Regards,

    Prashank Singh



  • 6.  Re: com.niku.union.service.ServiceException: Service Exception

    Posted Oct 03, 2017 04:28 PM

    Seems very similar to this:Cost plan details xog pops up error msg . May be there is resource contention happening somewhere?



  • 7.  Re: com.niku.union.service.ServiceException: Service Exception

    Posted Oct 03, 2017 06:48 PM

    Hi Prashank,

    Can you look on the app logs if you find anything there, is this happening every time when copied, if not this may point to some deadlock or concurrent thing running at that time. Also worth to look on Auto Numbering if all proper just to rule that out. 



  • 8.  Re: com.niku.union.service.ServiceException: Service Exception

    Posted Oct 04, 2017 12:56 AM

    we are also trying to figure out some partern as gel looks. Thanks for your help Jeevan.B , Viral_Shah