Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0024780 | Openbravo ERP | 01. General setup | public | 2013-09-16 13:42 | 2013-09-17 19:03 |
Reporter | adrianromero | ||||
Assigned To | shankarb | ||||
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0MP28 | |||
Merge Request Status | |||||
Review Assigned To | shankarb | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | Production - Confirmed Stable | ||||
Regression date | 2009-02-02 | ||||
Regression introduced in release | |||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/353de8982dab [^] | ||||
Triggers an Emergency Pack | No | ||||
Summary | 0024780: Process type PL/SQL Procedure cannot be executed as scheduled | ||||
Description | A process defined as a PL/SQL Procedure and scheduled throws the following exception when the scheduler tries to execute the process: 674357 [DefaultQuartzScheduler_Worker-9] ERROR org.openbravo.scheduling.DefaultJob - Error executing process org.openbravo.scheduling.ProcessBundle@1cdce2d java.lang.InstantiationException at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.openbravo.scheduling.DefaultJob.execute(DefaultJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) | ||||
Steps To Reproduce | * Create a sample PL/SQL Procedure and register it in the window 'Report and Proceses'. Mark it as 'background process' (http://wiki.openbravo.com/wiki/Processes [^]) * Go to the window 'Process request' and create a new request that executes the previous process inmediatelly * Schedule the process * Verify that the process has not been executed and that in the openbravo.log is logged the exception described in the previous field | ||||
Proposed Solution | It seems that the problem is because the scheduler tries to instantiate the abstract class org.openbravo.erpCommon.ad_process.ProcedureProcess. The solution is replace the code and instantiate instead the class org.openbravo.erpCommon.ad_process.PinstanceProcedure The attached patch fixes this issue | ||||
Additional Information | |||||
Tags | Regression | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=6412&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-09-16 13:42 | adrianromero | New Issue | |||
2013-09-16 13:42 | adrianromero | Assigned To | => dmiguelez | ||
2013-09-16 13:42 | adrianromero | File Added: scheduleprocess.patch | |||
2013-09-16 13:42 | adrianromero | Modules | => Core | ||
2013-09-16 13:42 | adrianromero | OBNetwork customer | => No | ||
2013-09-16 13:42 | adrianromero | Triggers an Emergency Pack | => No | ||
2013-09-16 13:42 | adrianromero | Tag Attached: Regression | |||
2013-09-16 15:56 | adrianromero | Review Assigned To | => shankarb | ||
2013-09-17 08:27 | shankarb | Regression level | => Production - Confirmed Stable | ||
2013-09-17 08:27 | shankarb | Regression date | => 2009-02-02 | ||
2013-09-17 08:27 | shankarb | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/353de8982dab [^] | ||
2013-09-17 08:27 | shankarb | Review Assigned To | shankarb => AugustoMauch | ||
2013-09-17 08:27 | shankarb | Assigned To | dmiguelez => shankarb | ||
2013-09-17 08:32 | shankarb | Review Assigned To | AugustoMauch => shankarb | ||
2013-09-17 08:33 | hgbot | Checkin | |||
2013-09-17 08:33 | hgbot | Note Added: 0061184 | |||
2013-09-17 08:33 | hgbot | Status | new => resolved | ||
2013-09-17 08:33 | hgbot | Resolution | open => fixed | ||
2013-09-17 08:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a549285cc9f06226f1fd5567340749d3dd325312 [^] | ||
2013-09-17 08:34 | shankarb | Note Added: 0061185 | |||
2013-09-17 08:34 | shankarb | Status | resolved => closed | ||
2013-09-17 08:34 | shankarb | Fixed in Version | => 3.0MP28 | ||
2013-09-17 19:03 | hudsonbot | Checkin | |||
2013-09-17 19:03 | hudsonbot | Note Added: 0061262 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|