Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0029622 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | minor | always | 2015-04-17 11:08 | 2018-01-03 12:39 | |||
| Reporter | egoitz | View Status | public | |||||
| Assigned To | jarmendariz | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR18Q1 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | ce1ca4d6985c | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | caristu | |||||||
| OBNetwork customer | OBPS | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | 35580 | |||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0029622: The heartbeat background process fails if the ad_session table is empty | |||||||
| Description | If the ad_session table is truncated before the heatbeat backgroud process is excuted it fails. | |||||||
| Steps To Reproduce | -Schedule the heatbeat process to be execute every minute. -Logout -Wait a couple of minutes -Truncate the ad_session table -wait a couple of minutes -Loging and check the process monitor window. The last executions have finished with errors: bc4ec62b 2015-04-13 04:45:03,207 [DefaultQuartzScheduler_Worker-4] ERROR org.openbravo.erpCommon.ad_process.HeartbeatProcess - java.lang.NullPointerException at java.util.Calendar.setTime(Calendar.java:1092) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:876) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:869) at java.text.DateFormat.format(DateFormat.java:333) at org.openbravo.erpCommon.utility.SystemInfo.load(SystemInfo.java:217) at org.openbravo.erpCommon.utility.SystemInfo.load(SystemInfo.java:113) at org.openbravo.erpCommon.ad_process.HeartbeatProcess.createQueryStr(HeartbeatProcess.java:221 ) | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0101113) hgbot (developer) 2017-12-19 08:53 |
Repository: erp/devel/pi Changeset: ce1ca4d6985cc48c778a8ed854be864b63b359db Author: Javier Armendáriz <javier.armendariz <at> openbravo.com> Date: Mon Dec 18 17:35:46 2017 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/ce1ca4d6985cc48c778a8ed854be864b63b359db [^] Fixed bug 29622: Exception in Heartbeat process having AD_Session table empty. The exception was caused when trying to parse the first and last login date when AD_Session table is empty. Now we handle this case and return an empty string when parsing a null Date object. --- M src/org/openbravo/erpCommon/utility/SystemInfo.java --- |
|
(0101114) hgbot (developer) 2017-12-19 08:57 |
Repository: erp/devel/pi Changeset: bcebf5ea2f9600fbab552d62cd6e5215f79f535d Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Tue Dec 19 08:57:19 2017 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/bcebf5ea2f9600fbab552d62cd6e5215f79f535d [^] related to issue 29622: wrong first/last login value retrieval for warn logging --- M src/org/openbravo/erpCommon/ad_process/HeartbeatProcess.java --- |
|
(0101115) caristu (viewer) 2017-12-19 08:58 |
Code reviewed + testing OK. |
|
(0101530) hudsonbot (viewer) 2018-01-03 12:39 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c81e0d3cbab5 [^] Maturity status: Test |
|
(0101531) hudsonbot (viewer) 2018-01-03 12:39 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c81e0d3cbab5 [^] Maturity status: Test |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2015-04-17 11:08 | egoitz | New Issue | |
| 2015-04-17 11:08 | egoitz | Assigned To | => platform |
| 2015-04-17 11:08 | egoitz | OBNetwork customer | => Yes |
| 2015-04-17 11:08 | egoitz | Modules | => Core |
| 2015-04-17 11:08 | egoitz | Support ticket | => 35580 |
| 2015-04-17 11:08 | egoitz | Triggers an Emergency Pack | => No |
| 2015-04-20 09:14 | alostale | Status | new => acknowledged |
| 2015-04-20 09:14 | alostale | Priority | none => normal |
| 2016-12-16 12:40 | caristu | Relationship added | related to 0034453 |
| 2017-12-13 19:27 | caristu | Assigned To | platform => jarmendariz |
| 2017-12-14 14:09 | jarmendariz | Status | acknowledged => scheduled |
| 2017-12-19 08:53 | hgbot | Checkin | |
| 2017-12-19 08:53 | hgbot | Note Added: 0101113 | |
| 2017-12-19 08:53 | hgbot | Status | scheduled => resolved |
| 2017-12-19 08:53 | hgbot | Resolution | open => fixed |
| 2017-12-19 08:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ce1ca4d6985cc48c778a8ed854be864b63b359db [^] |
| 2017-12-19 08:57 | hgbot | Checkin | |
| 2017-12-19 08:57 | hgbot | Note Added: 0101114 | |
| 2017-12-19 08:58 | caristu | Review Assigned To | => caristu |
| 2017-12-19 08:58 | caristu | Note Added: 0101115 | |
| 2017-12-19 08:58 | caristu | Status | resolved => closed |
| 2017-12-19 08:58 | caristu | Fixed in Version | => 3.0PR18Q1 |
| 2018-01-03 12:39 | hudsonbot | Checkin | |
| 2018-01-03 12:39 | hudsonbot | Note Added: 0101530 | |
| 2018-01-03 12:39 | hudsonbot | Checkin | |
| 2018-01-03 12:39 | hudsonbot | Note Added: 0101531 | |
| Copyright © 2000 - 2009 MantisBT Group |