int-inc-pgsql - Build # 3962 - Failure:

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


Committers since last success:

Changes for Build #3962

    David Miguelez <david.migue...@openbravo.com> null
    Related to Issue 37852. Code Review changes.

* Changed import entry size from 3 to 100
* Created productSubListIds as a JSONArray from the start instead of
  converting it again
* Added logger and log error message
* Moved try-cacth to beginning-end of the block
        src/org/openbravo/event/ProductCharacteristicValueEventHandler.java

    Mark <markm...@gmail.com> null
    Fix for issue 37852: VariantChDescUpdateProcessor fails with 
OutOfMemoryError
when there are many products to update

The process to update the characteristics description using the import entry was
failing if there are many products to update.

Here some reasons causing this issue:
1. The VariantChDescUpdateProcessor wasn't clearing the session.
2. ProductCharacteristicValueEventHandler creates an import entry with all the
   products instead of having some limit.
3. The VariantChDescUpdateProcess was refreshing each ProductCharacteristic and
   ProductCharacteristicValue. These refreshes aren't really needed.

As solution to this issue, were fixed the three points explained above:
1. The VariantChDescUpdateProcessor is clearing the session.
2. ProductCharacteristicValueEventHandler creates an import entry with a defined
   limit (currently 100) of products instead of passing the entire product list.
3. Was removed refreshing of the objects.
        src/org/openbravo/event/ProductCharacteristicValueEventHandler.java
        src/org/openbravo/materialmgmt/VariantChDescUpdateProcess.java
        src/org/openbravo/materialmgmt/VariantChDescUpdateProcessor.java




Last 20 lines of the console output:

[...truncated 373 lines...]
compileSqlc:
    [javac] Compiling 3 source files to 
/srv/ci/workspace/int-inc-pgsql/build/classes
    [javac] 
/srv/ci/workspace/int-inc-pgsql/src/org/openbravo/event/ProductCharacteristicValueEventHandler.java:112:
 error: cannot find symbol
    [javac]       Log.error("Error in 
ProductCharacteristicValueEventHandler.onTransactionCompleted", e);
    [javac]                                                                     
                      ^
    [javac]   symbol:   variable e
    [javac]   location: class ProductCharacteristicValueEventHandler
    [javac] 1 error

BUILD FAILED
/srv/ci/workspace/int-inc-pgsql/build.xml:418: The following error occurred 
while executing this line:
/srv/ci/workspace/int-inc-pgsql/src/build.xml:605: The following error occurred 
while executing this line:
/srv/ci/workspace/int-inc-pgsql/src/build.xml:251: Compile failed; see the 
compiler error output for details.

Total time: 45 seconds
Build step 'Execute managed script' marked build as failure
Checking console output
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-builds mailing list
Openbravo-builds@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to