Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0014091 | Openbravo ERP | Y. DBSourceManager | public | 2010-07-29 16:54 | 2010-10-26 16:29 | |||||||
Reporter | networkb | |||||||||||
Assigned To | marvintm | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | 2.50MP20 | |||||||||||
Target Version | 2.50MP21 | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0014091: When installing a module and having a template that removes check constraints the process fails | |||||||||||
Description | When installing a module and having a template that removes check constraints the process fails | |||||||||||
Steps To Reproduce | -define a new template and check it as "indevelopment" -remove some checkconstraint on the database. -Export the template with ant export.database ant export.config.script -Install a module from the module managemente console. -You get the following error: [java] 92898 INFO - Executed 134 SQL command(s) successfully [java] 92901 INFO - Executing default postscript [java] 94114 INFO - Executed 22 SQL command(s) successfully [java] 94180 INFO - Loading data from XML files [java] 99520 INFO - Loading and applying configuration scripts [java] 99522 INFO - Loading configuration script: /opt/openbravo/modules/de.openbalance.stamm.template/src-db/database/configScript.xml [java] java.lang.NullPointerException [java] at org.apache.ddlutils.alteration.RemoveCheckChange.apply(RemoveCheckChange.java:98) [java] at org.openbravo.ddlutils.util.DBSMOBUtil.loadDataStructures(DBSMOBUtil.java:885) [java] at org.openbravo.ddlutils.util.DBSMOBUtil.loadDataStructures(DBSMOBUtil.java:821) [java] at org.openbravo.ddlutils.task.AlterDatabaseDataMod.doExecute(AlterDatabaseDataMod.java:369) [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:87) [java] at org.openbravo.ddlutils.task.AlterDatabaseModJava.main(AlterDatabaseModJava.java:40) [java] Exception in thread "main" java.lang.NullPointerException [java] at org.openbravo.ddlutils.task.AlterDatabaseDataMod.doExecute(AlterDatabaseDataMod.java:386) [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:87) [java] at org.openbravo.ddlutils.task.AlterDatabaseModJava.main(AlterDatabaseModJava.java:40) [java] Caused by: java.lang.NullPointerException [java] at org.apache.ddlutils.alteration.RemoveCheckChange.apply(RemoveCheckChange.java:98) [java] at org.openbravo.ddlutils.util.DBSMOBUtil.loadDataStructures(DBSMOBUtil.java:885) [java] at org.openbravo.ddlutils.util.DBSMOBUtil.loadDataStructures(DBSMOBUtil.java:821) [java] at org.openbravo.ddlutils.task.AlterDatabaseDataMod.doExecute(AlterDatabaseDataMod.java:369) [java] ... 2 more [java] --- Nested Exception --- [java] java.lang.NullPointerException [java] at org.apache.ddlutils.alteration.RemoveCheckChange.apply(RemoveCheckChange.java:98) [java] at org.openbravo.ddlutils.util.DBSMOBUtil.loadDataStructures(DBSMOBUtil.java:885) [java] at org.openbravo.ddlutils.util.DBSMOBUtil.loadDataStructures(DBSMOBUtil.java:821) [java] at org.openbravo.ddlutils.task.AlterDatabaseDataMod.doExecute(AlterDatabaseDataMod.java:369) [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:87) [java] at org.openbravo.ddlutils.task.AlterDatabaseModJava.main(AlterDatabaseModJava.java:40) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2010-07-29 16:54 | networkb | New Issue | ||||||||||
2010-07-29 16:54 | networkb | Assigned To | => marvintm | |||||||||
2010-07-29 16:54 | networkb | OBNetwork customer | => Yes | |||||||||
2010-08-02 08:09 | alostale | Status | new => scheduled | |||||||||
2010-08-04 10:01 | hgbot | Checkin | ||||||||||
2010-08-04 10:01 | hgbot | Note Added: 0029778 | ||||||||||
2010-08-04 10:01 | hgbot | Status | scheduled => resolved | |||||||||
2010-08-04 10:01 | hgbot | Resolution | open => fixed | |||||||||
2010-08-04 10:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8cd939863e92b1c21eafb8bfd0db0e21ae145379 [^] | |||||||||
2010-08-05 09:16 | hudsonbot | Checkin | ||||||||||
2010-08-05 09:16 | hudsonbot | Note Added: 0029804 | ||||||||||
2010-08-16 08:47 | alostale | Status | resolved => closed | |||||||||
2010-08-16 08:47 | alostale | Fixed in Version | => 2.50MP21 | |||||||||
2010-08-16 09:58 | hgbot | Checkin | ||||||||||
2010-08-16 09:58 | hgbot | Note Added: 0029981 | ||||||||||
2010-08-16 09:58 | hgbot | Status | closed => resolved | |||||||||
2010-08-16 09:58 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/8cd939863e92b1c21eafb8bfd0db0e21ae145379 [^] => http://code.openbravo.com/erp/devel/dbsm-main/rev/92af67d2294f797cdf39eec454807226fd59695c [^] | |||||||||
2010-08-17 16:04 | alostale | Status | resolved => closed | |||||||||
2010-08-18 00:00 | anonymous | sf_bug_id | 0 => 3047308 | |||||||||
2010-10-07 10:57 | rafaroda | Relationship added | related to 0014623 | |||||||||
2010-10-18 18:11 | networkb | Note Added: 0031942 | ||||||||||
2010-10-18 18:11 | networkb | Status | closed => new | |||||||||
2010-10-18 18:11 | networkb | Resolution | fixed => open | |||||||||
2010-10-18 18:11 | networkb | Fixed in Version | 2.50MP21 => | |||||||||
2010-10-19 09:30 | hgbot | Checkin | ||||||||||
2010-10-19 09:30 | hgbot | Note Added: 0031949 | ||||||||||
2010-10-19 09:30 | hgbot | Status | new => resolved | |||||||||
2010-10-19 09:30 | hgbot | Resolution | open => fixed | |||||||||
2010-10-19 09:30 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/dbsm-main/rev/92af67d2294f797cdf39eec454807226fd59695c [^] => http://code.openbravo.com/erp/devel/dbsm-main/rev/50937b15501ef2e2de657a6334ced0b620d9fdb1 [^] | |||||||||
2010-10-19 09:31 | hgbot | Checkin | ||||||||||
2010-10-19 09:31 | hgbot | Note Added: 0031950 | ||||||||||
2010-10-19 09:31 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/dbsm-main/rev/50937b15501ef2e2de657a6334ced0b620d9fdb1 [^] => http://code.openbravo.com/erp/devel/pi/rev/eb105fcc44008f7e18144ba855fbb262103ea75a [^] | |||||||||
2010-10-19 20:12 | hudsonbot | Checkin | ||||||||||
2010-10-19 20:12 | hudsonbot | Note Added: 0031991 | ||||||||||
2010-10-26 16:29 | shuehner | Note Added: 0032228 | ||||||||||
2010-10-26 16:29 | shuehner | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|