Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0018033 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Y. DBSourceManager | minor | always | 2011-07-19 17:06 | 2011-08-06 05:32 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0MP2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 7f10ae8a4377 | ||||
Projection | none | ETA | none | Target Version | 3.0MP2 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox | |||||||
Modules | Core | |||||||
Support ticket | 12047 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0018033: "null pointer exception" is returned when a function parameter does not have a name | |||||||
Description | to run "update.database", if a function parameter does not have a name, error is returned: [java] 385992 ERROR - [java] java.lang.NullPointerException [java] at org.apache.ddlutils.model.Parameter.getName(Parameter.java:53) | |||||||
Steps To Reproduce | create function with this header: CREATE OR REPLACE FUNCTION nombreFuncion (numeric) RETURNS character varying AS ..... run update.database | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0039243) marvintm (viewer) 2011-07-19 17:13 |
This header doesn't comply with the standard dbsm expects, so it's normal that it fails. However, the error log needs to be improved, because currently it's impossible for the developer to find out which function failed, and why. So the fix for this issue will be to improve the log so that it's meaningful for the developer. |
(0039442) hgbot (developer) 2011-07-27 13:00 |
Repository: erp/devel/dbsm-main Changeset: aa695d8e9913f684979f1f4ed67e56c609547193 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Jul 27 12:37:49 2011 +0200 URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/aa695d8e9913f684979f1f4ed67e56c609547193 [^] Fixed issue 18033. If a function parameter cannot be read, a nice, intelligible exception will be thrown --- M src/org/apache/ddlutils/model/Database.java --- |
(0039444) hgbot (developer) 2011-07-27 13:00 |
Repository: erp/devel/pi Changeset: 3a620590bef8eb6e40d84e110b6e787f3427626e Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Jul 27 12:42:25 2011 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/3a620590bef8eb6e40d84e110b6e787f3427626e [^] Fixed issue 18033. If a function parameter cannot be read, a nice, intelligible exception will be thrown --- M src-db/database/lib/dbsourcemanager.jar --- |
(0039707) hudsonbot (viewer) 2011-08-01 14:21 |
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/cf2afed6e8ef [^] Maturity status: Test |
(0039814) hgbot (developer) 2011-08-03 12:59 |
Repository: erp/devel/dbsm-main Changeset: a740f01cdc4c7280653249b19d5547d69fb37bee Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Aug 03 12:59:05 2011 +0200 URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/a740f01cdc4c7280653249b19d5547d69fb37bee [^] Fixed issue 18033. Will also work if the bad function is only in the db. --- M src/org/apache/ddlutils/model/Function.java --- |
(0039815) hgbot (developer) 2011-08-03 13:02 |
Repository: erp/devel/pi Changeset: 7f10ae8a4377cb288bec825b46c064de1e9ce2b6 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Aug 03 12:59:55 2011 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/7f10ae8a4377cb288bec825b46c064de1e9ce2b6 [^] Fixed issue 18033. Will also work if the bad function is only in the db. --- M src-db/database/lib/dbsourcemanager.jar --- |
(0039818) malsasua (viewer) 2011-08-03 13:06 |
verified |
(0039947) hudsonbot (viewer) 2011-08-06 05:32 |
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/5744448753e7 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2011-07-19 17:06 | malsasua | New Issue | |
2011-07-19 17:06 | malsasua | Assigned To | => marvintm |
2011-07-19 17:06 | malsasua | Web browser | => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox |
2011-07-19 17:06 | malsasua | Modules | => Core |
2011-07-19 17:06 | malsasua | OBNetwork customer | => Yes |
2011-07-19 17:06 | malsasua | Support ticket | => 12047 |
2011-07-19 17:06 | malsasua | Resolution time | => 1316728800 |
2011-07-19 17:11 | marvintm | Web browser | Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox |
2011-07-19 17:11 | marvintm | Target Version | => 3.0MP2 |
2011-07-19 17:13 | marvintm | Note Added: 0039243 | |
2011-07-27 13:00 | hgbot | Checkin | |
2011-07-27 13:00 | hgbot | Note Added: 0039442 | |
2011-07-27 13:00 | hgbot | Status | new => resolved |
2011-07-27 13:00 | hgbot | Resolution | open => fixed |
2011-07-27 13:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/dbsm-main/rev/aa695d8e9913f684979f1f4ed67e56c609547193 [^] |
2011-07-27 13:00 | hgbot | Checkin | |
2011-07-27 13:00 | hgbot | Note Added: 0039444 | |
2011-07-27 13:00 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/dbsm-main/rev/aa695d8e9913f684979f1f4ed67e56c609547193 [^] => http://code.openbravo.com/erp/devel/pi/rev/3a620590bef8eb6e40d84e110b6e787f3427626e [^] |
2011-08-01 14:21 | hudsonbot | Checkin | |
2011-08-01 14:21 | hudsonbot | Note Added: 0039707 | |
2011-08-03 12:59 | hgbot | Checkin | |
2011-08-03 12:59 | hgbot | Note Added: 0039814 | |
2011-08-03 12:59 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/3a620590bef8eb6e40d84e110b6e787f3427626e [^] => http://code.openbravo.com/erp/devel/dbsm-main/rev/a740f01cdc4c7280653249b19d5547d69fb37bee [^] |
2011-08-03 13:02 | hgbot | Checkin | |
2011-08-03 13:02 | hgbot | Note Added: 0039815 | |
2011-08-03 13:02 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/dbsm-main/rev/a740f01cdc4c7280653249b19d5547d69fb37bee [^] => http://code.openbravo.com/erp/devel/pi/rev/7f10ae8a4377cb288bec825b46c064de1e9ce2b6 [^] |
2011-08-03 13:06 | malsasua | Note Added: 0039818 | |
2011-08-03 13:06 | malsasua | Status | resolved => closed |
2011-08-03 13:06 | malsasua | Fixed in Version | => 3.0MP2 |
2011-08-06 05:32 | hudsonbot | Checkin | |
2011-08-06 05:32 | hudsonbot | Note Added: 0039947 |
Copyright © 2000 - 2009 MantisBT Group |