Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0036043 | Openbravo ERP | A. Platform | public | 2017-05-18 18:18 | 2017-09-21 13:15 | ||||||||||||||
Reporter | shuehner | ||||||||||||||||||
Assigned To | platform | ||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | duplicate | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | alostale | ||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0036043: update.database fails with NullPointerException when using PostgreSQL 10beta1 | ||||||||||||||||||
Description | When running update.database (without any changes to files) against pg 10beta the code fails with the NPE shown below. [java] 18057 INFO - Executing default prescript [java] 18219 INFO - Executed 117 SQL command(s) successfully [java] 18232 INFO - Updating database model... [java] 18503 ERROR - [java] java.lang.NullPointerException [java] at org.apache.ddlutils.model.Parameter.getName(Parameter.java:53) [java] at org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder.writeParameter(PostgreSqlBuilder.java:503) [java] at org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder.writeDropFunctionStmt(PostgreSqlBuilder.java:343) [java] at org.apache.ddlutils.platform.SqlBuilder.dropFunction(SqlBuilder.java:4224) [java] at org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder.dropFunction(PostgreSqlBuilder.java:493) [java] at org.apache.ddlutils.platform.SqlBuilder.processChange(SqlBuilder.java:1491) [java] at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [java] at java.lang.reflect.Method.invoke(Method.java:606) [java] at org.apache.ddlutils.util.CallbackClosure.execute(CallbackClosure.java:151) [java] at org.apache.ddlutils.platform.SqlBuilder$1.evaluate(SqlBuilder.java:975) [java] at org.apache.commons.collections.CollectionUtils.filter(CollectionUtils.java:406) [java] at org.apache.ddlutils.platform.SqlBuilder.applyForSelectedChanges(SqlBuilder.java:972) [java] at org.apache.ddlutils.platform.SqlBuilder.processChanges(SqlBuilder.java:1060) [java] at org.apache.ddlutils.platform.SqlBuilder.alterDatabase(SqlBuilder.java:576) [java] at org.apache.ddlutils.platform.SqlBuilder.alterDatabase(SqlBuilder.java:562) [java] at org.apache.ddlutils.platform.PlatformImplBase.alterTables(PlatformImplBase.java:675) [java] at org.apache.ddlutils.platform.PlatformImplBase.alterTables(PlatformImplBase.java:658) [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:180) [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86) [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:57) | ||||||||||||||||||
Steps To Reproduce | use PostgreSQL 10beta a.) install.source b.) ant update.database | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2017-05-18 18:18 | shuehner | New Issue | |||||||||||||||||
2017-05-18 18:18 | shuehner | Assigned To | => platform | ||||||||||||||||
2017-05-18 18:18 | shuehner | Modules | => Core | ||||||||||||||||
2017-05-18 18:18 | shuehner | Triggers an Emergency Pack | => No | ||||||||||||||||
2017-05-22 11:04 | alostale | Status | new => acknowledged | ||||||||||||||||
2017-09-21 12:40 | alostale | Relationship added | blocks 0036911 | ||||||||||||||||
2017-09-21 13:14 | alostale | Status | acknowledged => scheduled | ||||||||||||||||
2017-09-21 13:14 | alostale | Status | scheduled => feedback | ||||||||||||||||
2017-09-21 13:15 | alostale | Review Assigned To | => alostale | ||||||||||||||||
2017-09-21 13:15 | alostale | Relationship added | duplicate of 0036862 | ||||||||||||||||
2017-09-21 13:15 | alostale | Note Added: 0099212 | |||||||||||||||||
2017-09-21 13:15 | alostale | Status | feedback => closed | ||||||||||||||||
2017-09-21 13:15 | alostale | Resolution | open => duplicate |
Notes | |||||
|
|||||
|
|