|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
New Topic: NullPointerException executing a diff-database in 2.0RC1A new topic, 'NullPointerException executing a diff-database in 2.0RC1', has been made on a board you are watching.
You can see it at http://liquibase.org/forum/index.php?topic=216.new#new The text of the topic is shown below: Liquibase gives a NullPointerException in liquibase.database.typeconversion.core.AbstractTypeConverter.getDataType (AbstractTypeConverter.java:55). I try to execute a diffDatabase where there are changes in datatypes from columns in the db (and new tables and relations). The 2.0RC1 generateChangeLog ant task works perfectly with the same hibernate files, generating all datatypes. The 1.9.4 diffDatabaseToChangeLog ant task works "perfectly" with the same hibernate files, generating changes without taking into a account of datatype changes. Code: [diffDatabaseToChangeLog] INFO 5/11/09 10:33:liquibase: Could not set remarks reporting on OracleDatabase: liquibase.database.JdbcConnection.setRemarksReporting(boolean) [diffDatabaseToChangeLog] seen table CLIENTES [diffDatabaseToChangeLog] seen table CREDITOS [diffDatabaseToChangeLog] seen table CUENTAS [diffDatabaseToChangeLog] seen table CuentasClientes [diffDatabaseToChangeLog] seen table MOVIMIENTOS_CUENTAS [diffDatabaseToChangeLog] seen table POLIZAS [diffDatabaseToChangeLog] seen table TAREAS_EN_CURSO [diffDatabaseToChangeLog] seen table TIPOS_CREDITOS [diffDatabaseToChangeLog] seen table TIPOS_POLIZAS [diffDatabaseToChangeLog] seen table TIPO_CUENTAS [diffDatabaseToChangeLog] seen table TIPO_MOVIMIENTOS [diffDatabaseToChangeLog] seen table TIPO_PERMISOS BUILD FAILED <Project_dir>antbuild.xml:815: java.lang.NullPointerException Caused by: java.lang.NullPointerException at liquibase.database.typeconversion.core.AbstractTypeConverter.getDataType(AbstractTypeConverter.java:55) at liquibase.diff.DiffResult.addMissingColumnChanges(DiffResult.java:740) at liquibase.diff.DiffResult.printChangeLog(DiffResult.java:419) at liquibase.diff.DiffResult.printChangeLog(DiffResult.java:345) at liquibase.integration.ant.DiffDatabaseToChangeLogTask.outputDiff(DiffDatabaseToChangeLogTask.java:12) at liquibase.integration.ant.DiffDatabaseTask.execute(DiffDatabaseTask.java:91) ... 57 more Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0 Regards, The LiquiBase Community Forum Team. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Liquibase-user mailing list Liquibase-user@... https://lists.sourceforge.net/lists/listinfo/liquibase-user |
| Free embeddable forum powered by Nabble | Forum Help |