Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036043 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2017-05-18 18:18 | 2017-09-21 13:15 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | platform | |||||||
Priority | normal | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | PostgreSQL | Java version | ||||
OS Version | Database version | 10beta1 | Ant version | |||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
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 |
Copyright © 2000 - 2009 MantisBT Group |