Clarity

 View Only
  • 1.  Premature END of file error while loading actuals via XOG client

    Posted May 20, 2022 04:33 AM

    When I tried Xogging-in 2500 actuals(transactions) at a time - it throwed "Premature EOF" error - what does that mean.

    If I Xog 2000 records, then its not throwing any error.

    Below is the XML Skeleton im using

    Please help me - How can i put more records and Xog in quickly.

    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_inboundTransaction.xsd">
    <Header action="write" externalSource="NIKU" objectType="transaction" version="6.0.11"/>
    <Transactions>
    <Transaction
    externalID=" " importStatus="N" projectID=" "
    resourceID=" " transactionDate="2022-04-25" transactionType="L" units="8" taskID=" " />
    </Transactions>
    </NikuDataBus>



  • 2.  RE: Premature END of file error while loading actuals via XOG client

    Broadcom Employee
    Posted May 23, 2022 05:30 AM
    Anything in the app ca log, Hope all the starting and ending tags were ok

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 3.  RE: Premature END of file error while loading actuals via XOG client

    Posted May 25, 2022 01:26 AM

    All the tags are good, If i load 2000 records the Xog is working, it is failing if i put 2500 or more records.




  • 4.  RE: Premature END of file error while loading actuals via XOG client

    Broadcom Employee
    Posted May 26, 2022 08:58 AM
    There may be a limit. The app-ca and bg-ca logs are not showing anything?

    ------------------------------
    Liz Williamson
    Principal Support Engineer - Clarity
    Broadcom
    ------------------------------



  • 5.  RE: Premature END of file error while loading actuals via XOG client

    Broadcom Employee
    Posted May 26, 2022 08:57 AM
    This is a sample of mine that works
    <Transactions>
    <Transaction actualCostRate="2.33" billRate="0" chargeable="1" chargeCode="Design" externalID="lw" importStatus="N" projectID="PR2036" resourceID="lw" transactionDate="2022-04-08" transactionType="L" units="3" taskID="5080460" inputTypeCode="Billable" groupId="4567" voucherNumber="tt_liz_pac" transactionClass="INTLABOR"/>
    <Transaction actualCostRate="2.33" billRate="0" chargeable="1" chargeCode="Design" externalID="lw" importStatus="N" projectID="PR2036" resourceID="lw" transactionDate="2022-04-07" transactionType="L" units="1" taskID="5080460" inputTypeCode="Billable" groupId="4567" voucherNumber="tt_liz_pac" transactionClass="INTLABOR"/>
    </Transactions>


    I believe you need all the fields that are required for a transaction:
    chargeCode
    nputTypeCode


    My experience is that I need 
    groupId and 
    voucherNumber   


    I have always xogged in with the costs and rates but these may get picked up from the rate matrix if they are not defined.  I have not tested that part.

    ------------------------------
    Liz Williamson
    Principal Support Engineer - Clarity
    Broadcom
    ------------------------------



  • 6.  RE: Premature END of file error while loading actuals via XOG client

    Posted Jun 06, 2022 10:47 AM
    It could be that you've hit a limit set in the environment. A few things you might want to look at:

    * The maximum number of XML nodes allowed in a script. On my system that's set to the default of 150,000 so I doubt you've hit this.
    * The disk space available. When XOG parses the script it spools it to disk first. I learned that the hard way. Are you on the edge of available space?
    * The memory available to Clarity. Perhaps increasing the maximum memory allowed in the JVM arguments might allow you to get the 2500 transactions in.

    Good luck anyhow.

    Paul