int-initial-pgsql - Build # 1311 - Unstable:

Check console output at https://ci.openbravo.com/job/int-initial-pgsql/1311/ to 
view the results.


Committers since last success:

Changes for Build #1311

    Víctor Martínez Romanos <[email protected]> null
    Related to issue 31580: Reduced Java Heap Usage even more

DocFINFinAccTransaction and DocFINPayment:
+ Avoid storing useless objects like ps and pd, and replaced by String Ids, so 
we can safely clear the Hibernate session
+ Save cInvoiceId when loading lines in field provider so it's available latter 
on when loading the document lines, thus we avoid an extra query to the 
database to get the invoice from the payment detail
+ Forces a session clear every 100 records when working with the payment 
details. This is only possible because DAL objects are not stored anywhere.

DocLine_FINFinAccTransaction and DocLine_FINPayment:
+ Declare a String invoiceId parameter instead of using an Invoice object. This 
improves the memory consumption and allows to manage external session clears 
when required.
+ Declare as deprecated all the methods that used the invoice object and adapt 
the getInvoice() to be backward compatible (returns the invoice object is 
previously declared in the object, or a new object based on the invoiceId)
+ For DocLine_FINPayment only, adapted the Order object usage following the 
same logic.

FIN_Utility.getOrderedPaymentDetailList() query uses an inner join to the FPSD 
because having a linked FPSD is a requirement in the accounting classes.


Note that DocFINReconciliation class should be also adapted following the same 
logics described above. However, this class would require deeper refactor 
mainly because of the attribute Set<FIN_FinaccTransaction> 
transactionsToBePosted, that avoids safely session clears.
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
        src/org/openbravo/erpCommon/ad_forms/DocFINFinAccTransaction.java
        src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java
        src/org/openbravo/erpCommon/ad_forms/DocLine_FINFinAccTransaction.java
        src/org/openbravo/erpCommon/ad_forms/DocLine_FINPayment.java




Last 20 lines of the console output:

[...truncated 7352 lines...]
DEBUG: Check log called with parameters: ENABLED=ENABLE

Errors in openbravo log (artifact: int-initial-pgsql.log):
b3e0edee 2016-01-25 10:40:18,046 [TP-Processor15] ERROR 
org.openbravo.dal.core.ThreadHandler - setAttribute: Session already invalidated
b3e0edee 2016-01-25 10:40:18,089 [TP-Processor15] ERROR 
org.openbravo.base.exception.OBException - Exception thrown setAttribute: 
Session already invalidated
b3e0edee 2016-01-25 10:40:18,090 [TP-Processor15] ERROR 
org.openbravo.dal.core.ThreadHandler - Exception thrown setAttribute: Session 
already invalidated
b3e0edee 2016-01-25 10:40:18,091 [TP-Processor15] ERROR 
org.openbravo.base.exception.OBException - Exception thrown Exception thrown 
setAttribute: Session already invalidated

Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
/srv/ci/workspace/int-initial-pgsql/SANDBOX/openbravo.log:
b3e0edee 2016-01-25 10:40:18,046 [TP-Processor15] ERROR 
org.openbravo.dal.core.ThreadHandler - setAttribute: Session already invalidated
b3e0edee 2016-01-25 10:40:18,089 [TP-Processor15] ERROR 
org.openbravo.base.exception.OBException - Exception thrown setAttribute: 
Session already invalidated
b3e0edee 2016-01-25 10:40:18,090 [TP-Processor15] ERROR 
org.openbravo.dal.core.ThreadHandler - Exception thrown setAttribute: Session 
already invalidated
b3e0edee 2016-01-25 10:40:18,091 [TP-Processor15] ERROR 
org.openbravo.base.exception.OBException - Exception thrown Exception thrown 
setAttribute: Session already invalidated
Build step 'Jenkins Text Finder' changed build result to UNSTABLE
Email was triggered for: Unstable (Test Failures)
Sending email for trigger: Unstable (Test Failures)
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to