Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036043
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2017-05-18 18:182017-09-21 13:15
ReportershuehnerView Statuspublic 
Assigned Toplatform 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase version10beta1Ant version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036043: update.database fails with NullPointerException when using PostgreSQL 10beta1

DescriptionWhen 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 Reproduceuse PostgreSQL 10beta
a.) install.source
b.) ant update.database

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0036862 closedalostale update.database throws NPE in PostgreSQL 9.6 
blocks feature request 0036911 closedalostale support PostgreSQL 10 

-  Notes
(0099212)
alostale (manager)
2017-09-21 13:15

fixed by 0036862

- 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
Powered by Mantis Bugtracker