Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037435 | Openbravo ERP | A. Platform | public | 2017-12-04 08:11 | 2018-01-03 12:39 | |||||||
Reporter | alostale | |||||||||||
Assigned To | alostale | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR18Q1 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | caristu | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037435: unneeded traces logged when exception occurs on background DalBaseProcess | |||||||||||
Description | When a background DalBaseProcess throws an exception two stack traces are logged in openbravo.log: 1. Stack trace for the actual exception, logged from DalBaseProcess 2. DalBaseProcess generates a new unrelated exception that is logged by DefaultJob | |||||||||||
Steps To Reproduce | 1. Make any background DalBaseProcess fail (ie. apply attached patch for Acct Server Process) 2. Run that process (ie. execute immediate Acct Server Process) -> See openbravo.log: 595dbc4c 980205 [DefaultQuartzScheduler_Worker-6] ERROR org.openbravo.service.db.DalBaseProcess - The process org.openbravo.erpCommon.ad_process.AcctServerProcess has thrown an exception. java.lang.ArithmeticException: / by zero at org.openbravo.erpCommon.ad_process.AcctServerProcess.doExecute(AcctServerProcess.java:60) at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:83) at org.openbravo.scheduling.DefaultJob.execute(DefaultJob.java:63) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) 595dbc4c 980205 [DefaultQuartzScheduler_Worker-6] ERROR org.openbravo.scheduling.DefaultJob - Error executing process org.openbravo.scheduling.ProcessBundle@11ac59e2 java.lang.Exception: / by zero at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:89) at org.openbravo.scheduling.DefaultJob.execute(DefaultJob.java:63) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | fail-process.diff (467) 2017-12-04 08:19 https://issues.openbravo.com/file_download.php?file_id=11352&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-12-04 08:11 | alostale | New Issue | ||||||||||
2017-12-04 08:11 | alostale | Assigned To | => platform | |||||||||
2017-12-04 08:11 | alostale | Modules | => Core | |||||||||
2017-12-04 08:11 | alostale | Triggers an Emergency Pack | => No | |||||||||
2017-12-04 08:11 | alostale | Assigned To | platform => alostale | |||||||||
2017-12-04 08:11 | alostale | Review Assigned To | => caristu | |||||||||
2017-12-04 08:12 | alostale | Relationship added | blocks 0036162 | |||||||||
2017-12-04 08:19 | alostale | File Added: fail-process.diff | ||||||||||
2017-12-04 08:25 | hgbot | Checkin | ||||||||||
2017-12-04 08:25 | hgbot | Note Added: 0100909 | ||||||||||
2017-12-04 08:25 | hgbot | Status | new => resolved | |||||||||
2017-12-04 08:25 | hgbot | Resolution | open => fixed | |||||||||
2017-12-04 08:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3fed28edc82710cce1d80092ce304ef06e1964e7 [^] | |||||||||
2017-12-15 11:13 | caristu | Note Added: 0101055 | ||||||||||
2017-12-15 11:13 | caristu | Status | resolved => closed | |||||||||
2017-12-15 11:13 | caristu | Fixed in Version | => 3.0PR18Q1 | |||||||||
2018-01-03 12:39 | hudsonbot | Checkin | ||||||||||
2018-01-03 12:39 | hudsonbot | Note Added: 0101513 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|