A new topic, 'NPE in AbstractTypeConverter.getDataType', has been made on a 
board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=190.new#new

The text of the topic is shown below:

Using 2.0-RC1, I get the following exception when running a diffChangeLog:

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.commandline.CommandLineUtils.doDiffToChangeLog(CommandLineUtils.java:119)
   at liquibase.integration.commandline.Main.doMigration(Main.java:602)
   at liquibase.integration.commandline.Main.main(Main.java:105)

Interestingly, this does not happen when only doing a diff. Here is the command 
I'm using:
liquibase --driver=oracle.jdbc.OracleDriver 
--url="jdbc:oracle:thin:@myserver:1521:target" --username=target 
--password=target --logLevel=debug diffChangeLog 
--referenceDriver=oracle.jdbc.OracleDriver 
--referenceUrl="jdbc:oracle:thin:@ipvmncodelnx:1521:reference" 
--referenceUsername=reference --referencePassword=reference

Here's the output I get:
INFO 10/9/09 5:33 PM:liquibase: Could not set remarks reporting on 
OracleDatabase: liquibase.database.JdbcConnection.setRemarksReporting(boolean)
INFO 10/9/09 5:33 PM:liquibase: Could not set remarks reporting on 
OracleDatabase: liquibase.database.JdbcConnection.setRemarksReporting(boolean)
DEBUG 10/9/09 5:33 PM:liquibase: Reading tables for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
INFO 10/9/09 5:33 PM:liquibase: Reading tables for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading views for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
INFO 10/9/09 5:33 PM:liquibase: Reading views for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading foreign keys for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
INFO 10/9/09 5:33 PM:liquibase: Reading foreign keys for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading primary keys for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
INFO 10/9/09 5:33 PM:liquibase: Reading primary keys for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading columns for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
INFO 10/9/09 5:33 PM:liquibase: Reading columns for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
DEBUG 10/9/09 5:33 PM:liquibase: Reading unique constraints for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
INFO 10/9/09 5:33 PM:liquibase: Reading unique constraints for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading indexes for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
INFO 10/9/09 5:33 PM:liquibase: Reading indexes for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading sequences for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
INFO 10/9/09 5:33 PM:liquibase: Reading sequences for reference @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:reference ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading tables for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
INFO 10/9/09 5:33 PM:liquibase: Reading tables for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading views for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
INFO 10/9/09 5:33 PM:liquibase: Reading views for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading foreign keys for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
INFO 10/9/09 5:33 PM:liquibase: Reading foreign keys for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading primary keys for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
INFO 10/9/09 5:33 PM:liquibase: Reading primary keys for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading columns for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
INFO 10/9/09 5:33 PM:liquibase: Reading columns for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
DEBUG 10/9/09 5:33 PM:liquibase: Reading unique constraints for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
INFO 10/9/09 5:33 PM:liquibase: Reading unique constraints for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading indexes for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
INFO 10/9/09 5:33 PM:liquibase: Reading indexes for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
DEBUG 10/9/09 5:33 PM:liquibase: Reading sequences for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
INFO 10/9/09 5:33 PM:liquibase: Reading sequences for target @ 
jdbc:oracle:thin:@ipvmncodelnx:1521:target ...
LiquiBase Update Failed: Unknown Reason
SEVERE 10/9/09 5:33 PM:liquibase: Unknown Reason
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.commandline.CommandLineUtils.doDiffToChangeLog(CommandLineUtils.java:119)
   at liquibase.integration.commandline.Main.doMigration(Main.java:602)
   at liquibase.integration.commandline.Main.main(Main.java:105)


Any help would be appreciated. Thanks.

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.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to