Project:
View Revisions: Issue #40215 | [ Back to Issue ] | ||
Summary | 0040215: An orphan import entry is left when the execution of a batch fails | ||
Revision | 2019-05-30 10:35 by caristu | ||
Steps To Reproduce | 0a) Install the EDL examples module[1] 0b) Apply the attached patch. It will force the failure in the batch processing of the sample EDL process. 0c) Run ant smartbuild -Dlocal=no 1) Go to the [EDL Configuration] window and create a new configuration for the "UOM Import Process". 2) Run the [Import UOM Asynchronously] process. 3) Check the logs. Note that apart from the errors in the batch processing. There are some additional errors: ERROR org.openbravo.service.importprocess.ImportEntryProcessor.ImportEntryProcessRunnable - null java.lang.NullPointerException: null at org.openbravo.externaldata.integration.process.EDLImportEntryProcessor$EDLEntryProcessRunnable.shouldWaitForDependencies(EDLImportEntryProcessor.java:170) ~[classes/:?] at org.openbravo.externaldata.integration.process.EDLImportEntryProcessor$EDLEntryProcessRunnable.processEntry(EDLImportEntryProcessor.java:144) ~[classes/:?] at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:376) [classes/:?] at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:297) [classes/:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191] 2019-02-15 11:43:10,855 [Import Entry - 4] ERROR org.openbravo.service.importprocess.ImportEntryProcessor.ImportEntryProcessRunnable - null This is because when the complete batch fails the original EDL request line is deleted, but not the associated ImportEntry (see attached image). Therefore when this ImportEntry is executed again by the ImportEntryManager it fails because it does not have any EDL related information. [1] https://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration.examples [^] |
||
Revision | 2019-05-30 09:14 by caristu | ||
Steps To Reproduce | 0a) Install the EDL examples module[1] 0b) Apply the attached patch. It will force the failure in the batch processing of the sample EDL process. 0c) Run ant smartbuild -Dlocal=no 1) Go to the [EDL Configuration] window and create a new configuration for the "UOM Import Process". 2) Run the [Import UOM Asynchronously] process. 3) Check the logs. Note that apart from the errors in the batch processing. There are some additional errors: ERROR org.openbravo.service.importprocess.ImportEntryProcessor.ImportEntryProcessRunnable - null java.lang.NullPointerException: null at org.openbravo.externaldata.integration.process.EDLImportEntryProcessor$EDLEntryProcessRunnable.shouldWaitForDependencies(EDLImportEntryProcessor.java:170) ~[classes/:?] at org.openbravo.externaldata.integration.process.EDLImportEntryProcessor$EDLEntryProcessRunnable.processEntry(EDLImportEntryProcessor.java:144) ~[classes/:?] at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:376) [classes/:?] at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:297) [classes/:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191] 2019-02-15 11:43:10,855 [Import Entry - 4] ERROR org.openbravo.service.importprocess.ImportEntryProcessor.ImportEntryProcessRunnable - null This is because when the complete batch fails the original EDL request line is deleted, but not the associated ImportEntry. Therefore when this ImportEntry is executed again by the ImportEntryManager it fails because it does not have any EDL related information. [1] https://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration.examples [^] |
||
Revision | 2019-02-15 14:43 by caristu | ||
Steps To Reproduce | 0a) Install the EDL examples module[1] 0b) Apply the attached patch. It will force the failure in the batch processing of the sample EDL process. 0c) Run ant smartbuild -Dlocal=no 1) Go to the [EDL Configuration] window and create a new configuration for the "UOM Import Process". 2) Run the [Import UOM] process. 3) Check the logs. Note that apart from the errors in the batch processing. There are some additional errors: ERROR org.openbravo.service.importprocess.ImportEntryProcessor.ImportEntryProcessRunnable - null java.lang.NullPointerException: null at org.openbravo.externaldata.integration.process.EDLImportEntryProcessor$EDLEntryProcessRunnable.shouldWaitForDependencies(EDLImportEntryProcessor.java:170) ~[classes/:?] at org.openbravo.externaldata.integration.process.EDLImportEntryProcessor$EDLEntryProcessRunnable.processEntry(EDLImportEntryProcessor.java:144) ~[classes/:?] at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:376) [classes/:?] at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:297) [classes/:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191] 2019-02-15 11:43:10,855 [Import Entry - 4] ERROR org.openbravo.service.importprocess.ImportEntryProcessor.ImportEntryProcessRunnable - null This is because when the complete batch fails the original EDL request line is deleted, but not the associated ImportEntry. Therefore when this ImportEntry is executed again by the ImportEntryManager it fails because it does not have any EDL related information. [1] https://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration.examples [^] |
||
Revision | 2019-02-15 14:42 by caristu | ||
Steps To Reproduce | 0a) Install the EDL examples module[1] 0b) Apply the attached patch. It will force the failure in the batch processing of the sample EDL process. 1) Go to the [EDL Configuration] window and create a new configuration for the "UOM Import Process". 2) Run the [Import UOM] process. 3) Check the logs. Note that apart from the errors in the batch processing. There are some additional errors: ERROR org.openbravo.service.importprocess.ImportEntryProcessor.ImportEntryProcessRunnable - null java.lang.NullPointerException: null at org.openbravo.externaldata.integration.process.EDLImportEntryProcessor$EDLEntryProcessRunnable.shouldWaitForDependencies(EDLImportEntryProcessor.java:170) ~[classes/:?] at org.openbravo.externaldata.integration.process.EDLImportEntryProcessor$EDLEntryProcessRunnable.processEntry(EDLImportEntryProcessor.java:144) ~[classes/:?] at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:376) [classes/:?] at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:297) [classes/:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191] 2019-02-15 11:43:10,855 [Import Entry - 4] ERROR org.openbravo.service.importprocess.ImportEntryProcessor.ImportEntryProcessRunnable - null This is because when the complete batch fails the original EDL request line is deleted, but not the associated ImportEntry. Therefore when this ImportEntry is executed again by the ImportEntryManager it fails because it does not have any EDL related information. [1] https://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration.examples [^] |
Copyright © 2000 - 2009 MantisBT Group |