Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0018033 | Openbravo ERP | Y. DBSourceManager | public | 2011-07-19 17:06 | 2011-08-06 05:32 |
|
Reporter | malsasua | |
Assigned To | marvintm | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Community Appliance |
Product Version | | |
Target Version | 3.0MP2 | Fixed in Version | 3.0MP2 | |
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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
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 | |
Notes |
|
|
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
|
2011-07-27 13:00
|
|
|
|
(0039444)
|
hgbot
|
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
---
|
|
|
|
|
|
(0039814)
|
hgbot
|
2011-08-03 12:59
|
|
|
|
(0039815)
|
hgbot
|
2011-08-03 13:02
|
|
|
|
|
|
|
|
|