Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0019855 | Openbravo ERP | Y. DBSourceManager | public | 2012-02-23 17:13 | 2012-03-02 15:39 |
Reporter | marvintm | ||||
Assigned To | marvintm | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0MP9 | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0019855: Under very specific circumstances, update.database can fail due to a Comparator error | ||||
Description | The ChangeComparator in dbsourcemanager (in the DataComparator class) is not perfectly-transitive. Therefore, it can fail under some specific circumstances with an error similar to this: [java] 307486 INFO - Comparing databases to find differences [java] java.lang.IllegalArgumentException: Comparison method violates its general contract! [java] at java.util.TimSort.mergeLo(TimSort.java:747) [java] at java.util.TimSort.mergeAt(TimSort.java:483) [java] at java.util.TimSort.mergeCollapse(TimSort.java:410) [java] at java.util.TimSort.sort(TimSort.java:214) [java] at java.util.TimSort.sort(TimSort.java:173) [java] at java.util.Arrays.sort(Arrays.java:659) [java] at java.util.Collections.sort(Collections.java:217) [java] at org.apache.ddlutils.alteration.DataComparator.compareToUpdate(DataComparator.java:121) [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:182) [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86) [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:38) | ||||
Steps To Reproduce | The way to reproduce this issue is not clear currently. It has previously happened to some customers, but we don't have a reliable way to reproduce it now. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-02-23 17:13 | marvintm | New Issue | |||
2012-02-23 17:13 | marvintm | Assigned To | => marvintm | ||
2012-02-23 17:13 | marvintm | Modules | => Core | ||
2012-02-23 17:13 | marvintm | OBNetwork customer | => No | ||
2012-02-23 17:40 | hgbot | Checkin | |||
2012-02-23 17:40 | hgbot | Note Added: 0045418 | |||
2012-02-23 17:40 | hgbot | Status | new => resolved | ||
2012-02-23 17:40 | hgbot | Resolution | open => fixed | ||
2012-02-23 17:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/334833f4c3a7927d855c61f66516cd27efbb2587 [^] | ||
2012-02-24 11:27 | hgbot | Checkin | |||
2012-02-24 11:27 | hgbot | Note Added: 0045439 | |||
2012-02-24 11:27 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/334833f4c3a7927d855c61f66516cd27efbb2587 [^] => http://code.openbravo.com/erp/devel/dbsm-main/rev/dc38e73dea5a433238e3bbb98f1552264f7955dc [^] | ||
2012-02-28 08:38 | alostale | Note Added: 0045494 | |||
2012-02-28 08:38 | alostale | Status | resolved => closed | ||
2012-02-28 08:38 | alostale | Fixed in Version | => 3.0MP9 | ||
2012-03-02 15:39 | hudsonbot | Checkin | |||
2012-03-02 15:39 | hudsonbot | Note Added: 0045944 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|