Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0030588 | Openbravo ERP | Z. Others | public | 2015-08-17 06:52 | 2015-08-25 15:48 |
Reporter | yogaskarnik | ||||
Assigned To | caristu | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | 3.0PR15Q2.3 | ||||
Target Version | Fixed in Version | 3.0PR15Q4 | |||
Merge Request Status | |||||
Review Assigned To | AugustoMauch | ||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | 37836 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0030588: Log clean up throws an error for the table obmobc_logclient | ||||
Description | The log clean up process when scheduled as a background process, fails when the configuration for the table obmobc_logclient is done in the log clean up configuration window logged in as a system admin with the "Date column to Check". The log file shows the following error. 2015-08-17 10:03:09,505 [DefaultQuartzScheduler_Worker-4] ERROR org.openbravo.service.db.DalBaseProcess - The process org.openbravo.utility.cleanup.log.LogCleanUpProcess has thrown an exception. org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:167) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) at org.openbravo.model.ad.datamodel.Column_$$_javassist_39.getDBColumnName(Column_$$_javassist_39.java) at org.openbravo.utility.cleanup.log.CleanEntity.clean(CleanEntity.java:83) at org.openbravo.utility.cleanup.log.CleanEntity$Proxy$_$$_WeldClientProxy.clean(CleanEntity$Proxy$_$$_WeldClientProxy.java) at org.openbravo.utility.cleanup.log.LogCleanUpProcess.doExecute(LogCleanUpProcess.java:121) at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:82) at org.openbravo.scheduling.DefaultJob.execute(DefaultJob.java:58) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) 61788dfd 2015-08-17 10:03:09,506 [DefaultQuartzScheduler_Worker-4] ERROR org.openbravo.scheduling.DefaultJob - Error executing process org.openbravo.scheduling.ProcessBundle@1016e76a java.lang.Exception: could not initialize proxy - no Session at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:88) at org.openbravo.scheduling.DefaultJob.execute(DefaultJob.java:58) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) | ||||
Steps To Reproduce | 1) Log in as a system admin, configure the log clean up . 2) create a new record for the table "obmobc_logclient". 3) set the "Older Than Days" as 30. 4) Enter the "Date column to Check" as "Created". 5) Save the changes, log out , and log in as admin and schedule the background process. The process will fail. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-08-17 06:52 | yogaskarnik | New Issue | |||
2015-08-17 06:52 | yogaskarnik | Assigned To | => Triage Finance | ||
2015-08-17 06:52 | yogaskarnik | OBNetwork customer | => Yes | ||
2015-08-17 06:52 | yogaskarnik | Modules | => Core | ||
2015-08-17 06:52 | yogaskarnik | Support ticket | => 37836 | ||
2015-08-17 06:52 | yogaskarnik | Triggers an Emergency Pack | => No | ||
2015-08-17 13:47 | VictorVillar | Resolution time | => 1440280800 | ||
2015-08-20 11:08 | aferraz | Assigned To | Triage Finance => aferraz | ||
2015-08-20 11:08 | aferraz | Status | new => scheduled | ||
2015-08-20 12:00 | AugustoMauch | Assigned To | aferraz => platform | ||
2015-08-24 10:56 | caristu | Assigned To | platform => caristu | ||
2015-08-24 10:56 | caristu | Review Assigned To | => AugustoMauch | ||
2015-08-24 10:57 | caristu | Issue Monitored: AugustoMauch | |||
2015-08-24 11:18 | hgbot | Checkin | |||
2015-08-24 11:18 | hgbot | Note Added: 0079632 | |||
2015-08-24 11:18 | hgbot | Status | scheduled => resolved | ||
2015-08-24 11:18 | hgbot | Resolution | open => fixed | ||
2015-08-24 11:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a97a18a73bf3c8684ce69f6e5954e5882f6c5c97 [^] | ||
2015-08-25 12:58 | AugustoMauch | Note Added: 0079691 | |||
2015-08-25 12:58 | AugustoMauch | Status | resolved => closed | ||
2015-08-25 12:58 | AugustoMauch | Fixed in Version | => 3.0PR15Q4 | ||
2015-08-25 15:48 | hudsonbot | Checkin | |||
2015-08-25 15:48 | hudsonbot | Note Added: 0079723 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|